phccodesnipper 6.1.0 → 6.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +7 -5
- data/app/controllers/phccodesnipper/application_controller.rb +15 -17
- data/app/controllers/phccodesnipper/script/snippets_controller.rb +54 -54
- data/app/controllers/phccodesnipper/script/urls_controller.rb +59 -58
- data/app/helpers/phccodesnipper/application_helper.rb +2 -0
- data/app/helpers/phccodesnipper/script/snippets_helper.rb +5 -1
- data/app/helpers/phccodesnipper/script/urls_helper.rb +5 -1
- data/app/jobs/phccodesnipper/application_job.rb +2 -0
- data/app/mailers/phccodesnipper/application_mailer.rb +2 -0
- data/app/models/phccodesnipper/application_record.rb +2 -0
- data/app/models/phccodesnipper/script/snippet.rb +20 -18
- data/app/models/phccodesnipper/script/url.rb +13 -11
- data/app/models/phccodesnipper/script.rb +2 -0
- data/app/views/phccodesnipper/script/snippets/show.html.erb +2 -2
- data/config/routes.rb +7 -7
- data/db/migrate/20190502060733_create_phccodesnipper_script_urls.rb +2 -4
- data/db/migrate/20190508091330_create_phccodesnipper_script_snippets.rb +2 -4
- data/db/migrate/20190513040626_create_friendly_id_slugs.rb +9 -6
- data/lib/phccodesnipper/engine.rb +41 -42
- data/lib/phccodesnipper/version.rb +3 -1
- data/lib/phccodesnipper.rb +4 -2
- data/lib/tasks/phccodesnipper_tasks.rake +1 -0
- metadata +48 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc816b874135a2a239379676042e2f2802487a8f143c39ffe5eb833b747d233a
|
4
|
+
data.tar.gz: e337d530adf6b824af0d19073ae0d47c7a696b7c2c08bb8e91d54d0aa98065b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2a94521717a68985d34e21d56241728775b3ca4f0a8aaf86ded93a589b155f9726a11795bdf261317e548f1011ec324af6f1b54a82e61e823aa1bdd55b61dc5
|
7
|
+
data.tar.gz: c6f2b41bd14936687de8c119a16017f8f07f41ee5a3f46ce9285306bd7275d03004a77237282ce43f6e15338165adba1efa12c02ede6b93d5bf46a8ad3c1df5a
|
data/Rakefile
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
load "rails/tasks/engine.rake"
|
3
|
+
require 'bundler/setup'
|
5
4
|
|
6
|
-
|
5
|
+
APP_RAKEFILE = File.expand_path('spec/test_app/Rakefile', __dir__)
|
6
|
+
load 'rails/tasks/engine.rake'
|
7
7
|
|
8
|
-
|
8
|
+
load 'rails/tasks/statistics.rake'
|
9
|
+
|
10
|
+
require 'bundler/gem_tasks'
|
@@ -1,21 +1,19 @@
|
|
1
|
-
|
2
|
-
class ApplicationController < ActionController::Base
|
3
|
-
|
4
|
-
# Security Filters
|
5
|
-
protect_from_forgery with: :exception
|
1
|
+
# frozen_string_literal: true
|
6
2
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
helper PhcdevworksCore::Engine.helpers
|
12
|
-
|
13
|
-
# Papertrail Whodunnit Username
|
14
|
-
def user_for_paper_trail
|
15
|
-
current_user ? current_user.username : 'Public user'
|
16
|
-
end
|
3
|
+
module Phccodesnipper
|
4
|
+
class ApplicationController < ActionController::Base
|
5
|
+
# Security Filters
|
6
|
+
protect_from_forgery with: :exception
|
17
7
|
|
18
|
-
|
8
|
+
# Load Requried Helper Files
|
9
|
+
helper PhcdevworksActiveMenus::Engine.helpers
|
10
|
+
helper PhcdevworksNotifications::Engine.helpers
|
11
|
+
helper PhcdevworksTitleseo::Engine.helpers
|
12
|
+
helper PhcdevworksCore::Engine.helpers
|
19
13
|
|
20
|
-
|
14
|
+
# Papertrail Whodunnit Username
|
15
|
+
def user_for_paper_trail
|
16
|
+
current_user ? current_user.username : 'Public user'
|
17
|
+
end
|
18
|
+
end
|
21
19
|
end
|
@@ -1,67 +1,67 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
class Script::SnippetsController < ApplicationController
|
5
|
-
|
6
|
-
# Include Core Helpers, Security & Action Filters
|
7
|
-
include PhcdevworksCore::PhcdevPluginsHelper
|
8
|
-
before_action :authenticate_user!
|
9
|
-
before_action :set_script_snippet, only: [:show, :edit, :update, :destroy]
|
3
|
+
require_dependency 'phccodesnipper/application_controller'
|
10
4
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
5
|
+
module Phccodesnipper
|
6
|
+
module Script
|
7
|
+
class SnippetsController < ApplicationController
|
8
|
+
# Include Core Helpers, Security & Action Filters
|
9
|
+
include PhcdevworksCore::PhcdevPluginsHelper
|
10
|
+
before_action :authenticate_user!
|
11
|
+
before_action :set_script_snippet, only: %i[show edit update destroy]
|
15
12
|
|
16
|
-
|
17
|
-
|
18
|
-
|
13
|
+
# INDEX
|
14
|
+
def index
|
15
|
+
@script_snippets = Script::Snippet.all
|
16
|
+
end
|
19
17
|
|
20
|
-
|
21
|
-
|
22
|
-
@script_snippet = Script::Snippet.new
|
23
|
-
end
|
18
|
+
# SHOW
|
19
|
+
def show; end
|
24
20
|
|
25
|
-
|
26
|
-
|
27
|
-
|
21
|
+
# NEW
|
22
|
+
def new
|
23
|
+
@script_snippet = Script::Snippet.new
|
24
|
+
end
|
28
25
|
|
29
|
-
|
30
|
-
|
31
|
-
@script_snippet = Script::Snippet.new(script_snippet_params)
|
32
|
-
if @script_snippet.save
|
33
|
-
redirect_to @script_snippet, :flash => { :success => 'Code snippet was successfully created.' }
|
34
|
-
else
|
35
|
-
render :new
|
36
|
-
end
|
37
|
-
end
|
26
|
+
# EDIT
|
27
|
+
def edit; end
|
38
28
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
29
|
+
# CREATE
|
30
|
+
def create
|
31
|
+
@script_snippet = Script::Snippet.new(script_snippet_params)
|
32
|
+
if @script_snippet.save
|
33
|
+
redirect_to @script_snippet, flash: { success: 'Code snippet was successfully created.' }
|
34
|
+
else
|
35
|
+
render :new
|
36
|
+
end
|
37
|
+
end
|
47
38
|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
39
|
+
# UPDATE
|
40
|
+
def update
|
41
|
+
if @script_snippet.update(script_snippet_params)
|
42
|
+
redirect_to @script_snippet, flash: { success: 'Code snippet was successfully updated.' }
|
43
|
+
else
|
44
|
+
render :edit
|
45
|
+
end
|
46
|
+
end
|
53
47
|
|
54
|
-
|
48
|
+
# DELETE
|
49
|
+
def destroy
|
50
|
+
@script_snippet.destroy
|
51
|
+
redirect_to script_snippets_url, flash: { error: 'Code snippet was successfully destroyed.' }
|
52
|
+
end
|
55
53
|
|
56
|
-
|
57
|
-
def set_script_snippet
|
58
|
-
@script_snippet = Script::Snippet.find(params[:id])
|
59
|
-
end
|
54
|
+
private
|
60
55
|
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
56
|
+
# Common Callbacks
|
57
|
+
def set_script_snippet
|
58
|
+
@script_snippet = Script::Snippet.find(params[:id])
|
59
|
+
end
|
65
60
|
|
66
|
-
|
61
|
+
# Whitelist
|
62
|
+
def script_snippet_params
|
63
|
+
params.require(:script_snippet).permit(:snippet_title, :snippet_code)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
67
|
end
|
@@ -1,70 +1,71 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
class Script::UrlsController < ApplicationController
|
5
|
-
|
6
|
-
# Include Core Helpers, Security & Action Filters
|
7
|
-
include PhcdevworksCore::PhcdevPluginsHelper
|
8
|
-
before_action :authenticate_user!
|
9
|
-
before_action :set_script_url, only: [:show, :edit, :update, :destroy]
|
3
|
+
require_dependency 'phccodesnipper/application_controller'
|
10
4
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
5
|
+
module Phccodesnipper
|
6
|
+
module Script
|
7
|
+
class UrlsController < ApplicationController
|
8
|
+
# Include Core Helpers, Security & Action Filters
|
9
|
+
include PhcdevworksCore::PhcdevPluginsHelper
|
10
|
+
before_action :authenticate_user!
|
11
|
+
before_action :set_script_url, only: %i[show edit update destroy]
|
16
12
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
13
|
+
# INDEX
|
14
|
+
def index
|
15
|
+
snippet = Script::Snippet.find(params[:snippet_id])
|
16
|
+
@script_urls = snippet.urls.all
|
17
|
+
end
|
22
18
|
|
23
|
-
|
24
|
-
|
25
|
-
|
19
|
+
# NEW
|
20
|
+
def new
|
21
|
+
script_snippet = Script::Snippet.find(params[:snippet_id])
|
22
|
+
@script_url = script_snippet.urls.build
|
23
|
+
end
|
26
24
|
|
27
|
-
|
28
|
-
|
29
|
-
@script_snippet = Script::Snippet.find(params[:snippet_id])
|
30
|
-
@script_url = @script_snippet.urls.create(script_url_params)
|
31
|
-
@script_url.user_id = current_user.id
|
32
|
-
if @script_url.save
|
33
|
-
redirect_to script_snippet_urls_path, :flash => { :success => 'Script URL was successfully created.' }
|
34
|
-
else
|
35
|
-
render :new
|
36
|
-
end
|
37
|
-
end
|
25
|
+
# EDIT
|
26
|
+
def edit; end
|
38
27
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
28
|
+
# CREATE
|
29
|
+
def create
|
30
|
+
@script_snippet = Script::Snippet.find(params[:snippet_id])
|
31
|
+
@script_url = @script_snippet.urls.create(script_url_params)
|
32
|
+
@script_url.user_id = current_user.id
|
33
|
+
if @script_url.save
|
34
|
+
redirect_to script_snippet_urls_path, flash: { success: 'Script URL was successfully created.' }
|
35
|
+
else
|
36
|
+
render :new
|
37
|
+
end
|
38
|
+
end
|
48
39
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
40
|
+
# UPDATE
|
41
|
+
def update
|
42
|
+
@script_snippet = Script::Snippet.find(params[:snippet_id])
|
43
|
+
if @script_url.update(script_url_params)
|
44
|
+
redirect_to script_snippet_urls_path, flash: { success: 'Script URL was successfully updated.' }
|
45
|
+
else
|
46
|
+
render :edit
|
47
|
+
end
|
48
|
+
end
|
56
49
|
|
57
|
-
|
50
|
+
# DELETE
|
51
|
+
def destroy
|
52
|
+
@script_snippet = Script::Snippet.find(params[:snippet_id])
|
53
|
+
@script_url = @script_snippet.urls.find(params[:id])
|
54
|
+
@script_url.destroy
|
55
|
+
redirect_to script_snippet_urls_path, flash: { error: 'Script URL was successfully removed.' }
|
56
|
+
end
|
58
57
|
|
59
|
-
|
60
|
-
def set_script_url
|
61
|
-
@script_url = Script::Url.find(params[:id])
|
62
|
-
end
|
58
|
+
private
|
63
59
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
60
|
+
# Common Callbacks
|
61
|
+
def set_script_url
|
62
|
+
@script_url = Script::Url.find(params[:id])
|
63
|
+
end
|
68
64
|
|
69
|
-
|
65
|
+
# Whitelist
|
66
|
+
def script_url_params
|
67
|
+
params.require(:script_url).permit(:script_url, :snippet_id)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
70
71
|
end
|
@@ -1,27 +1,29 @@
|
|
1
|
-
|
2
|
-
class Script::Snippet < ApplicationRecord
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
|
5
|
-
|
3
|
+
module Phccodesnipper
|
4
|
+
module Script
|
5
|
+
class Snippet < ApplicationRecord
|
6
|
+
# Clean URL Initialize
|
7
|
+
extend FriendlyId
|
6
8
|
|
7
|
-
|
8
|
-
|
9
|
+
# Relationships
|
10
|
+
has_many :urls, class_name: 'Phccodesnipper::Script::Url'
|
9
11
|
|
10
|
-
|
11
|
-
|
12
|
-
|
12
|
+
# Form Fields Validation
|
13
|
+
validates :snippet_title,
|
14
|
+
presence: true
|
13
15
|
|
14
|
-
|
15
|
-
|
16
|
+
validates :snippet_code,
|
17
|
+
presence: true
|
16
18
|
|
17
|
-
|
18
|
-
|
19
|
+
# Clean URL Define
|
20
|
+
friendly_id :phc_nice_url_slug, use: %i[slugged finders]
|
19
21
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
22
|
+
def phc_nice_url_slug
|
23
|
+
[
|
24
|
+
[:snippet_title]
|
25
|
+
]
|
26
|
+
end
|
24
27
|
end
|
25
|
-
|
26
28
|
end
|
27
29
|
end
|
@@ -1,16 +1,18 @@
|
|
1
|
-
|
2
|
-
class Script::Url < ApplicationRecord
|
3
|
-
|
4
|
-
# Include Core Validations
|
5
|
-
phc_domain_regx = URI::regexp(%w(http https))
|
1
|
+
# frozen_string_literal: true
|
6
2
|
|
7
|
-
|
8
|
-
|
3
|
+
module Phccodesnipper
|
4
|
+
module Script
|
5
|
+
class Url < ApplicationRecord
|
6
|
+
# Include Core Validations
|
7
|
+
phc_domain_regx = URI::DEFAULT_PARSER.make_regexp(%w[http https])
|
9
8
|
|
10
|
-
|
11
|
-
|
12
|
-
presence: true,
|
13
|
-
format: { :with => phc_domain_regx, message: "Please follow this URL format http or https://www.**********.com" }
|
9
|
+
# Relationships
|
10
|
+
belongs_to :snippet, class_name: 'Phccodesnipper::Script::Snippet'
|
14
11
|
|
12
|
+
# Form Fields Validation
|
13
|
+
validates :script_url,
|
14
|
+
presence: true,
|
15
|
+
format: { with: phc_domain_regx, message: 'Please follow this URL format http or https://www.**********.com' }
|
16
|
+
end
|
15
17
|
end
|
16
18
|
end
|
@@ -33,12 +33,12 @@
|
|
33
33
|
|
34
34
|
<!-- -PHCDEV- Panel - Body -->
|
35
35
|
<div class="panel-body">
|
36
|
-
<div class="btn-group d-flex" role="group">
|
36
|
+
<div class="btn-group d-flex mb-3" role="group">
|
37
37
|
<%= link_to "Update", phccodesnipper.edit_script_snippet_path, class: "btn btn-primary" %>
|
38
38
|
<%= link_to "Remove", phccodesnipper.script_snippet_path, method: :delete, data: { confirm: "Are you sure?" }, class: "btn btn-danger" %>
|
39
39
|
</div>
|
40
40
|
<div class="btn-group d-flex" role="group">
|
41
|
-
<%= link_to "Add URL", phccodesnipper.script_snippet_urls_path(@script_snippet), class: "btn btn-
|
41
|
+
<%= link_to "Add URL", phccodesnipper.script_snippet_urls_path(@script_snippet), class: "btn btn-success" %>
|
42
42
|
</div>
|
43
43
|
</div>
|
44
44
|
<!-- -PHCDEV- Panel - Body -->
|
data/config/routes.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
Phccodesnipper::Engine.routes.draw do
|
4
|
+
# Script Snippet Routes
|
5
|
+
namespace :script do
|
6
|
+
resources :snippets, class_name: 'Phccodesnipper::Script::Snippet' do
|
7
|
+
resources :urls, class_name: 'Phccodesnipper::Script::Url'
|
8
8
|
end
|
9
|
-
|
9
|
+
end
|
10
10
|
end
|
@@ -1,8 +1,8 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
class CreatePhccodesnipperScriptUrls < ActiveRecord::Migration[7.0]
|
2
4
|
def change
|
3
|
-
|
4
5
|
create_table :phccodesnipper_script_urls do |t|
|
5
|
-
|
6
6
|
t.string :script_url
|
7
7
|
|
8
8
|
t.string :slug
|
@@ -10,8 +10,6 @@ class CreatePhccodesnipperScriptUrls < ActiveRecord::Migration[7.0]
|
|
10
10
|
|
11
11
|
t.references :snippet
|
12
12
|
t.timestamps
|
13
|
-
|
14
13
|
end
|
15
|
-
|
16
14
|
end
|
17
15
|
end
|
@@ -1,8 +1,8 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
class CreatePhccodesnipperScriptSnippets < ActiveRecord::Migration[7.0]
|
2
4
|
def change
|
3
|
-
|
4
5
|
create_table :phccodesnipper_script_snippets do |t|
|
5
|
-
|
6
6
|
t.string :snippet_title
|
7
7
|
t.text :snippet_code
|
8
8
|
|
@@ -10,8 +10,6 @@ class CreatePhccodesnipperScriptSnippets < ActiveRecord::Migration[7.0]
|
|
10
10
|
t.string :user_id
|
11
11
|
|
12
12
|
t.timestamps
|
13
|
-
|
14
13
|
end
|
15
|
-
|
16
14
|
end
|
17
15
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
MIGRATION_CLASS =
|
2
4
|
if ActiveRecord::VERSION::MAJOR >= 5
|
3
5
|
ActiveRecord::Migration["#{ActiveRecord::VERSION::MAJOR}.#{ActiveRecord::VERSION::MINOR}"]
|
@@ -8,14 +10,15 @@ MIGRATION_CLASS =
|
|
8
10
|
class CreateFriendlyIdSlugs < MIGRATION_CLASS
|
9
11
|
def change
|
10
12
|
create_table :friendly_id_slugs do |t|
|
11
|
-
t.string :slug, :
|
12
|
-
t.integer :sluggable_id, :
|
13
|
-
t.string :sluggable_type, :
|
13
|
+
t.string :slug, null: false
|
14
|
+
t.integer :sluggable_id, null: false
|
15
|
+
t.string :sluggable_type, limit: 50
|
14
16
|
t.string :scope
|
15
17
|
t.datetime :created_at
|
16
18
|
end
|
17
|
-
add_index :friendly_id_slugs, [
|
18
|
-
add_index :friendly_id_slugs, [
|
19
|
-
add_index :friendly_id_slugs, [
|
19
|
+
add_index :friendly_id_slugs, %i[sluggable_type sluggable_id]
|
20
|
+
add_index :friendly_id_slugs, %i[slug sluggable_type], length: { slug: 140, sluggable_type: 50 }
|
21
|
+
add_index :friendly_id_slugs, %i[slug sluggable_type scope],
|
22
|
+
length: { slug: 70, sluggable_type: 50, scope: 70 }, unique: true
|
20
23
|
end
|
21
24
|
end
|
@@ -1,44 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Phccodesnipper
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
end
|
42
|
-
|
43
|
-
end
|
4
|
+
class Engine < ::Rails::Engine
|
5
|
+
# Load Main Dependencies
|
6
|
+
require 'jbuilder'
|
7
|
+
require 'paper_trail'
|
8
|
+
require 'friendly_id'
|
9
|
+
|
10
|
+
# Load Theme Dependencies
|
11
|
+
require 'phcthemes_admin_panel_pack'
|
12
|
+
require 'phcthemes_web_theme_pack'
|
13
|
+
|
14
|
+
# Load Helper Dependencies
|
15
|
+
require 'phcdevworks_core'
|
16
|
+
require 'phcdevworks_active_menus'
|
17
|
+
require 'phcdevworks_notifications'
|
18
|
+
require 'phcdevworks_titleseo'
|
19
|
+
|
20
|
+
# Load Upload Dependencies
|
21
|
+
require 'aws-sdk-s3'
|
22
|
+
require 'google-cloud-storage'
|
23
|
+
require 'mini_magick'
|
24
|
+
|
25
|
+
# Frontend Dependencies
|
26
|
+
require 'wicked'
|
27
|
+
require 'gravtastic'
|
28
|
+
|
29
|
+
# Mailer Dependencies
|
30
|
+
require 'mail_form'
|
31
|
+
|
32
|
+
# Engine Namespace
|
33
|
+
isolate_namespace Phccodesnipper
|
34
|
+
|
35
|
+
# Rspec Generators
|
36
|
+
config.generators do |g|
|
37
|
+
g.test_framework :rspec
|
38
|
+
g.fixture_replacement :factory_bot
|
39
|
+
g.factory_bot dir: 'spec/factories'
|
40
|
+
g.factory_bot suffix: 'factory'
|
41
|
+
end
|
42
|
+
end
|
44
43
|
end
|
data/lib/phccodesnipper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phccodesnipper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1.
|
4
|
+
version: 6.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -184,28 +184,28 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: '1.
|
187
|
+
version: '1.114'
|
188
188
|
type: :runtime
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: '1.
|
194
|
+
version: '1.114'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: google-cloud-storage
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: '1.
|
201
|
+
version: '1.37'
|
202
202
|
type: :runtime
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: '1.
|
208
|
+
version: '1.37'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: mini_magick
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -248,6 +248,48 @@ dependencies:
|
|
248
248
|
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '5.1'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: rubocop-performance
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - "~>"
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '1.14'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - "~>"
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '1.14'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: rubocop-rails
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - "~>"
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '2.15'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - "~>"
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '2.15'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: rubocop-rspec
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - "~>"
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '2.12'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - "~>"
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '2.12'
|
251
293
|
- !ruby/object:Gem::Dependency
|
252
294
|
name: spring
|
253
295
|
requirement: !ruby/object:Gem::Requirement
|