fakery 0.4.0 → 0.4.1

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: f630e9880038c8ff0252674f3e1e5d267ad6a451
4
- data.tar.gz: 3eab8b25954c9f99ea05fadada60ecfb05f90739
3
+ metadata.gz: 51580021380fa7bf8f8e65cfa79e3a6a926a020c
4
+ data.tar.gz: 26c67413fa7940601e09f2639ac0372829779830
5
5
  SHA512:
6
- metadata.gz: 457ae54f67b5f7f3733806826e85a100a08316c7e5625161be618b9ca0d2fc7d28c10a7e3c677c18d4a592019713577e6af8822cc0de81f5dba2f14f52d18703
7
- data.tar.gz: 62f2cc100df0abda68408c5e667059f45ce2aad92a4325781b91bbc266c27ffc109b6b46c52b15e28730efb3bf8ae765e2cf8f0b13b43e78f5c9df090c30659a
6
+ metadata.gz: 6bc0d46bc3d9fc92792d93273117d085f53d5f9664b97ff5b9e0bd23b1df9ad56131cbeae2d73b41fcdef3a17d026fead7b6d95e05f6b19ca83a002324cf0b54
7
+ data.tar.gz: d36f178fd229f47c2733ee4d323513d406599c140f067575fbca609c527c864a85bf88c78ef76469a757c769a0e546d59451eef1f1670ee6e9db94f28f64eddc
@@ -3,9 +3,13 @@ rvm:
3
3
  - 2.2
4
4
  - 2.3.1
5
5
  - ruby-head
6
+ - jruby-head
6
7
  matrix:
7
8
  allow_failures:
8
9
  - rvm: ruby-head
10
+ include:
11
+ - rvm: jruby-head
12
+ env: JRUBY_OPTS="--2.1"
9
13
  env:
10
14
  - CODECLIMATE_REPO_TOKEN=af3a05003c763bcee8abfdd7d7c46cc122c02ea09e5a71c3e16cf0a26685a851
11
15
 
data/Gemfile CHANGED
@@ -5,3 +5,4 @@ source 'https://rubygems.org'
5
5
  gemspec
6
6
 
7
7
  gem "codeclimate-test-reporter", group: :test, require: false
8
+ gem 'byebug', platform: :mri
data/Rakefile CHANGED
@@ -16,6 +16,7 @@ GemHadar do
16
16
  readme 'README.md'
17
17
  title "#{name.camelize} -- "
18
18
  licenses << 'Apache-2.0'
19
+ required_ruby_version '~>2.1'
19
20
 
20
21
  dependency 'tins', '~>1.0'
21
22
  dependency 'term-ansicolor', '~>1.3'
@@ -24,7 +25,6 @@ GemHadar do
24
25
  development_dependency 'simplecov'
25
26
  development_dependency 'rspec', '~>3.0'
26
27
  development_dependency 'rspec-nc'
27
- development_dependency 'byebug'
28
28
  end
29
29
 
30
30
  task :default => :spec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: fakery 0.4.0 ruby lib
2
+ # stub: fakery 0.4.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "fakery"
6
- s.version = "0.4.0"
6
+ s.version = "0.4.1"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
@@ -16,7 +16,8 @@ Gem::Specification.new do |s|
16
16
  s.homepage = "http://github.com/betterplace/fakery"
17
17
  s.licenses = ["Apache-2.0"]
18
18
  s.rdoc_options = ["--title", "Fakery -- ", "--main", "README.md"]
19
- s.rubygems_version = "2.5.1"
19
+ s.required_ruby_version = Gem::Requirement.new("~> 2.1")
20
+ s.rubygems_version = "2.4.8"
20
21
  s.summary = "Fake Ruby objects from JSON API responses"
21
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"]
22
23
 
@@ -28,7 +29,6 @@ Gem::Specification.new do |s|
28
29
  s.add_development_dependency(%q<simplecov>, [">= 0"])
29
30
  s.add_development_dependency(%q<rspec>, ["~> 3.0"])
30
31
  s.add_development_dependency(%q<rspec-nc>, [">= 0"])
31
- s.add_development_dependency(%q<byebug>, [">= 0"])
32
32
  s.add_runtime_dependency(%q<tins>, ["~> 1.0"])
33
33
  s.add_runtime_dependency(%q<term-ansicolor>, ["~> 1.3"])
34
34
  s.add_runtime_dependency(%q<typhoeus>, ["~> 1.0"])
@@ -38,7 +38,6 @@ Gem::Specification.new do |s|
38
38
  s.add_dependency(%q<simplecov>, [">= 0"])
39
39
  s.add_dependency(%q<rspec>, ["~> 3.0"])
40
40
  s.add_dependency(%q<rspec-nc>, [">= 0"])
41
- s.add_dependency(%q<byebug>, [">= 0"])
42
41
  s.add_dependency(%q<tins>, ["~> 1.0"])
43
42
  s.add_dependency(%q<term-ansicolor>, ["~> 1.3"])
44
43
  s.add_dependency(%q<typhoeus>, ["~> 1.0"])
@@ -49,7 +48,6 @@ Gem::Specification.new do |s|
49
48
  s.add_dependency(%q<simplecov>, [">= 0"])
50
49
  s.add_dependency(%q<rspec>, ["~> 3.0"])
51
50
  s.add_dependency(%q<rspec-nc>, [">= 0"])
52
- s.add_dependency(%q<byebug>, [">= 0"])
53
51
  s.add_dependency(%q<tins>, ["~> 1.0"])
54
52
  s.add_dependency(%q<term-ansicolor>, ["~> 1.3"])
55
53
  s.add_dependency(%q<typhoeus>, ["~> 1.0"])
@@ -1,6 +1,6 @@
1
1
  module Fakery
2
2
  # Fakery version
3
- VERSION = '0.4.0'
3
+ VERSION = '0.4.1'
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:
@@ -9,7 +9,11 @@ elsif ENV['CODECLIMATE_REPO_TOKEN']
9
9
  CodeClimate::TestReporter.start
10
10
  end
11
11
  require 'rspec'
12
- require 'byebug'
12
+ begin
13
+ require 'byebug'
14
+ rescue LoadError
15
+ warn "Cannot load byebug => Skipping it."
16
+ end
13
17
  require 'fakery'
14
18
 
15
19
  RSpec.configure do |config|
metadata CHANGED
@@ -1,136 +1,122 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fakery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace Developers
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: gem_hadar
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
18
  version: 1.7.1
20
- type: :development
19
+ name: gem_hadar
21
20
  prerelease: false
21
+ type: :development
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.7.1
27
27
  - !ruby/object:Gem::Dependency
28
- name: simplecov
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - ">="
32
31
  - !ruby/object:Gem::Version
33
32
  version: '0'
34
- type: :development
33
+ name: simplecov
35
34
  prerelease: false
35
+ type: :development
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
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
46
  version: '3.0'
48
- type: :development
47
+ name: rspec
49
48
  prerelease: false
49
+ type: :development
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
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
58
  - - ">="
60
59
  - !ruby/object:Gem::Version
61
60
  version: '0'
62
- type: :development
61
+ name: rspec-nc
63
62
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: byebug
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
63
  type: :development
77
- prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
66
  - - ">="
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
- name: tins
85
70
  requirement: !ruby/object:Gem::Requirement
86
71
  requirements:
87
72
  - - "~>"
88
73
  - !ruby/object:Gem::Version
89
74
  version: '1.0'
90
- type: :runtime
75
+ name: tins
91
76
  prerelease: false
77
+ type: :runtime
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
82
  version: '1.0'
97
83
  - !ruby/object:Gem::Dependency
98
- name: term-ansicolor
99
84
  requirement: !ruby/object:Gem::Requirement
100
85
  requirements:
101
86
  - - "~>"
102
87
  - !ruby/object:Gem::Version
103
88
  version: '1.3'
104
- type: :runtime
89
+ name: term-ansicolor
105
90
  prerelease: false
91
+ type: :runtime
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
96
  version: '1.3'
111
97
  - !ruby/object:Gem::Dependency
112
- name: typhoeus
113
98
  requirement: !ruby/object:Gem::Requirement
114
99
  requirements:
115
100
  - - "~>"
116
101
  - !ruby/object:Gem::Version
117
102
  version: '1.0'
118
- type: :runtime
103
+ name: typhoeus
119
104
  prerelease: false
105
+ type: :runtime
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
108
  - - "~>"
123
109
  - !ruby/object:Gem::Version
124
110
  version: '1.0'
125
111
  - !ruby/object:Gem::Dependency
126
- name: json
127
112
  requirement: !ruby/object:Gem::Requirement
128
113
  requirements:
129
114
  - - "~>"
130
115
  - !ruby/object:Gem::Version
131
116
  version: '1.0'
132
- type: :runtime
117
+ name: json
133
118
  prerelease: false
119
+ type: :runtime
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
122
  - - "~>"
@@ -186,7 +172,7 @@ homepage: http://github.com/betterplace/fakery
186
172
  licenses:
187
173
  - Apache-2.0
188
174
  metadata: {}
189
- post_install_message:
175
+ post_install_message:
190
176
  rdoc_options:
191
177
  - "--title"
192
178
  - 'Fakery -- '
@@ -196,18 +182,18 @@ require_paths:
196
182
  - lib
197
183
  required_ruby_version: !ruby/object:Gem::Requirement
198
184
  requirements:
199
- - - ">="
185
+ - - "~>"
200
186
  - !ruby/object:Gem::Version
201
- version: '0'
187
+ version: '2.1'
202
188
  required_rubygems_version: !ruby/object:Gem::Requirement
203
189
  requirements:
204
190
  - - ">="
205
191
  - !ruby/object:Gem::Version
206
192
  version: '0'
207
193
  requirements: []
208
- rubyforge_project:
209
- rubygems_version: 2.5.1
210
- signing_key:
194
+ rubyforge_project:
195
+ rubygems_version: 2.4.8
196
+ signing_key:
211
197
  specification_version: 4
212
198
  summary: Fake Ruby objects from JSON API responses
213
199
  test_files: