stephencelis-kvc 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +7 -0
- data/Manifest.txt +1 -1
- data/README.txt +3 -3
- data/{app/models → lib}/kvc/settings.rb +1 -1
- data/lib/kvc.rb +1 -1
- data/uninstall.rb +2 -2
- metadata +3 -3
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
data/README.txt
CHANGED
@@ -11,8 +11,8 @@ mutable app settings in the database.
|
|
11
11
|
|
12
12
|
== FEATURES/PROBLEMS
|
13
13
|
|
14
|
-
|
15
|
-
|
14
|
+
* Transparent: no generators or migrations to run.
|
15
|
+
* Powerful: quick access; automatic updates; scales quickly.
|
16
16
|
|
17
17
|
For more rigidity/safety: http://github.com/stephencelis/acts_as_singleton
|
18
18
|
|
@@ -52,7 +52,7 @@ If need be, validate specific key values in an initializer:
|
|
52
52
|
|
53
53
|
== REQUIREMENTS
|
54
54
|
|
55
|
-
|
55
|
+
* Rails 2.3.2 or greater.
|
56
56
|
|
57
57
|
|
58
58
|
== INSTALL
|
data/lib/kvc.rb
CHANGED
data/uninstall.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
require Rails.root.join("config", "environment")
|
2
2
|
|
3
3
|
if KVC::Settings.table_exists?
|
4
|
-
print "Also drop the KVC table? [
|
5
|
-
if STDIN.gets.chomp =~ /^
|
4
|
+
print "Also drop the KVC table? [yN] "
|
5
|
+
if STDIN.gets.chomp =~ /^y)/i
|
6
6
|
ActiveRecord::Base.connection.drop_table :kvc_settings
|
7
7
|
puts "Successfully dropped KVC::Settings."
|
8
8
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stephencelis-kvc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Celis
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-04-
|
12
|
+
date: 2009-04-04 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -38,8 +38,8 @@ files:
|
|
38
38
|
- Manifest.txt
|
39
39
|
- README.txt
|
40
40
|
- Rakefile
|
41
|
-
- app/models/kvc/settings.rb
|
42
41
|
- lib/kvc.rb
|
42
|
+
- lib/kvc/settings.rb
|
43
43
|
- lib/kvc/settings_proxy.rb
|
44
44
|
- tasks/kvc_tasks.rake
|
45
45
|
- test/kvc_test.rb
|