seteable 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/seteable.rb +5 -2
- data/seteable.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 067abc73b501228473ed62672258824673ede666
|
4
|
+
data.tar.gz: e010c7881553ddfef403161837a2d159b52fa1b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84218eae30a066199495f86a908c6e8e6e5868bd22e8559b68cb3e934a83cada04b71c70e87a7ad25a0cd12582e4dce2a2900cb6787f61505e6fd0bb555f3a24
|
7
|
+
data.tar.gz: 46de3669ccad9290eb6b617661549867e22a84d0d5b87376e70c65cd14b627beda3cb198f0dc3c4f9874dffec58e2f81b50199f66c1d07dfd77c1b42c96ad965
|
data/lib/seteable.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
module Seteable
|
2
2
|
def self.included(base)
|
3
|
+
base.include(InstanceMethods)
|
3
4
|
base.extend(ClassMethods)
|
4
5
|
end
|
5
6
|
|
@@ -11,8 +12,10 @@ module Seteable
|
|
11
12
|
hash.default_proc = default_proc
|
12
13
|
end
|
13
14
|
|
14
|
-
|
15
|
-
|
15
|
+
module InstanceMethods
|
16
|
+
def settings
|
17
|
+
return self.class.settings
|
18
|
+
end
|
16
19
|
end
|
17
20
|
|
18
21
|
module ClassMethods
|
data/seteable.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seteable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francesco Rodríguez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Define settings for your library
|
14
14
|
email:
|