shopapp 0.2.75 → 0.3.76

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29bc44ecf2f2e02711fbdc13d397692761af3889b8772b380c12d5b06d9d43eb
4
- data.tar.gz: c535758c4958663aafc15a2662e8ad6ae18485b587887fd59270f5bbe25ebd3d
3
+ metadata.gz: 2989c8e11cd3464593141e7d6807f686b840dc7f2e7ec029badaa782d9e1e2ae
4
+ data.tar.gz: 77cb11c0e9c3674856c13e8e9601cea27326bd5ddb171931ed10b405e5f0fd20
5
5
  SHA512:
6
- metadata.gz: 5fafdbae00c9e18ecb030bf84f425b40fc88d6951e6cdff933f413b3ae02fc6922dcc698173430def5de44ed9db688b9ff245bfc91827aa997fee203d14e68ca
7
- data.tar.gz: afb480c318b4750ed338050d0d272b17c34719162c2552ddbc5c1ac67e72eceb83399b9790d17fd176652faad6200cf51d1fe9b168ad03d11ba7051e1b0e6e44
6
+ metadata.gz: '0987c56ba3cd8ade4c32b0e111e87d8058083fa400bd1a390cd673258c876d0e13f60c44bc915085d61fbc8810b3f102687193af6fd70069a463e9ce2c8f94e0'
7
+ data.tar.gz: 0cd081011c85c0ac6111d4416c3703d4979118a89ccd745136c0f07fb519bf5dcfbff013708eb69396c0c1c3a6ff3733501358177b5d0daf77cd77ae837bd5ee
data/README.md CHANGED
@@ -93,4 +93,4 @@ shopapp to support i18n, add two methods to your ApplicationController:
93
93
 
94
94
  To build new version of this gem, change the version in shopapp.gemspec and run:
95
95
 
96
- gem build shopapp.gemspec ; gem push shopapp-0.2.75.gem; gem install shopapp
96
+ gem build shopapp.gemspec ; gem push shopapp-0.3.76.gem; gem install shopapp
@@ -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, onclick: onclick)
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: onclick,
137
+ onclick: onclick_action,
138
138
  }
139
139
  )
140
140
  #%button.btn.btn-danger.btn-sm Reject
@@ -1,5 +1,5 @@
1
1
  require 'gravatar_image_tag'
2
- require 'material_design_icons'
2
+ require 'rails_material_design_icons'
3
3
 
4
4
  module Shopapp
5
5
  class Engine < ::Rails::Engine
@@ -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..."
data/shopapp.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'shopapp'
3
- s.version = '0.2.75'
4
- s.date = '2020-05-12'
3
+ s.version = '0.3.76'
4
+ s.date = '2023-03-01'
5
5
  s.summary = 'Do a shoplift.'
6
6
  s.description = 'Ha! Art thou Bedlam? Dost thou thirst base Trojan, to have me fold up Parca\'s fatal web? Hence!\
7
7
  I am qualmish at the smell of leek.'
@@ -19,8 +19,8 @@ Gem::Specification.new do |s|
19
19
 
20
20
 
21
21
  # Dependences
22
- s.add_dependency 'railties', '~> 5.2', '>= 5.2'
23
- s.add_dependency 'haml-rails', '~> 2.0'
22
+ s.add_dependency 'railties', '>= 5.2'
23
+ s.add_dependency 'haml-rails'
24
24
  s.add_dependency 'jquery-rails', '~> 4.3'
25
25
  s.add_dependency 'bootstrap', '~> 4.1'
26
26
  s.add_dependency 'font-awesome-rails', '~> 4.7'
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
31
31
  s.add_dependency 'gravatar_image_tag', '~> 1.2'
32
32
  s.add_dependency 'redcarpet', '~> 3.4'
33
33
  s.add_dependency 'audited', '~> 4.7'
34
- s.add_dependency 'material_design_icons', '~> 3.5'
34
+ s.add_dependency 'rails_material_design_icons'
35
35
 
36
36
  s.add_dependency 'capistrano', '~> 3.11'
37
37
  s.add_dependency 'capistrano-rvm', '~> 0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.75
4
+ version: 0.3.76
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeljko
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-12 00:00:00.000000000 Z
11
+ date: 2023-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '5.2'
20
- - - "~>"
21
- - !ruby/object:Gem::Version
22
- version: '5.2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,23 +24,20 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '5.2'
30
- - - "~>"
31
- - !ruby/object:Gem::Version
32
- version: '5.2'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: haml-rails
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
- - - "~>"
31
+ - - ">="
38
32
  - !ruby/object:Gem::Version
39
- version: '2.0'
33
+ version: '0'
40
34
  type: :runtime
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
- - - "~>"
38
+ - - ">="
45
39
  - !ruby/object:Gem::Version
46
- version: '2.0'
40
+ version: '0'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: jquery-rails
49
43
  requirement: !ruby/object:Gem::Requirement
@@ -185,19 +179,19 @@ dependencies:
185
179
  - !ruby/object:Gem::Version
186
180
  version: '4.7'
187
181
  - !ruby/object:Gem::Dependency
188
- name: material_design_icons
182
+ name: rails_material_design_icons
189
183
  requirement: !ruby/object:Gem::Requirement
190
184
  requirements:
191
- - - "~>"
185
+ - - ">="
192
186
  - !ruby/object:Gem::Version
193
- version: '3.5'
187
+ version: '0'
194
188
  type: :runtime
195
189
  prerelease: false
196
190
  version_requirements: !ruby/object:Gem::Requirement
197
191
  requirements:
198
- - - "~>"
192
+ - - ">="
199
193
  - !ruby/object:Gem::Version
200
- version: '3.5'
194
+ version: '0'
201
195
  - !ruby/object:Gem::Dependency
202
196
  name: capistrano
203
197
  requirement: !ruby/object:Gem::Requirement
@@ -455,7 +449,7 @@ homepage: http://rubygems.org/gems/shopapp
455
449
  licenses:
456
450
  - MIT
457
451
  metadata: {}
458
- post_install_message:
452
+ post_install_message:
459
453
  rdoc_options: []
460
454
  require_paths:
461
455
  - lib
@@ -470,8 +464,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
470
464
  - !ruby/object:Gem::Version
471
465
  version: '0'
472
466
  requirements: []
473
- rubygems_version: 3.0.3
474
- signing_key:
467
+ rubygems_version: 3.2.3
468
+ signing_key:
475
469
  specification_version: 4
476
470
  summary: Do a shoplift.
477
471
  test_files: []