acts_as_publicable 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.textile CHANGED
@@ -46,6 +46,7 @@ It will generate a simple migration that will add the neeeded field.
46
46
 
47
47
  h2. Roadmap
48
48
 
49
+ * checking input for generator
49
50
  * comment code
50
51
  * add a date for handling a better publishing concept
51
52
 
@@ -1,3 +1,3 @@
1
1
  module ActsAsPublicable
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -3,7 +3,7 @@ class ActsAsPublicableGenerator < Rails::Generators::NamedBase
3
3
  source_root File.expand_path('../templates', __FILE__)
4
4
 
5
5
  def manifest
6
- migration_template 'migration.rb', "db/migrate/add_publicable_to_#{table_name}"
6
+ migration_template 'migration.rb', "db/migrate/add_published_to_#{table_name}"
7
7
  end
8
8
 
9
9
  def self.next_migration_number(path)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: acts_as_publicable
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - lucapette