trusty-cms 2.0.4.pre.beta → 2.0.5.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/db/migrate/001_create_radiant_tables.rb +1 -0
- data/db/migrate/20100805155020_convert_page_metas.rb +0 -13
- data/db/migrate/20110902203823_add_allowed_children_cache_to_pages.rb +0 -4
- data/db/migrate/20120209231801_change_pages_allowed_children_cache_to_text.rb +0 -1
- data/lib/trusty_cms.rb +1 -1
- metadata +2 -3
- data/db/migrate/019_add_salt_to_users.rb +0 -11
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDY1ZGU1YzIyMTI1NWVkMjNjOWM2NTczZDY0NjYxYjgwMWQwOTdiMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjA5YjAzNmRkNzk3NGNhOTlmOTAxYzRlMDY4YTFkY2ExY2Q0OTA2NA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Yjk4OGU5MGQ5MWU3Mzg0MWQwNTgzY2I3MzcwNTk5ODg0NGI0YTdhMjgwNTkw
|
10
|
+
ZGQ0YjRlMTc2NGJmODk0ZGFjZjJhNWM0ZjkyOWI0NTYzZjhlZDFjYjM0MjY1
|
11
|
+
ZDYxMjJhMzE0MGMxNmZiM2ViMTBjMGNjN2FiZTlkMjFhY2U2NDc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmM3YTFlYmJhYzNmMzhjMmI1ZDE5MTRkZGIwYjQ5MmFhMjgwOWUzNjY1ZGE1
|
14
|
+
ZmM0MTljNmQ3MGNhMGFlODAwNGExNTkyMTVkODM4MDRiZTU4ZDE4ZjAzOTll
|
15
|
+
ODkzMzA3MmI1ZWE3NDU1ODY5MDU4ZmM3Y2RkYzUyZjZiYzg4M2I=
|
data/Gemfile.lock
CHANGED
@@ -59,6 +59,7 @@ class CreateRadiantTables < ActiveRecord::Migration
|
|
59
59
|
t.column "updated_at", :datetime
|
60
60
|
t.column "created_by", :integer
|
61
61
|
t.column "updated_by", :integer
|
62
|
+
t.column "salt", :string
|
62
63
|
end
|
63
64
|
add_index "users", ["login"], :name => "login", :unique => true
|
64
65
|
|
@@ -1,24 +1,11 @@
|
|
1
1
|
class ConvertPageMetas < ActiveRecord::Migration
|
2
2
|
def self.up
|
3
|
-
# following add and remove column enables running this migration
|
4
|
-
# when upgrading radiant with allowed_children_cache added to Page model
|
5
|
-
add_column :pages, :allowed_children_cache, :text
|
6
|
-
Page.all.each do |page|
|
7
|
-
page.fields.create(:name => 'Keywords', :content => page.keywords)
|
8
|
-
page.fields.create(:name => 'Description', :content => page.description)
|
9
|
-
end
|
10
3
|
remove_column :pages, :keywords
|
11
4
|
remove_column :pages, :description
|
12
|
-
remove_column :pages, :allowed_children_cache
|
13
5
|
end
|
14
6
|
|
15
7
|
def self.down
|
16
8
|
add_column :pages, :description, :string
|
17
9
|
add_column :pages, :keywords, :string
|
18
|
-
Page.all.each do |page|
|
19
|
-
page.description = page.field('description').content
|
20
|
-
page.keywords = page.field('keywords').content
|
21
|
-
page.save
|
22
|
-
end
|
23
10
|
end
|
24
11
|
end
|
@@ -1,10 +1,6 @@
|
|
1
1
|
class AddAllowedChildrenCacheToPages < ActiveRecord::Migration
|
2
2
|
def self.up
|
3
3
|
add_column :pages, :allowed_children_cache, :text
|
4
|
-
Page.reset_column_information
|
5
|
-
Page.find_each do |page|
|
6
|
-
page.save # update the allowed_children_cache
|
7
|
-
end
|
8
4
|
end
|
9
5
|
|
10
6
|
def self.down
|
data/lib/trusty_cms.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5.pre.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TrustyCms CMS dev team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tzinfo
|
@@ -588,7 +588,6 @@ files:
|
|
588
588
|
- db/migrate/016_add_sessions.rb
|
589
589
|
- db/migrate/017_rename_created_by_updated_by_columns.rb
|
590
590
|
- db/migrate/018_add_description_and_keywords_to_pages.rb
|
591
|
-
- db/migrate/019_add_salt_to_users.rb
|
592
591
|
- db/migrate/020_add_session_info_to_users.rb
|
593
592
|
- db/migrate/021_remove_session_expire_from_users.rb
|
594
593
|
- db/migrate/20081203140407_add_indexes.rb
|