optimacms 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ 28437
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optimacms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Ivak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-10 00:00:00.000000000 Z
11
+ date: 2016-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -412,10 +412,6 @@ files:
412
412
  - config/locales/simple_form.ru.yml
413
413
  - config/routes.rb
414
414
  - config/tinymce.yml
415
- - db/migrate/20150220161150_add_attachment_photo_to_mediafiles.rb
416
- - db/migrate/20150503213839_devise_create_optimacms_cms_users.rb
417
- - db/migrate/20150610222026_change_meta_description_for_pages.rb
418
- - db/migrate/20150610225422_add_index_name_to_pages.rb
419
415
  - lib/optimacms.rb
420
416
  - lib/optimacms/admin_menu/admin_menu.rb
421
417
  - lib/optimacms/concerns/admin_menu/admin_menu.rb
@@ -531,7 +527,6 @@ files:
531
527
  - spec/dummy/config/routes.rb
532
528
  - spec/dummy/config/secrets.yml
533
529
  - spec/dummy/config/tinymce.yml
534
- - spec/dummy/db/migrate/20150504000518_devise_create_users.rb
535
530
  - spec/dummy/db/schema.rb
536
531
  - spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
537
532
  - spec/dummy/lib/templates/haml/scaffold/_form.html.haml
@@ -2107,6 +2102,7 @@ files:
2107
2102
  - spec/dummy/tmp/cache/assets/development/sprockets/eff0bd8c351c3d841aca4a3c97a0a416
2108
2103
  - spec/dummy/tmp/cache/assets/development/sprockets/f0bf1b2ced9ebcdae5e38cae6e7cce86
2109
2104
  - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
2105
+ - spec/dummy/tmp/pids/server.pid
2110
2106
  - spec/factories/page.rb
2111
2107
  - spec/models/page_route_service_spec.rb
2112
2108
  - spec/models/page_spec.rb
@@ -2142,7 +2138,6 @@ test_files:
2142
2138
  - spec/dummy/bin/setup
2143
2139
  - spec/dummy/bin/rails
2144
2140
  - spec/dummy/bin/bundle
2145
- - spec/dummy/db/migrate/20150504000518_devise_create_users.rb
2146
2141
  - spec/dummy/db/schema.rb
2147
2142
  - spec/dummy/public/uploads/avatar2.jpg
2148
2143
  - spec/dummy/public/uploads/cat_red.jpg
@@ -3607,6 +3602,7 @@ test_files:
3607
3602
  - spec/dummy/app/views/workers/show_notfound.html.haml
3608
3603
  - spec/dummy/README.rdoc
3609
3604
  - spec/dummy/config.ru
3605
+ - spec/dummy/tmp/pids/server.pid
3610
3606
  - spec/dummy/tmp/cache/assets/development/sass/e78863fbefa25b9b3ada284552103b751a61c1c3/font-awesome.css.erbc
3611
3607
  - spec/dummy/tmp/cache/assets/development/sass/edeefea066f37bf37a09beb3312185d2b6063947/_panels.scssc
3612
3608
  - spec/dummy/tmp/cache/assets/development/sass/edeefea066f37bf37a09beb3312185d2b6063947/_center-block.scssc
@@ -1,11 +0,0 @@
1
- class AddAttachmentPhotoToMediafiles < ActiveRecord::Migration
2
- def self.up
3
- change_table :cms_mediafiles do |t|
4
- t.attachment :photo
5
- end
6
- end
7
-
8
- def self.down
9
- remove_attachment :cms_mediafiles, :photo
10
- end
11
- end
@@ -1,42 +0,0 @@
1
- class DeviseCreateOptimacmsCmsUsers < ActiveRecord::Migration
2
- def change
3
- create_table(:optimacms_cms_users) do |t|
4
- ## Database authenticatable
5
- t.string :email, null: false, default: ""
6
- t.string :encrypted_password, null: false, default: ""
7
-
8
- ## Recoverable
9
- t.string :reset_password_token
10
- t.datetime :reset_password_sent_at
11
-
12
- ## Rememberable
13
- t.datetime :remember_created_at
14
-
15
- ## Trackable
16
- t.integer :sign_in_count, default: 0, null: false
17
- t.datetime :current_sign_in_at
18
- t.datetime :last_sign_in_at
19
- t.string :current_sign_in_ip
20
- t.string :last_sign_in_ip
21
-
22
- ## Confirmable
23
- # t.string :confirmation_token
24
- # t.datetime :confirmed_at
25
- # t.datetime :confirmation_sent_at
26
- # t.string :unconfirmed_email # Only if using reconfirmable
27
-
28
- ## Lockable
29
- # t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts
30
- # t.string :unlock_token # Only if unlock strategy is :email or :both
31
- # t.datetime :locked_at
32
-
33
-
34
- t.timestamps
35
- end
36
-
37
- add_index :optimacms_cms_users, :email, unique: true
38
- add_index :optimacms_cms_users, :reset_password_token, unique: true
39
- # add_index :optimacms_cms_users, :confirmation_token, unique: true
40
- # add_index :optimacms_cms_users, :unlock_token, unique: true
41
- end
42
- end
@@ -1,13 +0,0 @@
1
- class ChangeMetaDescriptionForPages < ActiveRecord::Migration
2
- def up
3
- change_table :cms_pages_translation do |t|
4
- t.change :meta_description, :text
5
- end
6
- end
7
-
8
- def down
9
- change_table :cms_pages_translation do |t|
10
- t.change :meta_description, :string
11
- end
12
- end
13
- end
@@ -1,11 +0,0 @@
1
- class AddIndexNameToPages < ActiveRecord::Migration
2
-
3
- def up
4
- add_index :cms_pages, :name
5
-
6
- end
7
-
8
- def down
9
- remove_index :cms_pages, :name
10
- end
11
- end
@@ -1,42 +0,0 @@
1
- class DeviseCreateUsers < ActiveRecord::Migration
2
- def change
3
- create_table(:users) do |t|
4
- ## Database authenticatable
5
- t.string :email, null: false, default: ""
6
- t.string :encrypted_password, null: false, default: ""
7
-
8
- ## Recoverable
9
- t.string :reset_password_token
10
- t.datetime :reset_password_sent_at
11
-
12
- ## Rememberable
13
- t.datetime :remember_created_at
14
-
15
- ## Trackable
16
- t.integer :sign_in_count, default: 0, null: false
17
- t.datetime :current_sign_in_at
18
- t.datetime :last_sign_in_at
19
- t.string :current_sign_in_ip
20
- t.string :last_sign_in_ip
21
-
22
- ## Confirmable
23
- # t.string :confirmation_token
24
- # t.datetime :confirmed_at
25
- # t.datetime :confirmation_sent_at
26
- # t.string :unconfirmed_email # Only if using reconfirmable
27
-
28
- ## Lockable
29
- # t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts
30
- # t.string :unlock_token # Only if unlock strategy is :email or :both
31
- # t.datetime :locked_at
32
-
33
-
34
- t.timestamps
35
- end
36
-
37
- add_index :users, :email, unique: true
38
- add_index :users, :reset_password_token, unique: true
39
- # add_index :users, :confirmation_token, unique: true
40
- # add_index :users, :unlock_token, unique: true
41
- end
42
- end