shopapp 0.2.75 → 0.73.02
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/app/assets/javascripts/shopapp3.js +0 -6
- data/app/assets/stylesheets/shopapp3.scss +0 -2
- data/app/controllers/auth_controller.rb +4 -4
- data/app/controllers/concerns/shoplift_client.rb +1 -1
- data/app/controllers/shopapp_login_controller.rb +1 -1
- data/app/helpers/euro_helper.rb +12 -2
- data/app/helpers/shopapp3_form_helper.rb +3 -3
- data/app/helpers/shopapp3_helper.rb +1 -1
- data/app/views/shopapp/_modal_errors.haml +2 -2
- data/app/views/shopapp/_shopapp2.html.haml +1 -1
- data/app/views/shopapp/_shopapp3.html.haml +4 -4
- data/app/views/shopapp/login_message.haml +3 -1
- data/config/initializers/active_settings.rb +8 -8
- data/config/initializers/assets.rb +1 -0
- data/lib/shopapp/engine.rb +1 -1
- data/lib/shopapp/tasks/shopapp.rake +5 -0
- data/lib/shopapp/templates/shopapp_rails_new.rb +3 -2
- data/lib/shopapp.rb +1 -1
- data/shopapp.gemspec +29 -18
- metadata +38 -142
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1e79bda095b98390be8188e89f74151fe8aa0fe1e0b8e8463c697eb5a796577f
|
|
4
|
+
data.tar.gz: 380eba546fb514fd597c60bdfa2c586b703033ee50fda34fccca5b2610dca471
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3556bbe835dc2690c3a2c7ce1e87e43a40529ef2a139729be2903f7846d66cb50b8c8edd51d6bc7d8b0cb90b780499d22969099763dffbf0b6fd92ca47f752d5
|
|
7
|
+
data.tar.gz: 5dc66e60d10edb1ca6f68d43f30dbe0a5de6878aed1616beb7abce92a385c33942f19d64db31d908ba607bf516b829382765ec7a26565a26b639cf585932867d
|
data/README.md
CHANGED
|
@@ -15,7 +15,7 @@ Shoplift OAuth provider.
|
|
|
15
15
|
which is used for all app development.
|
|
16
16
|
* ShopApp will work on any \*nix, but is designed on and for development on OSX
|
|
17
17
|
* Postgres (latest), typically via Brew
|
|
18
|
-
* You will need Ruby 2
|
|
18
|
+
* You will need Ruby 3.2 (or higher), and typically via RVM, and few gems:
|
|
19
19
|
|
|
20
20
|
gem install bundler
|
|
21
21
|
gem install rails
|
|
@@ -23,6 +23,8 @@ Shoplift OAuth provider.
|
|
|
23
23
|
|
|
24
24
|
# Creating a Shoplift App with Shopitup
|
|
25
25
|
|
|
26
|
+
This doesn't work right now...
|
|
27
|
+
|
|
26
28
|
Just do the following:
|
|
27
29
|
|
|
28
30
|
shopitapp demolift
|
|
@@ -93,4 +95,4 @@ shopapp to support i18n, add two methods to your ApplicationController:
|
|
|
93
95
|
|
|
94
96
|
To build new version of this gem, change the version in shopapp.gemspec and run:
|
|
95
97
|
|
|
96
|
-
gem build shopapp.gemspec ; gem push shopapp-0.
|
|
98
|
+
gem build shopapp.gemspec ; gem push shopapp-0.73.02.gem; gem install shopapp
|
|
@@ -24,7 +24,7 @@ class AuthController < ActionController::Base
|
|
|
24
24
|
signouttoken = session_cookie
|
|
25
25
|
session_cookie = nil
|
|
26
26
|
|
|
27
|
-
redirect_to "#{Rails.configuration.settings['authlift_url']}users/sign_outx?signouttoken=#{signouttoken}"
|
|
27
|
+
redirect_to "#{Rails.configuration.settings['authlift_url']}users/sign_outx?signouttoken=#{signouttoken}", allow_other_host: true
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def change_company
|
|
@@ -33,7 +33,7 @@ class AuthController < ActionController::Base
|
|
|
33
33
|
new_company_code = params.except(:_method, :authenticity_token).permit(:new_company_code)[:new_company_code]
|
|
34
34
|
|
|
35
35
|
signouttoken = session_cookie
|
|
36
|
-
redirect_to "#{Rails.configuration.settings['authlift_url']}users/change_companyx/#{new_company_code}?change_company_token=#{signouttoken}"
|
|
36
|
+
redirect_to "#{Rails.configuration.settings['authlift_url']}users/change_companyx/#{new_company_code}?change_company_token=#{signouttoken}", allow_other_host: true
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
def change_language
|
|
@@ -42,12 +42,12 @@ class AuthController < ActionController::Base
|
|
|
42
42
|
new_language_code = params.except(:_method, :authenticity_token).permit(:new_language_code)[:new_language_code]
|
|
43
43
|
|
|
44
44
|
signouttoken = session_cookie
|
|
45
|
-
redirect_to "#{Rails.configuration.settings['authlift_url']}users/change_languagex/#{new_language_code}?change_language_token=#{signouttoken}&return_to=#{request.base_url}"
|
|
45
|
+
redirect_to "#{Rails.configuration.settings['authlift_url']}users/change_languagex/#{new_language_code}?change_language_token=#{signouttoken}&return_to=#{request.base_url}", allow_other_host: true
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
def change_password
|
|
49
49
|
authenticate_user!
|
|
50
50
|
return if current_user.blank?
|
|
51
|
-
redirect_to "#{Rails.configuration.settings['authlift_url']}users/change_password"
|
|
51
|
+
redirect_to "#{Rails.configuration.settings['authlift_url']}users/change_password", allow_other_host: true
|
|
52
52
|
end
|
|
53
53
|
end
|
|
@@ -129,7 +129,7 @@ module ShopliftClient
|
|
|
129
129
|
if Rails.configuration.settings['use_welcome_screen'].present? && !skip_landing_page
|
|
130
130
|
redirect_to login_message_path
|
|
131
131
|
else
|
|
132
|
-
redirect_to shoplift_login_url
|
|
132
|
+
redirect_to shoplift_login_url, allow_other_host: true
|
|
133
133
|
end
|
|
134
134
|
end
|
|
135
135
|
|
|
@@ -30,7 +30,7 @@ class ShopappLoginController < ApplicationController
|
|
|
30
30
|
else
|
|
31
31
|
destination = URI("#{Rails.configuration.settings['authlift_url']}softly_verify_login")
|
|
32
32
|
destination.query = redirect_parameters.to_query
|
|
33
|
-
redirect_to destination.to_s
|
|
33
|
+
redirect_to destination.to_s, allow_other_host: true
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
end
|
data/app/helpers/euro_helper.rb
CHANGED
|
@@ -7,7 +7,17 @@ module EuroHelper
|
|
|
7
7
|
number_to_currency number_in_euros, unit: "€", separator: ",", delimiter: nbsp, format: "%n#{nbsp}%u"
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
-
def
|
|
11
|
-
|
|
10
|
+
def mdi_tag(name = nil, included_classes: '', size: 16, icon: 'highlight_off', **other_named_params)
|
|
11
|
+
if name.match?(/^([\w\-\_]+)( (\d\d)px)?$/) && size == 16 && icon == 'highlight_off'
|
|
12
|
+
results = name.match(/^([\w\-\_]+)( (\d\d)px)?$/)
|
|
13
|
+
icon = results[1]
|
|
14
|
+
size = results[3].to_i if results[3].present?
|
|
15
|
+
included_classes += " " + other_named_params[:class] if other_named_params[:class].present?
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
icon = 'edit' if icon == 'stylus'
|
|
19
|
+
icon = 'person_add' if icon == 'account-plus-outline'
|
|
20
|
+
|
|
21
|
+
"<i class=\"material-icons md-#{size} #{name} #{included_classes}\">#{icon}</i>".html_safe
|
|
12
22
|
end
|
|
13
23
|
end
|
|
@@ -123,7 +123,7 @@ module Shopapp3FormHelper
|
|
|
123
123
|
%(<a href="#{return_path}" class="btn btn-warning float-right ml-2 mt-3" role="button">#{label}</a>).html_safe
|
|
124
124
|
end
|
|
125
125
|
|
|
126
|
-
def sf_action(url, action_name = nil, text = nil, remote: true, method: :post, additional_classes: nil, form_class: nil,
|
|
126
|
+
def sf_action(url, action_name = nil, text = nil, remote: true, method: :post, additional_classes: nil, form_class: nil, onclick_action: onclick)
|
|
127
127
|
action_name ||= :submit
|
|
128
128
|
button_to((text || action_name.to_s.humanize),
|
|
129
129
|
url,
|
|
@@ -134,7 +134,7 @@ module Shopapp3FormHelper
|
|
|
134
134
|
remote: remote,
|
|
135
135
|
class: ["btn", additional_classes || 'btn-secondary'].join(' '),
|
|
136
136
|
data: { disable_with: "Please wait..." },
|
|
137
|
-
onclick:
|
|
137
|
+
onclick: onclick_action,
|
|
138
138
|
}
|
|
139
139
|
)
|
|
140
140
|
#%button.btn.btn-danger.btn-sm Reject
|
|
@@ -155,7 +155,7 @@ module Shopapp3FormHelper
|
|
|
155
155
|
|
|
156
156
|
def sf_bool_value(value)
|
|
157
157
|
symbol = value ? 'check-outline' : 'close-outline'
|
|
158
|
-
mdi_tag
|
|
158
|
+
mdi_tag(size: 24, icon: symbol)
|
|
159
159
|
end
|
|
160
160
|
|
|
161
161
|
# private helpers
|
|
@@ -8,7 +8,7 @@ module Shopapp3Helper
|
|
|
8
8
|
<li class="nav-item p-1 #{active}">
|
|
9
9
|
<a class="nav-link d-flex flex-column justify-content-start align-items-center" href="#{sidebar_action[:path]}">
|
|
10
10
|
#{image_tag sidebar_action[:icon].to_s, width: '20', class: 'img-fluid mb-1' if sidebar_action[:icon].present?}
|
|
11
|
-
#{
|
|
11
|
+
#{"<i class=\"material-icons md-16\">#{sidebar_action[:mdi] = sidebar_action[:mdi].to_s; sidebar_action[:mdi]}</i>" if sidebar_action[:mdi].present?}
|
|
12
12
|
<label class="text-light mt-0 text-center">#{ I18n.t(sidebar_action[:tooltip], default: sidebar_action[:tooltip])}</label>
|
|
13
13
|
</a>
|
|
14
14
|
</li>
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
%br
|
|
8
8
|
%button.close(type="button" data-dismiss="alert" aria-label="Close")
|
|
9
9
|
%span(aria-hidden="true")
|
|
10
|
-
= mdi_tag
|
|
10
|
+
= mdi_tag(size: 12, icon: :close)
|
|
11
11
|
-else
|
|
12
12
|
= flash[f]
|
|
13
13
|
%button.close(type="button" data-dismiss="alert" aria-label="Close")
|
|
14
14
|
%span(aria-hidden="true")
|
|
15
|
-
= mdi_tag
|
|
15
|
+
= mdi_tag(size: 12, icon: :close)
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
.col-lg-4.px-lg-0.pt-lg-3.d-none.d-lg-flex.align-items-center.justify-content-end.pb-3
|
|
41
41
|
.dropdown
|
|
42
42
|
%a#dropdownMenuButton.chip.chip-action.dropdown-toggle.mr-lg-4{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", :href => "#"}
|
|
43
|
-
%img.chip-img(alt="#{@current_user['email']}" src="#{gravatar_image_url(@current_user['email'])}")/
|
|
43
|
+
%img.chip-img(alt="#{@current_user['email']}" src="#{gravatar_image_url(@current_user['email']).gsub('http:', 'https:')}")/
|
|
44
44
|
= @current_user['email']
|
|
45
45
|
.dropdown-menu.dropdown-menu-right.mt-2{"aria-labelledby" => "dropdownMenuButton"}
|
|
46
46
|
.dropdown-header=@current_user_json_hash['email']
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
placeholder: search_placeholder, type: "search")
|
|
17
17
|
%div
|
|
18
18
|
%a#navbarDropdown.chip.chip-action.nav-link.dropdown-toggle(aria-expanded="false" aria-haspopup="true" data-toggle="dropdown" href="#" role="button")
|
|
19
|
-
= image_tag gravatar_image_url(@current_user['email']), class: 'chip-img', alt: @current_user['email']
|
|
19
|
+
= image_tag gravatar_image_url(@current_user['email']).gsub('http:', 'https:'), class: 'chip-img', alt: @current_user['email']
|
|
20
20
|
= @current_user['email']
|
|
21
21
|
.dropdown-menu.dropdown-menu-right(style="margin-top: -22px;" aria-labelledby="navbarDropdown")
|
|
22
22
|
.dropdown-header=@current_user_json_hash['email']
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
.dropdown-divider
|
|
35
35
|
.dropdown-header Change company
|
|
36
36
|
- (@current_user_json_hash['memberships'] || []).reject { |c| @current_user_json_hash['company']['code'] == c['code'] }.each do |c|
|
|
37
|
-
=
|
|
37
|
+
= button_to(change_company_path(c['code']), method: :post, :class => 'dropdown-item', data: { turbo: false }) do
|
|
38
38
|
%span(display="block" clear="none" style="width: 32px; margin-right: 6px;")
|
|
39
39
|
= image_tag "https://media.shoplift.fi/company_logos/#{c['logo_code']}_company_logo_24.png", style: "height: 16; width: 32px;"
|
|
40
40
|
= c['name']
|
|
41
41
|
.dropdown-divider
|
|
42
|
-
=
|
|
42
|
+
= button_to(change_password_path, method: :get, :class => 'dropdown-item', data: { turbo: false }) do
|
|
43
43
|
Change password
|
|
44
|
-
=
|
|
44
|
+
= button_to(logout_path, method: :delete, :class => 'dropdown-item', data: { turbo: false }) do
|
|
45
45
|
Logout
|
|
46
46
|
= yield
|
|
47
47
|
:javascript
|
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
-# %link{:href => "https://fonts.googleapis.com/css?family=Fira+Sans:400,500,700", :rel => "stylesheet"}/
|
|
8
8
|
= csrf_meta_tags
|
|
9
9
|
= stylesheet_link_tag 'application', media: 'all'
|
|
10
|
-
|
|
10
|
+
- fail "please check shopapp/app/views/login_message.haml"
|
|
11
|
+
= javascript_importmap_tags
|
|
12
|
+
= javascript_include_tag 'application', type: "module"
|
|
11
13
|
= shopapp3_favicon
|
|
12
14
|
%body.bg-light
|
|
13
15
|
.row.justify-content-center
|
|
@@ -29,13 +29,13 @@ Rails.configuration.generators do |g|
|
|
|
29
29
|
# g.orm :mongoid
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
GravatarImageTag.configure do |config|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
end
|
|
32
|
+
# GravatarImageTag.configure do |config|
|
|
33
|
+
# config.default_image = :wavatar # Set this to use your own default gravatar image rather then serving up Gravatar's default image [ 'http://example.com/images/default_gravitar.jpg', :identicon, :monsterid, :wavatar, 404 ].
|
|
34
|
+
# # config.filetype = nil # Set this if you require a specific image file format ['gif', 'jpg' or 'png']. Gravatar's default is png
|
|
35
|
+
# # config.include_size_attributes = true # The height and width attributes of the generated img will be set to avoid page jitter as the gravatars load. Set to false to leave these attributes off.
|
|
36
|
+
# # config.rating = nil # Set this if you change the rating of the images that will be returned ['G', 'PG', 'R', 'X']. Gravatar's default is G
|
|
37
|
+
# # config.size = nil # Set this to globally set the size of the gravatar image returned (1..512). Gravatar's default is 80
|
|
38
|
+
# config.secure = true # Set this to true if you require secure images on your pages.
|
|
39
|
+
# end
|
|
40
40
|
|
|
41
41
|
Rails.application.config.assets.precompile += %w( shopapp3/*.svg flags/*.png )
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Rails.application.config.assets.precompile += %w(bootstrap.min.js popper.js shopapp3)
|
data/lib/shopapp/engine.rb
CHANGED
|
@@ -20,6 +20,11 @@ namespace :shopapp do
|
|
|
20
20
|
host_flag = if deployment_settings['dbhost'].present?
|
|
21
21
|
"-h #{deployment_settings['dbhost']}"
|
|
22
22
|
end
|
|
23
|
+
if deployment_settings['exclude'].present?
|
|
24
|
+
deployment_settings['exclude'].split(',').each do |exclude|
|
|
25
|
+
host_flag += " --exclude-table-data=#{exclude.strip}"
|
|
26
|
+
end
|
|
27
|
+
end
|
|
23
28
|
system "ssh #{user}@#{server} 'pg_dump -Fc -c --no-owner #{host_flag} #{db_name} > #{dump_filename}'"
|
|
24
29
|
mkdir_p Rails.root.join('tmp')
|
|
25
30
|
puts "Copying to local..."
|
|
@@ -113,7 +113,8 @@ create_file "app/views/layouts/application.html.haml", <<~LAYOUT
|
|
|
113
113
|
%title #{@app_name}
|
|
114
114
|
= csrf_meta_tags
|
|
115
115
|
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
|
|
116
|
-
=
|
|
116
|
+
= javascript_importmap_tags
|
|
117
|
+
= javascript_include_tag 'application', 'data-turbolinks-track': 'reload', type: "module"
|
|
117
118
|
%body
|
|
118
119
|
= render 'shopapp/shopapp3' do
|
|
119
120
|
= yield
|
|
@@ -320,7 +321,7 @@ puts "Shopapp #{@app_name} created!"
|
|
|
320
321
|
puts
|
|
321
322
|
puts "To activate app in Authlift, execute the following:"
|
|
322
323
|
puts " app = Doorkeeper::Application.find_or_create_by(name: '#{@app_name}')"
|
|
323
|
-
puts " app.
|
|
324
|
+
puts " app.update uid: '#{@app_id}',"
|
|
324
325
|
puts " secret: '#{@app_secret}',"
|
|
325
326
|
puts " redirect_uri: 'http://localhost:#{@app_dev_port}/auth/'"
|
|
326
327
|
puts " Company.find_by_code(:zwr).applications << app unless Company.find_by_code(:zwr).applications.include? app"
|
data/lib/shopapp.rb
CHANGED
data/shopapp.gemspec
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'shopapp'
|
|
3
|
-
|
|
4
|
-
s.
|
|
3
|
+
# Version for Rails 7 / Ruby 3 start with 0.74
|
|
4
|
+
s.version = '0.73.02'
|
|
5
|
+
s.date = '2023-03-01'
|
|
5
6
|
s.summary = 'Do a shoplift.'
|
|
6
7
|
s.description = 'Ha! Art thou Bedlam? Dost thou thirst base Trojan, to have me fold up Parca\'s fatal web? Hence!\
|
|
7
8
|
I am qualmish at the smell of leek.'
|
|
@@ -11,7 +12,7 @@ Gem::Specification.new do |s|
|
|
|
11
12
|
s.files = `git ls-files`.split("\n") - %w(.rvmrc .gitignore)
|
|
12
13
|
|
|
13
14
|
s.bindir = 'bin'
|
|
14
|
-
s.executables << 'shopitapp'
|
|
15
|
+
# s.executables << 'shopitapp'
|
|
15
16
|
s.executables << 'shop'
|
|
16
17
|
s.homepage = 'http://rubygems.org/gems/shopapp'
|
|
17
18
|
s.license = 'MIT'
|
|
@@ -19,30 +20,40 @@ Gem::Specification.new do |s|
|
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
# Dependences
|
|
22
|
-
s.add_dependency 'railties', '
|
|
23
|
-
s.add_dependency 'haml-rails'
|
|
24
|
-
s.add_dependency 'jquery-rails'
|
|
25
|
-
s.add_dependency
|
|
26
|
-
|
|
23
|
+
# s.add_dependency 'railties', '>= 5.2'
|
|
24
|
+
s.add_dependency 'haml-rails'
|
|
25
|
+
s.add_dependency 'jquery-rails'
|
|
26
|
+
s.add_dependency "sassc-rails"
|
|
27
|
+
|
|
28
|
+
# the following two must be in app Gemfile, for now.
|
|
29
|
+
# s.add_dependency 'bootstrap', '~> 4.1'
|
|
30
|
+
# s.add_dependency 'bootstrap_form', '~> 4.0'
|
|
31
|
+
|
|
32
|
+
# s.add_dependency 'font-awesome-rails', '~> 4.7'
|
|
33
|
+
# will_paginate 4.0.0 is broken, so do not include it.
|
|
34
|
+
# bootstrap-will_paginate has open dependency so this needs to be
|
|
35
|
+
# explicitelly limited by us
|
|
36
|
+
s.add_dependency 'will_paginate', '~> 3.1'
|
|
27
37
|
s.add_dependency 'bootstrap-will_paginate', '~> 1.0'
|
|
28
|
-
s.add_dependency 'pry-rails'
|
|
38
|
+
s.add_dependency 'pry-rails'
|
|
29
39
|
s.add_dependency 'oauth2', '~> 1.4'
|
|
30
40
|
s.add_dependency 'rest-client', '~> 2.0'
|
|
31
41
|
s.add_dependency 'gravatar_image_tag', '~> 1.2'
|
|
32
42
|
s.add_dependency 'redcarpet', '~> 3.4'
|
|
33
|
-
s.add_dependency 'audited'
|
|
34
|
-
s.add_dependency '
|
|
43
|
+
s.add_dependency 'audited'
|
|
44
|
+
s.add_dependency 'sprockets-rails'
|
|
45
|
+
s.add_dependency 'material_icons'
|
|
35
46
|
|
|
36
|
-
s.add_dependency 'capistrano', '~> 3.11'
|
|
37
|
-
s.add_dependency 'capistrano-rvm', '~> 0'
|
|
38
|
-
s.add_dependency 'capistrano-rails', '~> 1.2'
|
|
39
|
-
s.add_dependency 'capistrano-passenger', '~> 0.2.0'
|
|
47
|
+
# s.add_dependency 'capistrano', '~> 3.11'
|
|
48
|
+
# s.add_dependency 'capistrano-rvm', '~> 0'
|
|
49
|
+
# s.add_dependency 'capistrano-rails', '~> 1.2'
|
|
50
|
+
# s.add_dependency 'capistrano-passenger', '~> 0.2.0'
|
|
40
51
|
s.add_dependency 'aws-sdk-rails', '~> 2'
|
|
41
52
|
|
|
42
53
|
# following are only needed on OSX, but do not matter to others
|
|
43
|
-
s.add_dependency 'ed25519', '~> 1.2'
|
|
44
|
-
s.add_dependency 'bcrypt_pbkdf', '~> 1.0'
|
|
54
|
+
# s.add_dependency 'ed25519', '~> 1.2'
|
|
55
|
+
# s.add_dependency 'bcrypt_pbkdf', '~> 1.0'
|
|
45
56
|
|
|
46
57
|
# following are helping with installation dependences
|
|
47
|
-
s.add_dependency 'rb-readline', '~> 0.5'
|
|
58
|
+
# s.add_dependency 'rb-readline', '~> 0.5'
|
|
48
59
|
end
|
metadata
CHANGED
|
@@ -1,91 +1,71 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shopapp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.73.02
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zeljko
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-03-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
14
|
+
name: haml-rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
20
|
-
- - "~>"
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
version: '5.2'
|
|
19
|
+
version: '0'
|
|
23
20
|
type: :runtime
|
|
24
21
|
prerelease: false
|
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
23
|
requirements:
|
|
27
24
|
- - ">="
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '
|
|
30
|
-
- - "~>"
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: '5.2'
|
|
33
|
-
- !ruby/object:Gem::Dependency
|
|
34
|
-
name: haml-rails
|
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
|
36
|
-
requirements:
|
|
37
|
-
- - "~>"
|
|
38
|
-
- !ruby/object:Gem::Version
|
|
39
|
-
version: '2.0'
|
|
40
|
-
type: :runtime
|
|
41
|
-
prerelease: false
|
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
43
|
-
requirements:
|
|
44
|
-
- - "~>"
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: '2.0'
|
|
26
|
+
version: '0'
|
|
47
27
|
- !ruby/object:Gem::Dependency
|
|
48
28
|
name: jquery-rails
|
|
49
29
|
requirement: !ruby/object:Gem::Requirement
|
|
50
30
|
requirements:
|
|
51
|
-
- - "
|
|
31
|
+
- - ">="
|
|
52
32
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '
|
|
33
|
+
version: '0'
|
|
54
34
|
type: :runtime
|
|
55
35
|
prerelease: false
|
|
56
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
37
|
requirements:
|
|
58
|
-
- - "
|
|
38
|
+
- - ">="
|
|
59
39
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: '
|
|
40
|
+
version: '0'
|
|
61
41
|
- !ruby/object:Gem::Dependency
|
|
62
|
-
name:
|
|
42
|
+
name: sassc-rails
|
|
63
43
|
requirement: !ruby/object:Gem::Requirement
|
|
64
44
|
requirements:
|
|
65
|
-
- - "
|
|
45
|
+
- - ">="
|
|
66
46
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: '
|
|
47
|
+
version: '0'
|
|
68
48
|
type: :runtime
|
|
69
49
|
prerelease: false
|
|
70
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
71
51
|
requirements:
|
|
72
|
-
- - "
|
|
52
|
+
- - ">="
|
|
73
53
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: '
|
|
54
|
+
version: '0'
|
|
75
55
|
- !ruby/object:Gem::Dependency
|
|
76
|
-
name:
|
|
56
|
+
name: will_paginate
|
|
77
57
|
requirement: !ruby/object:Gem::Requirement
|
|
78
58
|
requirements:
|
|
79
59
|
- - "~>"
|
|
80
60
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: '
|
|
61
|
+
version: '3.1'
|
|
82
62
|
type: :runtime
|
|
83
63
|
prerelease: false
|
|
84
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
85
65
|
requirements:
|
|
86
66
|
- - "~>"
|
|
87
67
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: '
|
|
68
|
+
version: '3.1'
|
|
89
69
|
- !ruby/object:Gem::Dependency
|
|
90
70
|
name: bootstrap-will_paginate
|
|
91
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -104,16 +84,16 @@ dependencies:
|
|
|
104
84
|
name: pry-rails
|
|
105
85
|
requirement: !ruby/object:Gem::Requirement
|
|
106
86
|
requirements:
|
|
107
|
-
- - "
|
|
87
|
+
- - ">="
|
|
108
88
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: '0
|
|
89
|
+
version: '0'
|
|
110
90
|
type: :runtime
|
|
111
91
|
prerelease: false
|
|
112
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
113
93
|
requirements:
|
|
114
|
-
- - "
|
|
94
|
+
- - ">="
|
|
115
95
|
- !ruby/object:Gem::Version
|
|
116
|
-
version: '0
|
|
96
|
+
version: '0'
|
|
117
97
|
- !ruby/object:Gem::Dependency
|
|
118
98
|
name: oauth2
|
|
119
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -174,86 +154,44 @@ dependencies:
|
|
|
174
154
|
name: audited
|
|
175
155
|
requirement: !ruby/object:Gem::Requirement
|
|
176
156
|
requirements:
|
|
177
|
-
- - "
|
|
178
|
-
- !ruby/object:Gem::Version
|
|
179
|
-
version: '4.7'
|
|
180
|
-
type: :runtime
|
|
181
|
-
prerelease: false
|
|
182
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
183
|
-
requirements:
|
|
184
|
-
- - "~>"
|
|
185
|
-
- !ruby/object:Gem::Version
|
|
186
|
-
version: '4.7'
|
|
187
|
-
- !ruby/object:Gem::Dependency
|
|
188
|
-
name: material_design_icons
|
|
189
|
-
requirement: !ruby/object:Gem::Requirement
|
|
190
|
-
requirements:
|
|
191
|
-
- - "~>"
|
|
192
|
-
- !ruby/object:Gem::Version
|
|
193
|
-
version: '3.5'
|
|
194
|
-
type: :runtime
|
|
195
|
-
prerelease: false
|
|
196
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
197
|
-
requirements:
|
|
198
|
-
- - "~>"
|
|
199
|
-
- !ruby/object:Gem::Version
|
|
200
|
-
version: '3.5'
|
|
201
|
-
- !ruby/object:Gem::Dependency
|
|
202
|
-
name: capistrano
|
|
203
|
-
requirement: !ruby/object:Gem::Requirement
|
|
204
|
-
requirements:
|
|
205
|
-
- - "~>"
|
|
206
|
-
- !ruby/object:Gem::Version
|
|
207
|
-
version: '3.11'
|
|
208
|
-
type: :runtime
|
|
209
|
-
prerelease: false
|
|
210
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
211
|
-
requirements:
|
|
212
|
-
- - "~>"
|
|
213
|
-
- !ruby/object:Gem::Version
|
|
214
|
-
version: '3.11'
|
|
215
|
-
- !ruby/object:Gem::Dependency
|
|
216
|
-
name: capistrano-rvm
|
|
217
|
-
requirement: !ruby/object:Gem::Requirement
|
|
218
|
-
requirements:
|
|
219
|
-
- - "~>"
|
|
157
|
+
- - ">="
|
|
220
158
|
- !ruby/object:Gem::Version
|
|
221
159
|
version: '0'
|
|
222
160
|
type: :runtime
|
|
223
161
|
prerelease: false
|
|
224
162
|
version_requirements: !ruby/object:Gem::Requirement
|
|
225
163
|
requirements:
|
|
226
|
-
- - "
|
|
164
|
+
- - ">="
|
|
227
165
|
- !ruby/object:Gem::Version
|
|
228
166
|
version: '0'
|
|
229
167
|
- !ruby/object:Gem::Dependency
|
|
230
|
-
name:
|
|
168
|
+
name: sprockets-rails
|
|
231
169
|
requirement: !ruby/object:Gem::Requirement
|
|
232
170
|
requirements:
|
|
233
|
-
- - "
|
|
171
|
+
- - ">="
|
|
234
172
|
- !ruby/object:Gem::Version
|
|
235
|
-
version: '
|
|
173
|
+
version: '0'
|
|
236
174
|
type: :runtime
|
|
237
175
|
prerelease: false
|
|
238
176
|
version_requirements: !ruby/object:Gem::Requirement
|
|
239
177
|
requirements:
|
|
240
|
-
- - "
|
|
178
|
+
- - ">="
|
|
241
179
|
- !ruby/object:Gem::Version
|
|
242
|
-
version: '
|
|
180
|
+
version: '0'
|
|
243
181
|
- !ruby/object:Gem::Dependency
|
|
244
|
-
name:
|
|
182
|
+
name: material_icons
|
|
245
183
|
requirement: !ruby/object:Gem::Requirement
|
|
246
184
|
requirements:
|
|
247
|
-
- - "
|
|
185
|
+
- - ">="
|
|
248
186
|
- !ruby/object:Gem::Version
|
|
249
|
-
version: 0
|
|
187
|
+
version: '0'
|
|
250
188
|
type: :runtime
|
|
251
189
|
prerelease: false
|
|
252
190
|
version_requirements: !ruby/object:Gem::Requirement
|
|
253
191
|
requirements:
|
|
254
|
-
- - "
|
|
192
|
+
- - ">="
|
|
255
193
|
- !ruby/object:Gem::Version
|
|
256
|
-
version: 0
|
|
194
|
+
version: '0'
|
|
257
195
|
- !ruby/object:Gem::Dependency
|
|
258
196
|
name: aws-sdk-rails
|
|
259
197
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -268,54 +206,11 @@ dependencies:
|
|
|
268
206
|
- - "~>"
|
|
269
207
|
- !ruby/object:Gem::Version
|
|
270
208
|
version: '2'
|
|
271
|
-
- !ruby/object:Gem::Dependency
|
|
272
|
-
name: ed25519
|
|
273
|
-
requirement: !ruby/object:Gem::Requirement
|
|
274
|
-
requirements:
|
|
275
|
-
- - "~>"
|
|
276
|
-
- !ruby/object:Gem::Version
|
|
277
|
-
version: '1.2'
|
|
278
|
-
type: :runtime
|
|
279
|
-
prerelease: false
|
|
280
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
281
|
-
requirements:
|
|
282
|
-
- - "~>"
|
|
283
|
-
- !ruby/object:Gem::Version
|
|
284
|
-
version: '1.2'
|
|
285
|
-
- !ruby/object:Gem::Dependency
|
|
286
|
-
name: bcrypt_pbkdf
|
|
287
|
-
requirement: !ruby/object:Gem::Requirement
|
|
288
|
-
requirements:
|
|
289
|
-
- - "~>"
|
|
290
|
-
- !ruby/object:Gem::Version
|
|
291
|
-
version: '1.0'
|
|
292
|
-
type: :runtime
|
|
293
|
-
prerelease: false
|
|
294
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
295
|
-
requirements:
|
|
296
|
-
- - "~>"
|
|
297
|
-
- !ruby/object:Gem::Version
|
|
298
|
-
version: '1.0'
|
|
299
|
-
- !ruby/object:Gem::Dependency
|
|
300
|
-
name: rb-readline
|
|
301
|
-
requirement: !ruby/object:Gem::Requirement
|
|
302
|
-
requirements:
|
|
303
|
-
- - "~>"
|
|
304
|
-
- !ruby/object:Gem::Version
|
|
305
|
-
version: '0.5'
|
|
306
|
-
type: :runtime
|
|
307
|
-
prerelease: false
|
|
308
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
309
|
-
requirements:
|
|
310
|
-
- - "~>"
|
|
311
|
-
- !ruby/object:Gem::Version
|
|
312
|
-
version: '0.5'
|
|
313
209
|
description: |-
|
|
314
210
|
Ha! Art thou Bedlam? Dost thou thirst base Trojan, to have me fold up Parca's fatal web? Hence!\
|
|
315
211
|
I am qualmish at the smell of leek.
|
|
316
212
|
email: zeljko@z-ware.fi
|
|
317
213
|
executables:
|
|
318
|
-
- shopitapp
|
|
319
214
|
- shop
|
|
320
215
|
extensions: []
|
|
321
216
|
extra_rdoc_files: []
|
|
@@ -439,6 +334,7 @@ files:
|
|
|
439
334
|
- bin/shop
|
|
440
335
|
- bin/shopitapp
|
|
441
336
|
- config/initializers/active_settings.rb
|
|
337
|
+
- config/initializers/assets.rb
|
|
442
338
|
- config/initializers/audited.rb
|
|
443
339
|
- config/initializers/safe_email.rb
|
|
444
340
|
- lib/generators/shopapp/deploy/USAGE
|
|
@@ -455,7 +351,7 @@ homepage: http://rubygems.org/gems/shopapp
|
|
|
455
351
|
licenses:
|
|
456
352
|
- MIT
|
|
457
353
|
metadata: {}
|
|
458
|
-
post_install_message:
|
|
354
|
+
post_install_message:
|
|
459
355
|
rdoc_options: []
|
|
460
356
|
require_paths:
|
|
461
357
|
- lib
|
|
@@ -470,8 +366,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
470
366
|
- !ruby/object:Gem::Version
|
|
471
367
|
version: '0'
|
|
472
368
|
requirements: []
|
|
473
|
-
rubygems_version: 3.
|
|
474
|
-
signing_key:
|
|
369
|
+
rubygems_version: 3.4.1
|
|
370
|
+
signing_key:
|
|
475
371
|
specification_version: 4
|
|
476
372
|
summary: Do a shoplift.
|
|
477
373
|
test_files: []
|