static_models 0.4.1 → 0.4.2

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: 3ef1da11476c36cfa1b806d8c078837de90a0421
4
- data.tar.gz: f14b9af0d4b9e25c26e60d5f21710b97c905dbb3
3
+ metadata.gz: cf6996d17ba9835d8a05879a2552a846f7547b0d
4
+ data.tar.gz: 371e47d1ae8d981895aeb02db3726b02f1f0c223
5
5
  SHA512:
6
- metadata.gz: d67bfd2ea2c4c35ecfa0755e21d27d629c346d5a938f91346a28b10d39e440888b4875a13f2cb0a06c913e5420f6d53e0849d2738e5d24997beebceb6e8738f6
7
- data.tar.gz: a615411976c3426ff235d8112a64edd149d3250cee51ab18313935980fb04dc6f2d019a8a8b252abcfc40874f05f0bc936453b3e82536d9a41b5de03af254a88
6
+ metadata.gz: 8ffccced44051c01560f2fd21668634c10f01bfd82128c8b7c3e525015d7ec07afecf0186a0555a18b4496d80c4962b38ad26c43d63bb8e392330773b4df0946
7
+ data.tar.gz: 1134a9f9f6a677aa17fb84e2c83c6e1c459dfb3166d8ccc6198b8e59cb828c0ad498f16842ad2791a8e4b89dcefc751650d12f651bac72c7537b502c1b750e47
@@ -1,3 +1,3 @@
1
1
  module StaticModels
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
data/lib/static_models.rb CHANGED
@@ -97,7 +97,7 @@ module StaticModels
97
97
  super(association, opts) if defined?(super)
98
98
 
99
99
  expected_class = unless opts[:polymorphic]
100
- module_name = self.class.to_s.split("::")[0..-2].join("::")
100
+ module_name = self.to_s.split("::")[0..-2].join("::")
101
101
  [ opts[:class_name],
102
102
  "#{module_name}::#{association.to_s.camelize}",
103
103
  association.to_s.camelize,
@@ -31,5 +31,5 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "rspec", "~> 3.0"
32
32
  spec.add_development_dependency "activerecord", '~> 4.2', '>= 4.2.0'
33
33
  spec.add_development_dependency "sqlite3", "~> 1.0", ">= 1.0.0"
34
- spec.add_development_dependency "byebug", "~> 1.0", ">= 1.0.0"
34
+ spec.add_development_dependency "byebug", "~> 6.0", ">= 6.0.0"
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: static_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nubis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-28 00:00:00.000000000 Z
11
+ date: 2017-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -118,20 +118,20 @@ dependencies:
118
118
  requirements:
119
119
  - - "~>"
120
120
  - !ruby/object:Gem::Version
121
- version: '1.0'
121
+ version: '6.0'
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 1.0.0
124
+ version: 6.0.0
125
125
  type: :development
126
126
  prerelease: false
127
127
  version_requirements: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '1.0'
131
+ version: '6.0'
132
132
  - - ">="
133
133
  - !ruby/object:Gem::Version
134
- version: 1.0.0
134
+ version: 6.0.0
135
135
  description: "\n Replace your key/value classes with this.\n Define classes
136
136
  with several 'singleton' instances.\n "
137
137
  email: