phcscriptcdn 49.0.0 → 50.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/phcscriptcdn/application.scss +1 -1
- data/app/controllers/phcscriptcdn/application_controller.rb +10 -5
- data/app/controllers/phcscriptcdn/script/authors_controller.rb +2 -7
- data/app/controllers/phcscriptcdn/script/extensions_controller.rb +3 -8
- data/app/controllers/phcscriptcdn/script/licences_controller.rb +2 -7
- data/app/controllers/phcscriptcdn/script/listings_controller.rb +5 -8
- data/app/controllers/phcscriptcdn/script/urls_controller.rb +1 -6
- data/app/controllers/phcscriptcdn/script/versions_controller.rb +2 -7
- data/app/models/phcscriptcdn/script/author.rb +1 -1
- data/app/models/phcscriptcdn/script/extension.rb +4 -4
- data/app/models/phcscriptcdn/script/licence.rb +3 -3
- data/app/models/phcscriptcdn/script/listing.rb +21 -4
- data/app/models/phcscriptcdn/script/url.rb +5 -5
- data/app/models/phcscriptcdn/script/version.rb +3 -3
- data/app/views/layouts/phcscriptcdn/application.html.erb +21 -22
- data/app/views/layouts/phcscriptcdn/components/backend/navigation/_top_menu.html.erb +0 -41
- data/app/views/phcscriptcdn/script/authors/_form.html.erb +8 -8
- data/app/views/phcscriptcdn/script/authors/edit.html.erb +2 -4
- data/app/views/phcscriptcdn/script/authors/index.html.erb +10 -8
- data/app/views/phcscriptcdn/script/authors/new.html.erb +2 -5
- data/app/views/phcscriptcdn/script/extensions/_form.html.erb +6 -6
- data/app/views/phcscriptcdn/script/extensions/index.html.erb +8 -7
- data/app/views/phcscriptcdn/script/licences/_form.html.erb +16 -16
- data/app/views/phcscriptcdn/script/licences/index.html.erb +13 -12
- data/app/views/phcscriptcdn/script/listings/_form.html.erb +26 -33
- data/app/views/phcscriptcdn/script/listings/edit.html.erb +1 -4
- data/app/views/phcscriptcdn/script/listings/index.html.erb +14 -13
- data/app/views/phcscriptcdn/script/listings/new.html.erb +2 -4
- data/app/views/phcscriptcdn/script/urls/_form.html.erb +8 -8
- data/app/views/phcscriptcdn/script/urls/index.html.erb +9 -8
- data/app/views/phcscriptcdn/script/versions/_form.html.erb +2 -2
- data/app/views/phcscriptcdn/script/versions/index.html.erb +7 -6
- data/db/migrate/20160821183652_create_phcscriptcdn_script_listings.rb +10 -12
- data/db/migrate/20160821183714_create_phcscriptcdn_script_authors.rb +4 -5
- data/db/migrate/20160821183735_create_phcscriptcdn_script_extensions.rb +3 -4
- data/db/migrate/20160821183805_create_phcscriptcdn_script_licences.rb +8 -10
- data/db/migrate/20160821183830_create_phcscriptcdn_script_urls.rb +4 -5
- data/db/migrate/20160821183946_create_phcscriptcdn_script_versions.rb +1 -2
- data/db/migrate/20170509002355_create_phcscriptcdn_friendly_id_slugs.rb +2 -2
- data/db/migrate/20170517064030_create_phcscriptcdn_extension_versions.rb +1 -1
- data/db/migrate/20170517064049_create_phcscriptcdn_listing_versions.rb +1 -1
- data/db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb +1 -1
- data/db/migrate/20170517064150_create_phcscriptcdn_url_versions.rb +17 -17
- data/db/migrate/20170517064208_create_phcscriptcdn_author_versions.rb +1 -1
- data/db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb +1 -1
- data/lib/phcscriptcdn/version.rb +1 -1
- metadata +2 -2
@@ -3,18 +3,17 @@ class CreatePhcscriptcdnScriptUrls < ActiveRecord::Migration[5.2]
|
|
3
3
|
|
4
4
|
create_table :phcscriptcdn_script_urls do |t|
|
5
5
|
|
6
|
-
t.string :
|
7
|
-
t.date :
|
8
|
-
t.date :
|
6
|
+
t.string :script_url
|
7
|
+
t.date :script_url_release
|
8
|
+
t.date :script_url_cdn_update
|
9
9
|
|
10
10
|
t.string :slug
|
11
11
|
|
12
12
|
t.string :user_id
|
13
|
-
t.string :org_id
|
14
13
|
|
15
14
|
t.references :listing
|
16
|
-
t.references :version
|
17
15
|
t.references :extension
|
16
|
+
t.references :version
|
18
17
|
|
19
18
|
t.timestamps
|
20
19
|
|
@@ -3,12 +3,11 @@ class CreatePhcscriptcdnScriptVersions < ActiveRecord::Migration[5.2]
|
|
3
3
|
|
4
4
|
create_table :phcscriptcdn_script_versions do |t|
|
5
5
|
|
6
|
-
t.string :
|
6
|
+
t.string :script_version_number
|
7
7
|
|
8
8
|
t.string :slug
|
9
9
|
|
10
10
|
t.string :user_id
|
11
|
-
t.string :org_id
|
12
11
|
|
13
12
|
t.timestamps
|
14
13
|
|
@@ -10,8 +10,8 @@ class CreatePhcscriptcdnFriendlyIdSlugs < ActiveRecord::Migration[5.2]
|
|
10
10
|
end
|
11
11
|
|
12
12
|
add_index :phcscriptcdn_friendly_id_slugs, :sluggable_id
|
13
|
-
add_index :phcscriptcdn_friendly_id_slugs, [:slug, :sluggable_type], name: '
|
14
|
-
add_index :phcscriptcdn_friendly_id_slugs, [:slug, :sluggable_type, :scope], name: '
|
13
|
+
add_index :phcscriptcdn_friendly_id_slugs, [:slug, :sluggable_type], name: 'scriptcdnpro_fri_id_slugable_type', length: { slug: 140, sluggable_type: 50 }
|
14
|
+
add_index :phcscriptcdn_friendly_id_slugs, [:slug, :sluggable_type, :scope], name: 'scriptcdnpro_fri_id_slugable_scope_type', length: { slug: 70, sluggable_type: 50, scope: 70 }, unique: true
|
15
15
|
add_index :phcscriptcdn_friendly_id_slugs, :sluggable_type
|
16
16
|
|
17
17
|
end
|
@@ -11,7 +11,7 @@ class CreatePhcscriptcdnExtensionVersions < ActiveRecord::Migration[5.2]
|
|
11
11
|
t.datetime :created_at
|
12
12
|
end
|
13
13
|
|
14
|
-
add_index :phcscriptcdn_extension_versions, %i(item_type item_id), :name => '
|
14
|
+
add_index :phcscriptcdn_extension_versions, %i(item_type item_id), :name => 'scriptcdnpro_ext_versions'
|
15
15
|
|
16
16
|
end
|
17
17
|
end
|
@@ -11,7 +11,7 @@ class CreatePhcscriptcdnListingVersions < ActiveRecord::Migration[5.2]
|
|
11
11
|
t.datetime :created_at
|
12
12
|
end
|
13
13
|
|
14
|
-
add_index :phcscriptcdn_listing_versions, %i(item_type item_id), :name => '
|
14
|
+
add_index :phcscriptcdn_listing_versions, %i(item_type item_id), :name => 'scriptcdnpro_listing_versions'
|
15
15
|
|
16
16
|
end
|
17
17
|
end
|
@@ -11,7 +11,7 @@ class CreatePhcscriptcdnScriptversionVersions < ActiveRecord::Migration[5.2]
|
|
11
11
|
t.datetime :created_at
|
12
12
|
end
|
13
13
|
|
14
|
-
add_index :phcscriptcdn_scriptversion_versions, %i(item_type item_id), :name => '
|
14
|
+
add_index :phcscriptcdn_scriptversion_versions, %i(item_type item_id), :name => 'scriptcdnpro_scriptversion_versions'
|
15
15
|
|
16
16
|
end
|
17
17
|
end
|
@@ -1,17 +1,17 @@
|
|
1
|
-
class CreatePhcscriptcdnUrlVersions < ActiveRecord::Migration[5.2]
|
2
|
-
TEXT_BYTES = 1_073_741_823
|
3
|
-
def change
|
4
|
-
|
5
|
-
create_table :phcscriptcdn_url_versions do |t|
|
6
|
-
t.string :item_type, {:null=>false}
|
7
|
-
t.integer :item_id, null: false
|
8
|
-
t.string :event, null: false
|
9
|
-
t.string :whodunnit
|
10
|
-
t.text :object, limit: TEXT_BYTES
|
11
|
-
t.datetime :created_at
|
12
|
-
end
|
13
|
-
|
14
|
-
add_index :phcscriptcdn_url_versions, %i(item_type item_id), :name => '
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|
1
|
+
class CreatePhcscriptcdnUrlVersions < ActiveRecord::Migration[5.2]
|
2
|
+
TEXT_BYTES = 1_073_741_823
|
3
|
+
def change
|
4
|
+
|
5
|
+
create_table :phcscriptcdn_url_versions do |t|
|
6
|
+
t.string :item_type, {:null=>false}
|
7
|
+
t.integer :item_id, null: false
|
8
|
+
t.string :event, null: false
|
9
|
+
t.string :whodunnit
|
10
|
+
t.text :object, limit: TEXT_BYTES
|
11
|
+
t.datetime :created_at
|
12
|
+
end
|
13
|
+
|
14
|
+
add_index :phcscriptcdn_url_versions, %i(item_type item_id), :name => 'scriptcdnpro_url_versions'
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
@@ -11,7 +11,7 @@ class CreatePhcscriptcdnAuthorVersions < ActiveRecord::Migration[5.2]
|
|
11
11
|
t.datetime :created_at
|
12
12
|
end
|
13
13
|
|
14
|
-
add_index :phcscriptcdn_author_versions, %i(item_type item_id), :name => '
|
14
|
+
add_index :phcscriptcdn_author_versions, %i(item_type item_id), :name => 'scriptcdnpro_author_versions'
|
15
15
|
|
16
16
|
end
|
17
17
|
end
|
@@ -11,7 +11,7 @@ class CreatePhcscriptcdnLicenceVersions < ActiveRecord::Migration[5.2]
|
|
11
11
|
t.datetime :created_at
|
12
12
|
end
|
13
13
|
|
14
|
-
add_index :phcscriptcdn_licence_versions, %i(item_type item_id), :name => '
|
14
|
+
add_index :phcscriptcdn_licence_versions, %i(item_type item_id), :name => 'scriptcdnpro_licence_versions'
|
15
15
|
|
16
16
|
end
|
17
17
|
end
|
data/lib/phcscriptcdn/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcscriptcdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 50.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|