rest-in-peace 5.0.2 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9c657d139846be1966c61b39a979893787ec50cb
4
+ data.tar.gz: 8797e451dea4fb17fef28389e17c6535ef75be7d
5
+ SHA512:
6
+ metadata.gz: 43dcf86b4daa1fe8a7bd1ef0a9bcbaf2743d1f78667c2fc449970c4e26d825f579c3dbc8a1c4f3c9c4cb6faeaee57dfed3a355a3988485d887fa18fc8b0224d8
7
+ data.tar.gz: 1450d97ffcb994bb4fea260df265568b42f4717140bf8ff921ff8a7e0ba76639536bedc531e8112f1bd65254d463cc93dc64b0cd35f796502bef5f6adbd109a5
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 1.9.3-p547
1
+ 2.3.1
data/.travis.yml CHANGED
@@ -1,16 +1,22 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
- - 1.9.3
5
4
  - 2.0.0
6
5
  - 2.1.2
7
- - 2.2.4
8
- - 2.3.0
6
+ - 2.2.5
7
+ - 2.3.1
9
8
  gemfile:
10
9
  - gemfiles/Gemfile.activemodel-3.2.x
11
10
  - gemfiles/Gemfile.activemodel-4.0.x
12
11
  - gemfiles/Gemfile.activemodel-4.1.x
13
12
  - gemfiles/Gemfile.activemodel-4.2.x
13
+ - gemfiles/Gemfile.activemodel-5.0.x
14
14
  script:
15
15
  - bundle exec rake spec
16
16
  before_install: gem install bundler
17
+ matrix:
18
+ exclude:
19
+ - rvm: 2.0.0
20
+ gemfile: gemfiles/Gemfile.activemodel-5.0.x
21
+ - rvm: 2.1.2
22
+ gemfile: gemfiles/Gemfile.activemodel-5.0.x
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.0.2
1
+ 5.1.0
@@ -3,3 +3,4 @@ source 'https://rubygems.org'
3
3
  gemspec path: '../'
4
4
 
5
5
  gem 'activemodel', '~> 3.2.0'
6
+ gem 'listen', '~> 3.0.7'
@@ -3,3 +3,4 @@ source 'https://rubygems.org'
3
3
  gemspec path: '../'
4
4
 
5
5
  gem 'activemodel', '~> 4.0.0'
6
+ gem 'listen', '~> 3.0.7'
@@ -3,3 +3,4 @@ source 'https://rubygems.org'
3
3
  gemspec path: '../'
4
4
 
5
5
  gem 'activemodel', '~> 4.1.0'
6
+ gem 'listen', '~> 3.0.7'
@@ -3,3 +3,4 @@ source 'https://rubygems.org'
3
3
  gemspec path: '../'
4
4
 
5
5
  gem 'activemodel', '~> 4.2.0'
6
+ gem 'listen', '~> 3.0.7'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../'
4
+
5
+ gem 'activemodel', '~> 5.0.0'
@@ -64,7 +64,7 @@ module RESTinPeace
64
64
 
65
65
  def errors=(new_errors)
66
66
  new_errors.each do |key, value|
67
- errors.set(key.to_sym, [value].flatten)
67
+ errors.add(key.to_sym, [value].flatten)
68
68
  end
69
69
  end
70
70
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
  s.require_paths = ['lib']
19
19
 
20
- s.add_runtime_dependency 'activemodel', '>= 3.2', '< 5'
20
+ s.add_runtime_dependency 'activemodel', '>= 3.2', '< 6'
21
21
 
22
22
  s.add_development_dependency 'rake', '~> 10.0'
23
23
  s.add_development_dependency 'rspec', '~> 3.0'
metadata CHANGED
@@ -1,134 +1,121 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest-in-peace
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.2
5
- prerelease:
4
+ version: 5.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Raffael Schmid
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2016-04-12 00:00:00.000000000 Z
11
+ date: 2016-07-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activemodel
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.2'
22
- - - <
20
+ - - "<"
23
21
  - !ruby/object:Gem::Version
24
- version: '5'
22
+ version: '6'
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
- - - ! '>='
27
+ - - ">="
31
28
  - !ruby/object:Gem::Version
32
29
  version: '3.2'
33
- - - <
30
+ - - "<"
34
31
  - !ruby/object:Gem::Version
35
- version: '5'
32
+ version: '6'
36
33
  - !ruby/object:Gem::Dependency
37
34
  name: rake
38
35
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
- - - ~>
37
+ - - "~>"
42
38
  - !ruby/object:Gem::Version
43
39
  version: '10.0'
44
40
  type: :development
45
41
  prerelease: false
46
42
  version_requirements: !ruby/object:Gem::Requirement
47
- none: false
48
43
  requirements:
49
- - - ~>
44
+ - - "~>"
50
45
  - !ruby/object:Gem::Version
51
46
  version: '10.0'
52
47
  - !ruby/object:Gem::Dependency
53
48
  name: rspec
54
49
  requirement: !ruby/object:Gem::Requirement
55
- none: false
56
50
  requirements:
57
- - - ~>
51
+ - - "~>"
58
52
  - !ruby/object:Gem::Version
59
53
  version: '3.0'
60
54
  type: :development
61
55
  prerelease: false
62
56
  version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
57
  requirements:
65
- - - ~>
58
+ - - "~>"
66
59
  - !ruby/object:Gem::Version
67
60
  version: '3.0'
68
61
  - !ruby/object:Gem::Dependency
69
62
  name: guard
70
63
  requirement: !ruby/object:Gem::Requirement
71
- none: false
72
64
  requirements:
73
- - - ~>
65
+ - - "~>"
74
66
  - !ruby/object:Gem::Version
75
67
  version: '2.6'
76
- - - ! '>='
68
+ - - ">="
77
69
  - !ruby/object:Gem::Version
78
70
  version: 2.6.1
79
71
  type: :development
80
72
  prerelease: false
81
73
  version_requirements: !ruby/object:Gem::Requirement
82
- none: false
83
74
  requirements:
84
- - - ~>
75
+ - - "~>"
85
76
  - !ruby/object:Gem::Version
86
77
  version: '2.6'
87
- - - ! '>='
78
+ - - ">="
88
79
  - !ruby/object:Gem::Version
89
80
  version: 2.6.1
90
81
  - !ruby/object:Gem::Dependency
91
82
  name: guard-rspec
92
83
  requirement: !ruby/object:Gem::Requirement
93
- none: false
94
84
  requirements:
95
- - - ~>
85
+ - - "~>"
96
86
  - !ruby/object:Gem::Version
97
87
  version: '4.2'
98
- - - ! '>='
88
+ - - ">="
99
89
  - !ruby/object:Gem::Version
100
90
  version: 4.2.0
101
91
  type: :development
102
92
  prerelease: false
103
93
  version_requirements: !ruby/object:Gem::Requirement
104
- none: false
105
94
  requirements:
106
- - - ~>
95
+ - - "~>"
107
96
  - !ruby/object:Gem::Version
108
97
  version: '4.2'
109
- - - ! '>='
98
+ - - ">="
110
99
  - !ruby/object:Gem::Version
111
100
  version: 4.2.0
112
101
  - !ruby/object:Gem::Dependency
113
102
  name: simplecov
114
103
  requirement: !ruby/object:Gem::Requirement
115
- none: false
116
104
  requirements:
117
- - - ~>
105
+ - - "~>"
118
106
  - !ruby/object:Gem::Version
119
107
  version: '0.8'
120
- - - ! '>='
108
+ - - ">="
121
109
  - !ruby/object:Gem::Version
122
110
  version: 0.8.2
123
111
  type: :development
124
112
  prerelease: false
125
113
  version_requirements: !ruby/object:Gem::Requirement
126
- none: false
127
114
  requirements:
128
- - - ~>
115
+ - - "~>"
129
116
  - !ruby/object:Gem::Version
130
117
  version: '0.8'
131
- - - ! '>='
118
+ - - ">="
132
119
  - !ruby/object:Gem::Version
133
120
  version: 0.8.2
134
121
  description: Let your api REST in peace.
@@ -138,11 +125,11 @@ executables: []
138
125
  extensions: []
139
126
  extra_rdoc_files: []
140
127
  files:
141
- - .gitignore
142
- - .rspec
143
- - .ruby-gemset
144
- - .ruby-version
145
- - .travis.yml
128
+ - ".gitignore"
129
+ - ".rspec"
130
+ - ".ruby-gemset"
131
+ - ".ruby-version"
132
+ - ".travis.yml"
146
133
  - Gemfile
147
134
  - Guardfile
148
135
  - LICENSE.txt
@@ -154,6 +141,7 @@ files:
154
141
  - gemfiles/Gemfile.activemodel-4.0.x
155
142
  - gemfiles/Gemfile.activemodel-4.1.x
156
143
  - gemfiles/Gemfile.activemodel-4.2.x
144
+ - gemfiles/Gemfile.activemodel-5.0.x
157
145
  - images/rest_in_peace.gif
158
146
  - lib/rest-in-peace.rb
159
147
  - lib/rest_in_peace.rb
@@ -182,27 +170,26 @@ files:
182
170
  homepage: http://github.com/ninech/
183
171
  licenses:
184
172
  - MIT
173
+ metadata: {}
185
174
  post_install_message:
186
175
  rdoc_options: []
187
176
  require_paths:
188
177
  - lib
189
178
  required_ruby_version: !ruby/object:Gem::Requirement
190
- none: false
191
179
  requirements:
192
- - - ! '>='
180
+ - - ">="
193
181
  - !ruby/object:Gem::Version
194
182
  version: '0'
195
183
  required_rubygems_version: !ruby/object:Gem::Requirement
196
- none: false
197
184
  requirements:
198
- - - ! '>='
185
+ - - ">="
199
186
  - !ruby/object:Gem::Version
200
187
  version: '0'
201
188
  requirements: []
202
189
  rubyforge_project:
203
- rubygems_version: 1.8.23.2
190
+ rubygems_version: 2.5.1
204
191
  signing_key:
205
- specification_version: 3
192
+ specification_version: 4
206
193
  summary: REST in peace
207
194
  test_files:
208
195
  - spec/rest_in_peace/active_model_api_spec.rb