netzke-core 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/generators/netzke_core/netzke_core_generator.rb +5 -4
- data/netzke-core.gemspec +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
@@ -6,14 +6,15 @@ class NetzkeCoreGenerator < Rails::Generator::Base
|
|
6
6
|
# m.file 'netzke.js', "public/javascripts/netzke/netzke.js"
|
7
7
|
m.file 'netzke.html.erb', "app/views/layouts/netzke.html.erb"
|
8
8
|
|
9
|
-
# FIXME: how do we avoid getting the same migration
|
9
|
+
# FIXME: how do we avoid getting the same migration timestamps?
|
10
10
|
# m.migration_template 'create_netzke_preferences.rb', "db/migrate", {:migration_file_name => "create_netzke_preferences"}
|
11
11
|
# m.migration_template 'create_netzke_layouts.rb', "db/migrate", {:migration_file_name => "create_netzke_layouts"}
|
12
12
|
|
13
|
-
# Work-around
|
13
|
+
# Work-around
|
14
14
|
time = Time.now.utc.strftime("%Y%m%d%H%M%S")
|
15
|
-
m.
|
16
|
-
m.file '
|
15
|
+
m.directory 'db/migrate'
|
16
|
+
m.file 'create_netzke_layouts.rb', "db/migrate/#{time}_create_netzke_layouts.rb"
|
17
|
+
m.file 'create_netzke_preferences.rb', "db/migrate/#{time.to_i+1}_create_netzke_preferences.rb"
|
17
18
|
end
|
18
19
|
end
|
19
20
|
end
|
data/netzke-core.gemspec
CHANGED