-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
danascheider
committed
Apr 8, 2016
1 parent
7a28017
commit 32f2448
Showing
6 changed files
with
116 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source "https://rubygems.org" | ||
|
||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
json_test_data (0.0.1) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
builder (3.2.2) | ||
coveralls (0.8.13) | ||
json (~> 1.8) | ||
simplecov (~> 0.11.0) | ||
term-ansicolor (~> 1.3) | ||
thor (~> 0.19.1) | ||
tins (~> 1.6.0) | ||
cucumber (2.3.3) | ||
builder (>= 2.1.2) | ||
cucumber-core (~> 1.4.0) | ||
cucumber-wire (~> 0.0.1) | ||
diff-lcs (>= 1.1.3) | ||
gherkin (~> 3.2.0) | ||
multi_json (>= 1.7.5, < 2.0) | ||
multi_test (>= 0.1.2) | ||
cucumber-core (1.4.0) | ||
gherkin (~> 3.2.0) | ||
cucumber-wire (0.0.1) | ||
diff-lcs (1.2.5) | ||
docile (1.1.5) | ||
gherkin (3.2.0) | ||
json (1.8.3) | ||
multi_json (1.11.2) | ||
multi_test (0.1.2) | ||
rake (10.5.0) | ||
rspec (3.4.0) | ||
rspec-core (~> 3.4.0) | ||
rspec-expectations (~> 3.4.0) | ||
rspec-mocks (~> 3.4.0) | ||
rspec-core (3.4.4) | ||
rspec-support (~> 3.4.0) | ||
rspec-expectations (3.4.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.4.0) | ||
rspec-mocks (3.4.1) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.4.0) | ||
rspec-support (3.4.1) | ||
simplecov (0.11.2) | ||
docile (~> 1.1.0) | ||
json (~> 1.8) | ||
simplecov-html (~> 0.10.0) | ||
simplecov-html (0.10.0) | ||
term-ansicolor (1.3.2) | ||
tins (~> 1.0) | ||
thor (0.19.1) | ||
tins (1.6.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
coveralls (~> 0.7) | ||
cucumber (~> 2.1) | ||
json (~> 1.7) | ||
json_test_data! | ||
rake (~> 10.5) | ||
rspec (~> 3.4) | ||
simplecov (~> 0.11) | ||
|
||
BUNDLED WITH | ||
1.11.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# json_test_data | ||
JSON schema in, matching JSON data out | ||
# JSON Test Data Generator | ||
|
||
The JSON test data generator takes JSON schema as input and generates test data matching the specification. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require 'rspec/core/rake_task' | ||
require 'cucumber' | ||
require 'cucumber/rake/task' | ||
|
||
RSpec::Core::RakeTask.new(:spec) | ||
Cucumber::Rake::Task.new(:cucumber) do |t| | ||
t.cucumber_opts = '--format pretty' | ||
end | ||
|
||
task :default => [:spec, :cucumber] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# -*- encoding: utf-8 -*- | ||
require_relative "./version" | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "json_test_data" | ||
s.version = JsonTestData::VERSION | ||
s.authors = ["Dana Scheider"] | ||
s.description = "Generate test data from JSON schema" | ||
s.summary = "rambo-#{s.version}" | ||
s.email = '[email protected]' | ||
s.license = 'MIT' | ||
s.platform = Gem::Platform::RUBY | ||
s.required_ruby_version = ">= 2.1.0" | ||
|
||
s.add_development_dependency 'cucumber', '~> 2.1' | ||
s.add_development_dependency 'rspec', '~> 3.4' | ||
s.add_development_dependency 'json', '~> 1.7' | ||
s.add_development_dependency 'rake', '~> 10.5' | ||
s.add_development_dependency 'simplecov', '~> 0.11' | ||
s.add_development_dependency 'coveralls', '~> 0.7' | ||
|
||
s.rubygems_version = ">= 1.6.1" | ||
s.files = `git ls-files`.split("\n").reject {|path| path =~ /\.gitignore$/ } | ||
s.test_files = `git ls-files -- {spec,features}/*`.split("\n") | ||
s.rdoc_options = ["--charset=UTF-8"] | ||
s.require_path = "lib" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module JsonTestData | ||
VERSION = '0.0.1' | ||
end |