seteable 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/seteable.rb +5 -2
  3. data/seteable.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 012a9e874801eb6d88544969f8d64e71e19872d3
4
- data.tar.gz: 240c9999adab94402f282c3cc4e30d71370b6d26
3
+ metadata.gz: 067abc73b501228473ed62672258824673ede666
4
+ data.tar.gz: e010c7881553ddfef403161837a2d159b52fa1b2
5
5
  SHA512:
6
- metadata.gz: 469a3e2ca1967edcbe92011bc5d3f94e2a3ab1e6c445f10c50316665e48afbd920de6e8b5aa0c3981c9a77ff6e25fad5adcd14ee15053d69c8e7438d6ded053e
7
- data.tar.gz: 891dab9df2edc34f98e5d1747edf6e5327e632d1813855efe1b31141a4be6eaa8e6e359fd4fdc80f22fc0a8fa560cdfe559c5efc21fc671ba05605ac12a9be4c
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
- def settings
15
- return self.class.settings
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "seteable"
3
- s.version = "1.1.0"
3
+ s.version = "1.2.0"
4
4
  s.summary = "Define settings for your library"
5
5
  s.description = s.summary
6
6
  s.authors = ["Francesco Rodríguez"]
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.1.0
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-06 00:00:00.000000000 Z
11
+ date: 2015-10-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Define settings for your library
14
14
  email: