Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
danascheider committed Apr 8, 2016
1 parent 7a28017 commit 32f2448
Show file tree
Hide file tree
Showing 6 changed files with 116 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source "https://rubygems.org"

gemspec
70 changes: 70 additions & 0 deletions Gemfile.lock
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
5 changes: 3 additions & 2 deletions README.md
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.
10 changes: 10 additions & 0 deletions Rakefile
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]
27 changes: 27 additions & 0 deletions json_test_data.gemspec
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
3 changes: 3 additions & 0 deletions version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module JsonTestData
VERSION = '0.0.1'
end

0 comments on commit 32f2448

Please sign in to comment.