setting_accessors 0.0.12 → 0.1.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: 4bfc4d6c136c888e3ab70d330ace8ba0b118c9f6
4
- data.tar.gz: 01bf15e9041976abd2c2804511daf0aeaadc5df5
3
+ metadata.gz: 7caea2d742244efa6ea948761eab7f021f84496f
4
+ data.tar.gz: 7926544739e71442d9ef609edc56261a027e1f70
5
5
  SHA512:
6
- metadata.gz: 071dd2ed23e8ab80dc529999a341d50c1f2d889e587992cb26fe7dce060d9d6c7138a8e5bfb5edcd345f44bc8f166187dd7d13f58e2eae9013660a0e2ad66da1
7
- data.tar.gz: 0b9715953ce927a4d00db6cb15083650f1939c775e62f67ce2ed227982543488c43d97d0f538ba189fdf77d4f51b5487760a9b404c532bd3498d1bde1fa1ba4b
6
+ metadata.gz: 3994281b120a84ae882f203c14e45a6cc71ef08ba5a8e4206c17088018a8d8349e8dfda5938b2269aaca2a4efbc06377390893f39bb98b1a798cebed5617bfe9
7
+ data.tar.gz: 21a739c4597006df8cf6b6d86ed959824501cd4fb3e83d015bbd43f51cd83f93a3b9f1316a8794ffaff793d5440c5d5a250dd3ee5d585578a2692d24e5a1dc8a
data/.travis.yml CHANGED
@@ -2,9 +2,8 @@ language: ruby
2
2
  cache: bundler
3
3
 
4
4
  rvm:
5
- - 2.0.0
6
- - 2.1
7
5
  - 2.2
6
+ - 2.3.1
8
7
 
9
8
  before_install: 'gem install bundler'
10
9
  script: 'bundle exec rake'
@@ -159,7 +159,7 @@ module SettingAccessors::SettingScaffold
159
159
  def validation_errors(name, value, assignable = nil)
160
160
  s = self.new(:name => name, :value => value, :assignable => assignable)
161
161
  s.valid?
162
- s.errors.get(:value) || []
162
+ s.errors[:value] || []
163
163
  end
164
164
  end
165
165
 
@@ -1,3 +1,3 @@
1
1
  module SettingAccessors
2
- VERSION = '0.0.12'
2
+ VERSION = '0.1.0'
3
3
  end
@@ -19,6 +19,8 @@ Gem::Specification.new do |spec|
19
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
20
  spec.require_paths = ["lib"]
21
21
 
22
+ spec.required_ruby_version = ['>= 2.2.2', '< 3']
23
+
22
24
  spec.add_development_dependency "bundler", "~> 1.6"
23
25
  spec.add_development_dependency "rake", "~> 10.4"
24
26
  spec.add_development_dependency 'sqlite3', '~> 1.3'
@@ -26,5 +28,5 @@ Gem::Specification.new do |spec|
26
28
  spec.add_development_dependency 'minitest', '~> 5.5'
27
29
  spec.add_development_dependency 'byebug', '~> 3.5'
28
30
 
29
- spec.add_dependency 'rails', '~> 4.1'
31
+ spec.add_dependency 'rails', ['>= 4.1', '< 5.1']
30
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: setting_accessors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Exner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-05 00:00:00.000000000 Z
11
+ date: 2016-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -98,16 +98,22 @@ dependencies:
98
98
  name: rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '4.1'
104
+ - - "<"
105
+ - !ruby/object:Gem::Version
106
+ version: '5.1'
104
107
  type: :runtime
105
108
  prerelease: false
106
109
  version_requirements: !ruby/object:Gem::Requirement
107
110
  requirements:
108
- - - "~>"
111
+ - - ">="
109
112
  - !ruby/object:Gem::Version
110
113
  version: '4.1'
114
+ - - "<"
115
+ - !ruby/object:Gem::Version
116
+ version: '5.1'
111
117
  description: |-
112
118
  Adds a global key-value-store to Rails applications and allows adding typed columns
113
119
  to model classes without having to change the database layout.
@@ -207,7 +213,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
213
  requirements:
208
214
  - - ">="
209
215
  - !ruby/object:Gem::Version
210
- version: '0'
216
+ version: 2.2.2
217
+ - - "<"
218
+ - !ruby/object:Gem::Version
219
+ version: '3'
211
220
  required_rubygems_version: !ruby/object:Gem::Requirement
212
221
  requirements:
213
222
  - - ">="