setler 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -1
- data/contributors.txt +1 -0
- data/lib/setler/settings.rb +2 -0
- data/lib/setler/version.rb +1 -1
- metadata +9 -3
data/.rvmrc
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rvm 1.9.2@setler
|
1
|
+
rvm --create 1.9.2@setler
|
data/contributors.txt
CHANGED
data/lib/setler/settings.rb
CHANGED
@@ -6,6 +6,8 @@ module Setler
|
|
6
6
|
cattr_accessor :defaults
|
7
7
|
@@defaults = {}.with_indifferent_access
|
8
8
|
|
9
|
+
attr_accessible :var, :value if respond_to?(:attr_accessible)
|
10
|
+
|
9
11
|
# Get and Set variables when the calling method is the variable name
|
10
12
|
def self.method_missing(method, *args, &block)
|
11
13
|
if respond_to?(method)
|
data/lib/setler/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: setler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-04-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -133,15 +133,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
133
133
|
- - ! '>='
|
134
134
|
- !ruby/object:Gem::Version
|
135
135
|
version: '0'
|
136
|
+
segments:
|
137
|
+
- 0
|
138
|
+
hash: -1206975187554322523
|
136
139
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
140
|
none: false
|
138
141
|
requirements:
|
139
142
|
- - ! '>='
|
140
143
|
- !ruby/object:Gem::Version
|
141
144
|
version: '0'
|
145
|
+
segments:
|
146
|
+
- 0
|
147
|
+
hash: -1206975187554322523
|
142
148
|
requirements: []
|
143
149
|
rubyforge_project: setler
|
144
|
-
rubygems_version: 1.8.
|
150
|
+
rubygems_version: 1.8.25
|
145
151
|
signing_key:
|
146
152
|
specification_version: 3
|
147
153
|
summary: Settler lets you use the 'Feature Flags' pettern or add settings to models.
|