settingson 1.1.11 → 1.1.14

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: 51d0f75e4f285748a55d638bd9d8080c39a3e998
4
- data.tar.gz: 05e5bfc05906fd6867a54d7703e6d5e0e2f250c8
3
+ metadata.gz: 489f39ab961d2b4939144a026cd828516a3efc9b
4
+ data.tar.gz: a8baece9a51942ea73ad9c1fdf2d1408d5258ab6
5
5
  SHA512:
6
- metadata.gz: 63296c1dc539271fc785d508dd0ee00cfedb2173050b4c9076da9001d9c0f2c2db6c18b8b554baab734cc0d241b21a737fbed40fd3d56a0e1509ad50a22de127
7
- data.tar.gz: 69da996990028fe7137965a2e80f349baa389c816907cb03c72893b734db59e9f0ddfda10974d716c7f855bbe96dd672b9d3757b78159ae115a1d61c12301118
6
+ metadata.gz: 2efcedc7954e77bf3a9a51b9168e3855aec3bb6d9adb86508fc70bb01583f1e83306b5b1af003166611872dbbd7a1ba4e8c3b503dd3462b202501f502b35aea8
7
+ data.tar.gz: 7e6c08b75fa9f967b100b3ecc2210d06372281009870aafc304ed51b0570f52ef0957ffa2ea602a14d3dc78f7c70b75e31cd3b88f78f8d1fff80c2547043e73a
@@ -2,6 +2,10 @@ class Settingson::Store
2
2
 
3
3
  attr_accessor :name, :value
4
4
 
5
+ def self.model_name
6
+ self.class
7
+ end
8
+
5
9
  def initialize(klass, string, *args)
6
10
  @klass = klass
7
11
  @value = parse(string, args.first)
@@ -1,3 +1,3 @@
1
1
  module Settingson
2
- VERSION = "1.1.11"
2
+ VERSION = "1.1.14"
3
3
  end
data/settingson.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib", "app/models/concerns"]
20
20
 
21
21
  spec.required_ruby_version = '>= 2.0'
22
- spec.add_runtime_dependency 'rails', '~> 4.0', '>= 4.0.0'
22
+ spec.add_runtime_dependency 'rails', '~> 4.0'
23
23
  spec.add_development_dependency "bundler", "~> 1.6"
24
24
  # spec.add_development_dependency "rake"
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: settingson
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.11
4
+ version: 1.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - dan
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.0'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 4.0.0
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '4.0'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 4.0.0
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: bundler
35
29
  requirement: !ruby/object:Gem::Requirement