phcscriptcdnpro 42.0.0 → 43.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +1 -1
- data/Rakefile +1 -3
- data/lib/phcscriptcdnpro/engine.rb +2 -2
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +79 -119
- data/config/initializers/devise.rb +0 -287
- data/config/initializers/friendly_id.rb +0 -92
- data/config/initializers/locale.rb +0 -10
- data/config/initializers/paper_trail.rb +0 -1
- data/config/locales/devise.en.yml +0 -64
- data/db/migrate/20160821183652_create_phcscriptcdnpro_script_listings.rb +0 -35
- data/db/migrate/20160821183714_create_phcscriptcdnpro_script_authors.rb +0 -23
- data/db/migrate/20160821183735_create_phcscriptcdnpro_script_extensions.rb +0 -20
- data/db/migrate/20160821183805_create_phcscriptcdnpro_script_licences.rb +0 -27
- data/db/migrate/20160821183830_create_phcscriptcdnpro_script_urls.rb +0 -24
- data/db/migrate/20160821183946_create_phcscriptcdnpro_script_versions.rb +0 -18
- data/db/migrate/20170509002355_create_phcscriptcdnpro_friendly_id_slugs.rb +0 -18
- data/db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb +0 -17
- data/db/migrate/20170517064049_create_phcscriptcdnpro_listing_versions.rb +0 -17
- data/db/migrate/20170517064114_create_phcscriptcdnpro_scriptversion_versions.rb +0 -17
- data/db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb +0 -17
- data/db/migrate/20170517064208_create_phcscriptcdnpro_author_versions.rb +0 -17
- data/db/migrate/20170517064427_create_phcscriptcdnpro_licence_versions.rb +0 -17
@@ -1,35 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproScriptListings < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
|
4
|
-
create_table :phcscriptcdnpro_script_listings do |t|
|
5
|
-
|
6
|
-
t.string :scripttitle
|
7
|
-
t.text :scriptdescription
|
8
|
-
t.string :descriptionsource
|
9
|
-
|
10
|
-
t.string :scriptwebsite
|
11
|
-
t.string :scripttwitter
|
12
|
-
t.string :scriptgithub
|
13
|
-
|
14
|
-
t.date :scriptinitialrelease
|
15
|
-
t.date :scriptlastestrelease
|
16
|
-
t.date :scriptbetarelease
|
17
|
-
t.date :scriptlastestreleasecdn
|
18
|
-
|
19
|
-
t.string :scriptstatus
|
20
|
-
|
21
|
-
t.string :slug
|
22
|
-
|
23
|
-
t.string :user_id
|
24
|
-
t.string :org_id
|
25
|
-
|
26
|
-
t.references :version
|
27
|
-
t.references :licence
|
28
|
-
t.references :author
|
29
|
-
|
30
|
-
t.timestamps
|
31
|
-
|
32
|
-
end
|
33
|
-
|
34
|
-
end
|
35
|
-
end
|
@@ -1,23 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproScriptAuthors < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
|
4
|
-
create_table :phcscriptcdnpro_script_authors do |t|
|
5
|
-
|
6
|
-
t.string :authorfirstname
|
7
|
-
t.string :authorlastname
|
8
|
-
|
9
|
-
t.string :authorwebsite
|
10
|
-
t.string :authorgithub
|
11
|
-
t.string :authortwitter
|
12
|
-
|
13
|
-
t.string :slug
|
14
|
-
|
15
|
-
t.string :user_id
|
16
|
-
t.string :org_id
|
17
|
-
|
18
|
-
t.timestamps
|
19
|
-
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproScriptExtensions < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
|
4
|
-
create_table :phcscriptcdnpro_script_extensions do |t|
|
5
|
-
|
6
|
-
t.string :scriptextensionname
|
7
|
-
t.text :scriptextensiondes
|
8
|
-
t.string :scriptextension
|
9
|
-
|
10
|
-
t.string :slug
|
11
|
-
|
12
|
-
t.string :user_id
|
13
|
-
t.string :org_id
|
14
|
-
|
15
|
-
t.timestamps
|
16
|
-
|
17
|
-
end
|
18
|
-
|
19
|
-
end
|
20
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproScriptLicences < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
|
4
|
-
create_table :phcscriptcdnpro_script_licences do |t|
|
5
|
-
|
6
|
-
t.string :lcncname
|
7
|
-
t.string :lcncdescript
|
8
|
-
t.text :lcncdescription
|
9
|
-
|
10
|
-
t.string :lcnccomgpl
|
11
|
-
t.string :lcncarvlfsf
|
12
|
-
t.string :lcncarvlosi
|
13
|
-
t.string :lcncarvlcopyfree
|
14
|
-
t.string :lcncarvldebian
|
15
|
-
t.string :lcncarvlfedora
|
16
|
-
|
17
|
-
t.string :slug
|
18
|
-
|
19
|
-
t.string :user_id
|
20
|
-
t.string :org_id
|
21
|
-
|
22
|
-
t.timestamps
|
23
|
-
|
24
|
-
end
|
25
|
-
|
26
|
-
end
|
27
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproScriptUrls < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
|
4
|
-
create_table :phcscriptcdnpro_script_urls do |t|
|
5
|
-
|
6
|
-
t.string :scripturl
|
7
|
-
t.date :scripturlrelease
|
8
|
-
t.date :scripturlcdnupdate
|
9
|
-
|
10
|
-
t.references :listing
|
11
|
-
t.references :version
|
12
|
-
t.references :extension
|
13
|
-
|
14
|
-
t.string :slug
|
15
|
-
|
16
|
-
t.string :user_id
|
17
|
-
t.string :org_id
|
18
|
-
|
19
|
-
t.timestamps
|
20
|
-
|
21
|
-
end
|
22
|
-
|
23
|
-
end
|
24
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproScriptVersions < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
|
4
|
-
create_table :phcscriptcdnpro_script_versions do |t|
|
5
|
-
|
6
|
-
t.string :scriptversion
|
7
|
-
|
8
|
-
t.string :slug
|
9
|
-
|
10
|
-
t.string :user_id
|
11
|
-
t.string :org_id
|
12
|
-
|
13
|
-
t.timestamps
|
14
|
-
|
15
|
-
end
|
16
|
-
|
17
|
-
end
|
18
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproFriendlyIdSlugs < ActiveRecord::Migration[5.2]
|
2
|
-
def change
|
3
|
-
|
4
|
-
create_table :phcscriptcdnpro_friendly_id_slugs do |t|
|
5
|
-
t.string :slug, :null => false
|
6
|
-
t.integer :sluggable_id, :null => false
|
7
|
-
t.string :sluggable_type, :limit => 50
|
8
|
-
t.string :scope
|
9
|
-
t.datetime :created_at
|
10
|
-
end
|
11
|
-
|
12
|
-
add_index :phcscriptcdnpro_friendly_id_slugs, :sluggable_id
|
13
|
-
add_index :phcscriptcdnpro_friendly_id_slugs, [:slug, :sluggable_type], name: 'scriptcdnpro_fri_id_slugable_type', length: { slug: 140, sluggable_type: 50 }
|
14
|
-
add_index :phcscriptcdnpro_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
|
-
add_index :phcscriptcdnpro_friendly_id_slugs, :sluggable_type
|
16
|
-
|
17
|
-
end
|
18
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproExtensionVersions < ActiveRecord::Migration[5.2]
|
2
|
-
TEXT_BYTES = 1_073_741_823
|
3
|
-
def change
|
4
|
-
|
5
|
-
create_table :phcscriptcdnpro_extension_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 :phcscriptcdnpro_extension_versions, %i(item_type item_id), :name => 'scriptcdnpro_ext_versions'
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproListingVersions < ActiveRecord::Migration[5.2]
|
2
|
-
TEXT_BYTES = 1_073_741_823
|
3
|
-
def change
|
4
|
-
|
5
|
-
create_table :phcscriptcdnpro_listing_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 :phcscriptcdnpro_listing_versions, %i(item_type item_id), :name => 'scriptcdnpro_listing_versions'
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproScriptversionVersions < ActiveRecord::Migration[5.2]
|
2
|
-
TEXT_BYTES = 1_073_741_823
|
3
|
-
def change
|
4
|
-
|
5
|
-
create_table :phcscriptcdnpro_scriptversion_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 :phcscriptcdnpro_scriptversion_versions, %i(item_type item_id), :name => 'scriptcdnpro_scriptversion_versions'
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproUrlVersions < ActiveRecord::Migration[5.2]
|
2
|
-
TEXT_BYTES = 1_073_741_823
|
3
|
-
def change
|
4
|
-
|
5
|
-
create_table :phcscriptcdnpro_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 :phcscriptcdnpro_url_versions, %i(item_type item_id), :name => 'scriptcdnpro_url_versions'
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproAuthorVersions < ActiveRecord::Migration[5.2]
|
2
|
-
TEXT_BYTES = 1_073_741_823
|
3
|
-
def change
|
4
|
-
|
5
|
-
create_table :phcscriptcdnpro_author_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 :phcscriptcdnpro_author_versions, %i(item_type item_id), :name => 'scriptcdnpro_author_versions'
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
class CreatePhcscriptcdnproLicenceVersions < ActiveRecord::Migration[5.2]
|
2
|
-
TEXT_BYTES = 1_073_741_823
|
3
|
-
def change
|
4
|
-
|
5
|
-
create_table :phcscriptcdnpro_licence_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 :phcscriptcdnpro_licence_versions, %i(item_type item_id), :name => 'scriptcdnpro_licence_versions'
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|