shopapp 0.2.43 → 0.2.44
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/shopapp3.scss +1 -3
- data/bin/shop +1 -1
- data/lib/shopapp/engine.rb +1 -0
- data/lib/shopapp/tasks/shopapp.rake +16 -0
- data/shopapp.gemspec +3 -2
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85bd3c847507df718535e4f29cc00490f94f90afa05179ded58a184b76172fc7
|
4
|
+
data.tar.gz: c4edf7d126c504a0f0d5caa2ddc1d48abd667e60cb3e6cf46ba6af553e5f7172
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95df32bd18dd75c7aaacddfced3a98e6e4c1283c4c667529528f74b9f4d449c3690e75a0fc1013136e9eaeea8bb6023ad1d1fa33a7bda1d3e7c6b84de2cbf3ff
|
7
|
+
data.tar.gz: 459f791996a356f5d42c75e9c9372fcacb827e73877911fb2ad5d50d270d35476e7e1921e49701d4366f6fb5123bcc8eda82475754500c40677335c127ad31bc
|
@@ -1,4 +1,5 @@
|
|
1
1
|
@import "material.min";
|
2
|
+
@import "materialdesignicons";
|
2
3
|
|
3
4
|
html, body {
|
4
5
|
font-family: 'Fira Sans', Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
|
@@ -8,9 +9,6 @@ html, body {
|
|
8
9
|
-webkit-font-smoothing: antialiased;
|
9
10
|
-moz-osx-font-smoothing: grayscale;
|
10
11
|
}
|
11
|
-
.card {
|
12
|
-
box-shadow: none;
|
13
|
-
}
|
14
12
|
|
15
13
|
.navdrawer-persistent-lg {
|
16
14
|
right: auto;
|
data/bin/shop
CHANGED
@@ -5,7 +5,7 @@ unless File.exist?(Dir.pwd + '/Gemfile') && /gem.*shopapp/.match?(File.read(Dir.
|
|
5
5
|
end
|
6
6
|
|
7
7
|
deployment_targets = `rake shopapp:targets`.strip
|
8
|
-
commands = %w(console rake tail bash run pulldb fetchdb restoredb help)
|
8
|
+
commands = %w(console rake tail bash run pulldb fetchdb restoredb help revs)
|
9
9
|
if ARGV.count == 2 && ARGV[0] == 'help' && (commands.include? ARGV[1])
|
10
10
|
cmd = "rake shopapp:help cmd=#{ARGV[1]}"
|
11
11
|
elsif ARGV.count < 2 ||
|
data/lib/shopapp/engine.rb
CHANGED
@@ -91,6 +91,20 @@ namespace :shopapp do
|
|
91
91
|
exec %(target=#{ENV['target']} rake shopapp:run "rake #{ARGV[1]}")
|
92
92
|
end
|
93
93
|
|
94
|
+
desc "list revisions (including last one)"
|
95
|
+
task revs: :environment do
|
96
|
+
ARGV.each { |a| task a.to_sym do ; end }
|
97
|
+
user = deployment_settings['user']
|
98
|
+
server = deployment_settings['server']
|
99
|
+
|
100
|
+
deployment_folder_name = (deployment_settings['folder']) ||
|
101
|
+
"#{(Rails.configuration.settings['shopapp_name'] ||
|
102
|
+
Rails.application.class.parent_name).to_s.downcase.parameterize.underscore}/current"
|
103
|
+
|
104
|
+
cmd = %(ssh -t #{user}@#{server} 'cd #{deployment_folder_name.gsub('/current', '')}; ls ; cat revisions.log')
|
105
|
+
exec cmd
|
106
|
+
end
|
107
|
+
|
94
108
|
desc 'help about these rakes tasks'
|
95
109
|
task :help do
|
96
110
|
puts case ENV['cmd']
|
@@ -112,6 +126,8 @@ namespace :shopapp do
|
|
112
126
|
when 'restoredb'
|
113
127
|
"Restores database dump fetched with fetchdb from tmp folder.\n" +
|
114
128
|
"Parameter is the database name without dump suffix). Default is the latest dump."
|
129
|
+
when 'revs'
|
130
|
+
"Shows latest deployed revisions. Last one (lowest one) is the active one."
|
115
131
|
when 'help'
|
116
132
|
"Com'on, for real!"
|
117
133
|
else
|
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.
|
4
|
-
s.date = '2019-04-
|
3
|
+
s.version = '0.2.44'
|
4
|
+
s.date = '2019-04-15'
|
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.'
|
@@ -31,6 +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
35
|
|
35
36
|
s.add_dependency 'capistrano', '~> 3.11'
|
36
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.
|
4
|
+
version: 0.2.44
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zeljko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -184,6 +184,20 @@ dependencies:
|
|
184
184
|
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
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'
|
187
201
|
- !ruby/object:Gem::Dependency
|
188
202
|
name: capistrano
|
189
203
|
requirement: !ruby/object:Gem::Requirement
|