settler 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/VERSION +1 -1
- data/generators/settler/settler_generator.rb +2 -2
- data/settler.gemspec +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
@@ -1,13 +1,13 @@
|
|
1
1
|
class SettlerGenerator < Rails::Generator::NamedBase
|
2
2
|
def initialize(runtime_args, runtime_options = {})
|
3
|
-
runtime_args << '
|
3
|
+
runtime_args << 'add_settings_table' if runtime_args.empty?
|
4
4
|
super
|
5
5
|
end
|
6
6
|
|
7
7
|
def manifest
|
8
8
|
record do |m|
|
9
9
|
m.file "settler.yml", "config/settler.yml"
|
10
|
-
m.migration_template 'migration.rb', 'db/migrate'
|
10
|
+
m.migration_template 'migration.rb', 'db/migrate'
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
data/settler.gemspec
CHANGED