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 CHANGED
@@ -1,3 +1,6 @@
1
+ v0.1.3
2
+ Generators fixed
3
+
1
4
  v0.1.2
2
5
  Fixed the bug with <widget>_class_definition returning empty string on sequential loading.
3
6
 
@@ -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 IDs?
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 for now
13
+ # Work-around
14
14
  time = Time.now.utc.strftime("%Y%m%d%H%M%S")
15
- m.file 'create_netzke_layouts.rb', "db/migrate/#{time}_create_netzke_layouts"
16
- m.file 'create_netzke_preferences.rb', "db/migrate/#{time.to_i+1}_create_netzke_preferences"
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{netzke-core}
5
- s.version = "0.1.2"
5
+ s.version = "0.1.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Sergei Kozlov"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netzke-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergei Kozlov