tkh_content 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/generators/tkh_content/create_or_update_migrations/create_or_update_migrations_generator.rb +0 -1
- data/lib/generators/tkh_content/create_or_update_migrations/templates/create_pages.rb +1 -1
- data/lib/tkh_content/version.rb +1 -1
- metadata +3 -4
- data/lib/generators/tkh_content/create_or_update_migrations/templates/add_short_title_to_pages.rb +0 -6
data/CHANGELOG.md
CHANGED
data/lib/generators/tkh_content/create_or_update_migrations/create_or_update_migrations_generator.rb
CHANGED
@@ -20,7 +20,6 @@ module TkhContent
|
|
20
20
|
migration_template "create_pages.rb", "db/migrate/create_pages.rb"
|
21
21
|
migration_template "add_author_to_pages.rb", "db/migrate/add_author_to_pages.rb"
|
22
22
|
migration_template "add_parent_id_to_pages.rb", "db/migrate/add_parent_id_to_pages.rb"
|
23
|
-
migration_template "add_short_title_to_pages.rb", "db/migrate/add_short_title_to_pages.rb"
|
24
23
|
end
|
25
24
|
|
26
25
|
end
|
@@ -10,7 +10,7 @@ class CreatePages < ActiveRecord::Migration
|
|
10
10
|
t.timestamps
|
11
11
|
end
|
12
12
|
add_index :pages, :published_at
|
13
|
-
Page.create_translation_table! :title => :string, :description => :text, :body => :text
|
13
|
+
Page.create_translation_table! :title => :string, :short_title => :string, :description => :text, :body => :text
|
14
14
|
end
|
15
15
|
|
16
16
|
def self.down
|
data/lib/tkh_content/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tkh_content
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -135,7 +135,6 @@ files:
|
|
135
135
|
- lib/generators/tkh_content/create_or_update_migrations/create_or_update_migrations_generator.rb
|
136
136
|
- lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
|
137
137
|
- lib/generators/tkh_content/create_or_update_migrations/templates/add_parent_id_to_pages.rb
|
138
|
-
- lib/generators/tkh_content/create_or_update_migrations/templates/add_short_title_to_pages.rb
|
139
138
|
- lib/generators/tkh_content/create_or_update_migrations/templates/create_pages.rb
|
140
139
|
- lib/tasks/tkh_content_tasks.rake
|
141
140
|
- lib/tkh_content/version.rb
|
@@ -188,7 +187,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
188
187
|
version: '0'
|
189
188
|
segments:
|
190
189
|
- 0
|
191
|
-
hash:
|
190
|
+
hash: 2751770441270569209
|
192
191
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
192
|
none: false
|
194
193
|
requirements:
|
@@ -197,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
196
|
version: '0'
|
198
197
|
segments:
|
199
198
|
- 0
|
200
|
-
hash:
|
199
|
+
hash: 2751770441270569209
|
201
200
|
requirements: []
|
202
201
|
rubyforge_project:
|
203
202
|
rubygems_version: 1.8.23
|