materialist 0.0.3 → 0.0.4

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: 1816eac41c61b0649d368f678affea67e2e58b01
4
- data.tar.gz: 326dee47ecc2f228212ffd474b153eb2bd5de7b9
3
+ metadata.gz: 30db9921aa96b1a36a26893c7307a0101f251fcc
4
+ data.tar.gz: 8d18da5698d852c385bc37e9884c096ac0792620
5
5
  SHA512:
6
- metadata.gz: 9443b581e97f752ef7d70922d38625e1019f825bb3bd9abcd0522143de8bea8cd947d0c7fa01b5abdf534611ccf24a3937c353e8e3b8e916edfe3efa976de16d
7
- data.tar.gz: acd16b5c0a34c3b2be365223f67d92c5506c927f0fd47efc7be3db48118810eb0b764395d30f66ef7288da75741b7e71be88b4caf3274eba873e56e0e3a5057a
6
+ metadata.gz: eff72d3f1c95a140244848e98f3024e4565b30b909b61e535acb9d5b0d59f4e531b81525f3b50fbc1123e2e072971ac506528870c2f001eaf8c69de647faf969
7
+ data.tar.gz: 97283f7df24d20f69d2a0b5720d493a188ff1fdb1f0ec4994e70650f0710a65ff695ad68eee34f6c1d99541847f21e5557dba6b7af9d119ef86ad33442cce73f
data/lib/materialist.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Materialist
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -123,7 +123,7 @@ module Materialist
123
123
  end
124
124
 
125
125
  def model_class
126
- options.fetch(:model_class).to_s.classify.constantize
126
+ options.fetch(:model_class).to_s.camelize.constantize
127
127
  end
128
128
 
129
129
  def attributes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: materialist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mo Valipour
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-06 00:00:00.000000000 Z
11
+ date: 2017-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq