fakery 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 51580021380fa7bf8f8e65cfa79e3a6a926a020c
4
- data.tar.gz: 26c67413fa7940601e09f2639ac0372829779830
3
+ metadata.gz: bc2cceb2748ed174be324b694b13883f4f21c33d
4
+ data.tar.gz: bacea165b0a7b18c0a3ec92a57e99181a4df7331
5
5
  SHA512:
6
- metadata.gz: 6bc0d46bc3d9fc92792d93273117d085f53d5f9664b97ff5b9e0bd23b1df9ad56131cbeae2d73b41fcdef3a17d026fead7b6d95e05f6b19ca83a002324cf0b54
7
- data.tar.gz: d36f178fd229f47c2733ee4d323513d406599c140f067575fbca609c527c864a85bf88c78ef76469a757c769a0e546d59451eef1f1670ee6e9db94f28f64eddc
6
+ metadata.gz: a146622999edd36e23955fa470fc330a4f004f4c3e0e4472f569192e8bf0a5da690ddb3fbf788a7b7bad51a8ce8e7861c42790f2770e86ffc2e08c86d9f738dd
7
+ data.tar.gz: 4fae0fe32a60fb36e7cb3b4fdfbd12cca47605f43b99082509f24c02476c2442cb7e14eef2b4d21e1a464f45fc4ce50289aed4951dacf7bafa2cb100181212f4
@@ -1,17 +1,8 @@
1
1
  rvm:
2
2
  - 2.1
3
3
  - 2.2
4
- - 2.3.1
5
- - ruby-head
6
- - jruby-head
7
- matrix:
8
- allow_failures:
9
- - rvm: ruby-head
10
- include:
11
- - rvm: jruby-head
12
- env: JRUBY_OPTS="--2.1"
13
- env:
14
- - CODECLIMATE_REPO_TOKEN=af3a05003c763bcee8abfdd7d7c46cc122c02ea09e5a71c3e16cf0a26685a851
4
+ - 2.3.3
5
+ - 2.4.0
15
6
 
16
7
  before_install:
17
8
  - gem install bundler
data/Gemfile CHANGED
@@ -4,5 +4,4 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
- gem "codeclimate-test-reporter", group: :test, require: false
8
7
  gem 'byebug', platform: :mri
data/README.md CHANGED
@@ -43,4 +43,3 @@ URL.
43
43
  ## Badges
44
44
 
45
45
  [![Build Status](https://travis-ci.org/betterplace/fakery.svg?branch=master)](https://travis-ci.org/betterplace/fakery)
46
- [![Code Climate](https://codeclimate.com/github/betterplace/fakery.png)](https://codeclimate.com/github/betterplace/fakery)
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ GemHadar do
21
21
  dependency 'tins', '~>1.0'
22
22
  dependency 'term-ansicolor', '~>1.3'
23
23
  dependency 'typhoeus', '~>1.0'
24
- dependency 'json', '~>1.0'
24
+ dependency 'json', '>=1.0', '<3'
25
25
  development_dependency 'simplecov'
26
26
  development_dependency 'rspec', '~>3.0'
27
27
  development_dependency 'rspec-nc'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.5.0
@@ -1,56 +1,56 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: fakery 0.4.1 ruby lib
2
+ # stub: fakery 0.5.0 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.name = "fakery"
6
- s.version = "0.4.1"
5
+ s.name = "fakery".freeze
6
+ s.version = "0.5.0"
7
7
 
8
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
- s.require_paths = ["lib"]
10
- s.authors = ["betterplace Developers"]
11
- s.date = "2016-06-06"
12
- s.description = "This library fakes ruby objects from JSON API responses for testing purposes."
13
- s.email = "developers@betterplace.org"
14
- s.extra_rdoc_files = ["README.md", "lib/fakery.rb", "lib/fakery/api.rb", "lib/fakery/api_error.rb", "lib/fakery/change.rb", "lib/fakery/fake.rb", "lib/fakery/fakery_error.rb", "lib/fakery/registry.rb", "lib/fakery/seeding.rb", "lib/fakery/state_error.rb", "lib/fakery/version.rb", "lib/fakery/wrapping.rb"]
15
- s.files = [".gitignore", ".rspec", ".travis.yml", "Gemfile", "LICENSE", "README.md", "Rakefile", "TODO.md", "VERSION", "fakery.gemspec", "lib/fakery.rb", "lib/fakery/api.rb", "lib/fakery/api_error.rb", "lib/fakery/change.rb", "lib/fakery/fake.rb", "lib/fakery/fakery_error.rb", "lib/fakery/registry.rb", "lib/fakery/seeding.rb", "lib/fakery/state_error.rb", "lib/fakery/version.rb", "lib/fakery/wrapping.rb", "spec/api_spec.rb", "spec/change_spec.rb", "spec/fake_spec.rb", "spec/registry_spec.rb", "spec/seeding_spec.rb", "spec/spec_helper.rb", "spec/wrapping_spec.rb"]
16
- s.homepage = "http://github.com/betterplace/fakery"
17
- s.licenses = ["Apache-2.0"]
18
- s.rdoc_options = ["--title", "Fakery -- ", "--main", "README.md"]
19
- s.required_ruby_version = Gem::Requirement.new("~> 2.1")
20
- s.rubygems_version = "2.4.8"
21
- s.summary = "Fake Ruby objects from JSON API responses"
22
- s.test_files = ["spec/api_spec.rb", "spec/change_spec.rb", "spec/fake_spec.rb", "spec/registry_spec.rb", "spec/seeding_spec.rb", "spec/spec_helper.rb", "spec/wrapping_spec.rb"]
8
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
+ s.require_paths = ["lib".freeze]
10
+ s.authors = ["betterplace Developers".freeze]
11
+ s.date = "2017-01-02"
12
+ s.description = "This library fakes ruby objects from JSON API responses for testing purposes.".freeze
13
+ s.email = "developers@betterplace.org".freeze
14
+ s.extra_rdoc_files = ["README.md".freeze, "lib/fakery.rb".freeze, "lib/fakery/api.rb".freeze, "lib/fakery/api_error.rb".freeze, "lib/fakery/change.rb".freeze, "lib/fakery/fake.rb".freeze, "lib/fakery/fakery_error.rb".freeze, "lib/fakery/registry.rb".freeze, "lib/fakery/seeding.rb".freeze, "lib/fakery/state_error.rb".freeze, "lib/fakery/version.rb".freeze, "lib/fakery/wrapping.rb".freeze]
15
+ s.files = [".gitignore".freeze, ".rspec".freeze, ".travis.yml".freeze, "Gemfile".freeze, "LICENSE".freeze, "README.md".freeze, "Rakefile".freeze, "TODO.md".freeze, "VERSION".freeze, "fakery.gemspec".freeze, "lib/fakery.rb".freeze, "lib/fakery/api.rb".freeze, "lib/fakery/api_error.rb".freeze, "lib/fakery/change.rb".freeze, "lib/fakery/fake.rb".freeze, "lib/fakery/fakery_error.rb".freeze, "lib/fakery/registry.rb".freeze, "lib/fakery/seeding.rb".freeze, "lib/fakery/state_error.rb".freeze, "lib/fakery/version.rb".freeze, "lib/fakery/wrapping.rb".freeze, "spec/api_spec.rb".freeze, "spec/change_spec.rb".freeze, "spec/fake_spec.rb".freeze, "spec/registry_spec.rb".freeze, "spec/seeding_spec.rb".freeze, "spec/spec_helper.rb".freeze, "spec/wrapping_spec.rb".freeze]
16
+ s.homepage = "http://github.com/betterplace/fakery".freeze
17
+ s.licenses = ["Apache-2.0".freeze]
18
+ s.rdoc_options = ["--title".freeze, "Fakery -- ".freeze, "--main".freeze, "README.md".freeze]
19
+ s.required_ruby_version = Gem::Requirement.new("~> 2.1".freeze)
20
+ s.rubygems_version = "2.6.8".freeze
21
+ s.summary = "Fake Ruby objects from JSON API responses".freeze
22
+ s.test_files = ["spec/api_spec.rb".freeze, "spec/change_spec.rb".freeze, "spec/fake_spec.rb".freeze, "spec/registry_spec.rb".freeze, "spec/seeding_spec.rb".freeze, "spec/spec_helper.rb".freeze, "spec/wrapping_spec.rb".freeze]
23
23
 
24
24
  if s.respond_to? :specification_version then
25
25
  s.specification_version = 4
26
26
 
27
27
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
- s.add_development_dependency(%q<gem_hadar>, ["~> 1.7.1"])
29
- s.add_development_dependency(%q<simplecov>, [">= 0"])
30
- s.add_development_dependency(%q<rspec>, ["~> 3.0"])
31
- s.add_development_dependency(%q<rspec-nc>, [">= 0"])
32
- s.add_runtime_dependency(%q<tins>, ["~> 1.0"])
33
- s.add_runtime_dependency(%q<term-ansicolor>, ["~> 1.3"])
34
- s.add_runtime_dependency(%q<typhoeus>, ["~> 1.0"])
35
- s.add_runtime_dependency(%q<json>, ["~> 1.0"])
28
+ s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
29
+ s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
30
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.0"])
31
+ s.add_development_dependency(%q<rspec-nc>.freeze, [">= 0"])
32
+ s.add_runtime_dependency(%q<tins>.freeze, ["~> 1.0"])
33
+ s.add_runtime_dependency(%q<term-ansicolor>.freeze, ["~> 1.3"])
34
+ s.add_runtime_dependency(%q<typhoeus>.freeze, ["~> 1.0"])
35
+ s.add_runtime_dependency(%q<json>.freeze, ["< 3", ">= 1.0"])
36
36
  else
37
- s.add_dependency(%q<gem_hadar>, ["~> 1.7.1"])
38
- s.add_dependency(%q<simplecov>, [">= 0"])
39
- s.add_dependency(%q<rspec>, ["~> 3.0"])
40
- s.add_dependency(%q<rspec-nc>, [">= 0"])
41
- s.add_dependency(%q<tins>, ["~> 1.0"])
42
- s.add_dependency(%q<term-ansicolor>, ["~> 1.3"])
43
- s.add_dependency(%q<typhoeus>, ["~> 1.0"])
44
- s.add_dependency(%q<json>, ["~> 1.0"])
37
+ s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
38
+ s.add_dependency(%q<simplecov>.freeze, [">= 0"])
39
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.0"])
40
+ s.add_dependency(%q<rspec-nc>.freeze, [">= 0"])
41
+ s.add_dependency(%q<tins>.freeze, ["~> 1.0"])
42
+ s.add_dependency(%q<term-ansicolor>.freeze, ["~> 1.3"])
43
+ s.add_dependency(%q<typhoeus>.freeze, ["~> 1.0"])
44
+ s.add_dependency(%q<json>.freeze, ["< 3", ">= 1.0"])
45
45
  end
46
46
  else
47
- s.add_dependency(%q<gem_hadar>, ["~> 1.7.1"])
48
- s.add_dependency(%q<simplecov>, [">= 0"])
49
- s.add_dependency(%q<rspec>, ["~> 3.0"])
50
- s.add_dependency(%q<rspec-nc>, [">= 0"])
51
- s.add_dependency(%q<tins>, ["~> 1.0"])
52
- s.add_dependency(%q<term-ansicolor>, ["~> 1.3"])
53
- s.add_dependency(%q<typhoeus>, ["~> 1.0"])
54
- s.add_dependency(%q<json>, ["~> 1.0"])
47
+ s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
48
+ s.add_dependency(%q<simplecov>.freeze, [">= 0"])
49
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.0"])
50
+ s.add_dependency(%q<rspec-nc>.freeze, [">= 0"])
51
+ s.add_dependency(%q<tins>.freeze, ["~> 1.0"])
52
+ s.add_dependency(%q<term-ansicolor>.freeze, ["~> 1.3"])
53
+ s.add_dependency(%q<typhoeus>.freeze, ["~> 1.0"])
54
+ s.add_dependency(%q<json>.freeze, ["< 3", ">= 1.0"])
55
55
  end
56
56
  end
@@ -1,6 +1,6 @@
1
1
  module Fakery
2
2
  # Fakery version
3
- VERSION = '0.4.1'
3
+ VERSION = '0.5.0'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
@@ -1,12 +1,8 @@
1
- require 'simplecov'
2
- require "codeclimate-test-reporter"
3
1
  if ENV['START_SIMPLECOV'].to_i == 1
2
+ require 'simplecov'
4
3
  SimpleCov.start do
5
4
  add_filter "#{File.basename(File.dirname(__FILE__))}/"
6
5
  end
7
- elsif ENV['CODECLIMATE_REPO_TOKEN']
8
- require 'codeclimate-test-reporter'
9
- CodeClimate::TestReporter.start
10
6
  end
11
7
  require 'rspec'
12
8
  begin
metadata CHANGED
@@ -1,127 +1,133 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fakery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace Developers
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-06 00:00:00.000000000 Z
11
+ date: 2017-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: gem_hadar
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - "~>"
17
18
  - !ruby/object:Gem::Version
18
- version: 1.7.1
19
- name: gem_hadar
20
- prerelease: false
19
+ version: 1.9.1
21
20
  type: :development
21
+ prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.7.1
26
+ version: 1.9.1
27
27
  - !ruby/object:Gem::Dependency
28
+ name: simplecov
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - ">="
31
32
  - !ruby/object:Gem::Version
32
33
  version: '0'
33
- name: simplecov
34
- prerelease: false
35
34
  type: :development
35
+ prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
+ name: rspec
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
45
  - - "~>"
45
46
  - !ruby/object:Gem::Version
46
47
  version: '3.0'
47
- name: rspec
48
- prerelease: false
49
48
  type: :development
49
+ prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
+ name: rspec-nc
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
59
  - - ">="
59
60
  - !ruby/object:Gem::Version
60
61
  version: '0'
61
- name: rspec-nc
62
- prerelease: false
63
62
  type: :development
63
+ prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
+ name: tins
70
71
  requirement: !ruby/object:Gem::Requirement
71
72
  requirements:
72
73
  - - "~>"
73
74
  - !ruby/object:Gem::Version
74
75
  version: '1.0'
75
- name: tins
76
- prerelease: false
77
76
  type: :runtime
77
+ prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.0'
83
83
  - !ruby/object:Gem::Dependency
84
+ name: term-ansicolor
84
85
  requirement: !ruby/object:Gem::Requirement
85
86
  requirements:
86
87
  - - "~>"
87
88
  - !ruby/object:Gem::Version
88
89
  version: '1.3'
89
- name: term-ansicolor
90
- prerelease: false
91
90
  type: :runtime
91
+ prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.3'
97
97
  - !ruby/object:Gem::Dependency
98
+ name: typhoeus
98
99
  requirement: !ruby/object:Gem::Requirement
99
100
  requirements:
100
101
  - - "~>"
101
102
  - !ruby/object:Gem::Version
102
103
  version: '1.0'
103
- name: typhoeus
104
- prerelease: false
105
104
  type: :runtime
105
+ prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '1.0'
111
111
  - !ruby/object:Gem::Dependency
112
+ name: json
112
113
  requirement: !ruby/object:Gem::Requirement
113
114
  requirements:
114
- - - "~>"
115
+ - - ">="
115
116
  - !ruby/object:Gem::Version
116
117
  version: '1.0'
117
- name: json
118
- prerelease: false
118
+ - - "<"
119
+ - !ruby/object:Gem::Version
120
+ version: '3'
119
121
  type: :runtime
122
+ prerelease: false
120
123
  version_requirements: !ruby/object:Gem::Requirement
121
124
  requirements:
122
- - - "~>"
125
+ - - ">="
123
126
  - !ruby/object:Gem::Version
124
127
  version: '1.0'
128
+ - - "<"
129
+ - !ruby/object:Gem::Version
130
+ version: '3'
125
131
  description: This library fakes ruby objects from JSON API responses for testing purposes.
126
132
  email: developers@betterplace.org
127
133
  executables: []
@@ -172,7 +178,7 @@ homepage: http://github.com/betterplace/fakery
172
178
  licenses:
173
179
  - Apache-2.0
174
180
  metadata: {}
175
- post_install_message:
181
+ post_install_message:
176
182
  rdoc_options:
177
183
  - "--title"
178
184
  - 'Fakery -- '
@@ -191,9 +197,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
197
  - !ruby/object:Gem::Version
192
198
  version: '0'
193
199
  requirements: []
194
- rubyforge_project:
195
- rubygems_version: 2.4.8
196
- signing_key:
200
+ rubyforge_project:
201
+ rubygems_version: 2.6.8
202
+ signing_key:
197
203
  specification_version: 4
198
204
  summary: Fake Ruby objects from JSON API responses
199
205
  test_files: