primalize 0.3.0 → 0.3.1

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: 448491f1045de5e13c32b1654908a81aef3a4088
4
- data.tar.gz: 0fabc3d5579b65702bf1b697a515ff5c7c01e41a
3
+ metadata.gz: e7ce9cc97150dfea980be1ffca4e85e42d323baf
4
+ data.tar.gz: b0c0e1c1fe5fcd201e9582f046a3770cc70dd493
5
5
  SHA512:
6
- metadata.gz: e00310261eb2d595fbab0242da634142a8ef3e31a62bcca8ddeb1b5cc71021cad5cf697a8e386ce5ad62e64d7223a12cd5ef825b5db9b6897581ff3f26735bb1
7
- data.tar.gz: 03ed8baf130751558ae80948c6562fb0f61b2906edc9869a3f16168b88abf7f21ae6c32a541aeb246b8a3960fc8fa827ff6f44a71252472a50bdb4c4482c9eec
6
+ metadata.gz: 2e67761f45d105eec6da0689cda6539846bc790c974c2051053544689b38ac73e9a77e1e7aaafc838e0f35bf6f03b199157e2288c81a9ea3225ffe9d13bddef1
7
+ data.tar.gz: 4a8167a0d20836c66ad17b1ade012ed40da04efe07a31032ee639c383e2fb282c33bbfb7d537302a96a1b69d977b88de116d1df5770fb9346f9af0a38459d2fa
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ Gemfile.lock
@@ -11,7 +11,11 @@ module Primalize
11
11
  class << self
12
12
 
13
13
  def attributes attrs={}
14
- @attributes ||= {}
14
+ @attributes ||= if self.equal? Primalize::Single
15
+ {}
16
+ else
17
+ superclass.attributes.dup
18
+ end
15
19
 
16
20
  add_attributes attrs
17
21
 
@@ -1,3 +1,3 @@
1
1
  module Primalize
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: primalize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Gaskins
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-18 00:00:00.000000000 Z
11
+ date: 2017-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -78,7 +78,6 @@ files:
78
78
  - ".travis.yml"
79
79
  - CODE_OF_CONDUCT.md
80
80
  - Gemfile
81
- - Gemfile.lock
82
81
  - LICENSE.txt
83
82
  - README.md
84
83
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,43 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- primalize (0.2.1)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- coderay (1.1.2)
10
- diff-lcs (1.3)
11
- method_source (0.8.2)
12
- pry (0.10.4)
13
- coderay (~> 1.1.0)
14
- method_source (~> 0.8.1)
15
- slop (~> 3.4)
16
- rake (10.5.0)
17
- rspec (3.6.0)
18
- rspec-core (~> 3.6.0)
19
- rspec-expectations (~> 3.6.0)
20
- rspec-mocks (~> 3.6.0)
21
- rspec-core (3.6.0)
22
- rspec-support (~> 3.6.0)
23
- rspec-expectations (3.6.0)
24
- diff-lcs (>= 1.2.0, < 2.0)
25
- rspec-support (~> 3.6.0)
26
- rspec-mocks (3.6.0)
27
- diff-lcs (>= 1.2.0, < 2.0)
28
- rspec-support (~> 3.6.0)
29
- rspec-support (3.6.0)
30
- slop (3.6.0)
31
-
32
- PLATFORMS
33
- ruby
34
-
35
- DEPENDENCIES
36
- bundler (~> 1.16.a)
37
- primalize!
38
- pry
39
- rake (~> 10.0)
40
- rspec (~> 3.0)
41
-
42
- BUNDLED WITH
43
- 1.16.0.pre.2