phcscriptcdnpro 1.4.2 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcscriptcdnpro/scriptcdn/authors_controller.rb +12 -12
- data/app/controllers/phcscriptcdnpro/scriptcdn/mains_controller.rb +67 -0
- data/app/controllers/phcscriptcdnpro/scriptcdn/urls_controller.rb +85 -0
- data/app/controllers/phcscriptcdnpro/scriptcdn/versions_controller.rb +63 -0
- data/app/helpers/phcscriptcdnpro/scriptcdn/mains_helper.rb +4 -0
- data/app/helpers/phcscriptcdnpro/scriptcdn/urls_helper.rb +4 -0
- data/app/helpers/phcscriptcdnpro/scriptcdn/versions_helper.rb +4 -0
- data/app/models/phcscriptcdnpro/scriptcdn/author.rb +1 -1
- data/app/models/phcscriptcdnpro/scriptcdn/{script.rb → main.rb} +3 -3
- data/app/models/phcscriptcdnpro/scriptcdn/url.rb +9 -0
- data/app/models/phcscriptcdnpro/scriptcdn/version.rb +10 -0
- data/app/views/phcscriptcdnpro/scriptcdn/mains/_form.html.erb +18 -0
- data/app/views/phcscriptcdnpro/scriptcdn/{scripts → mains}/edit.html.erb +3 -3
- data/app/views/phcscriptcdnpro/scriptcdn/mains/index.html.erb +66 -0
- data/app/views/phcscriptcdnpro/scriptcdn/{scripts → mains}/new.html.erb +3 -3
- data/app/views/phcscriptcdnpro/scriptcdn/mains/show.html.erb +19 -0
- data/app/views/phcscriptcdnpro/scriptcdn/urls/_form.html.erb +14 -0
- data/app/views/phcscriptcdnpro/scriptcdn/urls/_formpatch.html.erb +14 -0
- data/app/views/phcscriptcdnpro/scriptcdn/{scripturls → urls}/edit.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/{scripturls → urls}/index.html.erb +10 -17
- data/app/views/phcscriptcdnpro/scriptcdn/{scripturls → urls}/new.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/urls/show.html.erb +9 -0
- data/app/views/phcscriptcdnpro/scriptcdn/versions/_form.html.erb +21 -0
- data/app/views/phcscriptcdnpro/scriptcdn/{scriptversions → versions}/edit.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/{scriptversions → versions}/index.html.erb +5 -5
- data/app/views/phcscriptcdnpro/scriptcdn/{scriptversions → versions}/new.html.erb +1 -1
- data/config/routes.rb +9 -0
- data/db/migrate/20160617181959_create_phcscriptcdnpro_scriptcdn_authors.rb +5 -1
- data/db/migrate/20160618200955_create_phcscriptcdnpro_scriptcdn_urls.rb +19 -0
- data/db/migrate/20160618201418_create_phcscriptcdnpro_scriptcdn_mains.rb +20 -0
- data/db/migrate/20160618201703_create_phcscriptcdnpro_scriptcdn_versions.rb +15 -0
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +29 -25
- data/app/controllers/phcscriptcdnpro/scriptcdn/scripts_controller.rb +0 -73
- data/app/controllers/phcscriptcdnpro/scriptcdn/scripturls_controller.rb +0 -85
- data/app/controllers/phcscriptcdnpro/scriptcdn/scriptversions_controller.rb +0 -64
- data/app/models/phcscriptcdnpro/scriptcdn/scripturl.rb +0 -15
- data/app/models/phcscriptcdnpro/scriptcdn/scriptversion.rb +0 -15
- data/app/views/phcscriptcdnpro/scriptcdn/scripts/_form.html.erb +0 -22
- data/app/views/phcscriptcdnpro/scriptcdn/scripts/index.html.erb +0 -66
- data/app/views/phcscriptcdnpro/scriptcdn/scripts/show.html.erb +0 -20
- data/app/views/phcscriptcdnpro/scriptcdn/scripturls/_form.html.erb +0 -22
- data/app/views/phcscriptcdnpro/scriptcdn/scripturls/_formpatch.html.erb +0 -22
- data/app/views/phcscriptcdnpro/scriptcdn/scriptversions/_form.html.erb +0 -14
- data/db/migrate/20160222025658_create_phcscriptcdnpro_scriptcdn_scripts.rb +0 -14
- data/db/migrate/20160222030223_create_phcscriptcdnpro_scriptcdn_scriptversions.rb +0 -11
- data/db/migrate/20160222030446_create_phcscriptcdnpro_scriptcdn_scripturls.rb +0 -15
@@ -1,15 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproScriptcdnScripturls < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
create_table :phcscriptcdnpro_scriptcdn_scripturls do |t|
|
4
|
-
|
5
|
-
t.string :scrpturlphc
|
6
|
-
t.string :scrpturltype
|
7
|
-
|
8
|
-
t.references :scriptversion, index: true
|
9
|
-
t.references :script, index: true
|
10
|
-
|
11
|
-
t.timestamps null: false
|
12
|
-
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|