jefferies_tube 1.5 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/README.md +16 -12
- data/jefferies_tube.gemspec +1 -1
- data/lib/jefferies_tube/capistrano/deploy.rb +2 -2
- data/lib/jefferies_tube/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b198777c05f8317a5e390997d5591bff0364660bf109cd8eeff3f0f21bdd8da4
|
4
|
+
data.tar.gz: 12cde353d7a77b39f2b6625a90b156dbe2af4e74737365923838f313cc47ff35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a20b3231274286cf315f85defcaa66e0ba1ad8f3be0cd87dc981d3b1fc1f4ee3abe5346b026bbe63b53afdc7fcd809e2a028a46b58ea9b9898ee23aa3de3764
|
7
|
+
data.tar.gz: '084c3100acaa3a1b8d331b2facd9627ed165a674251a3109a63cad3c54b78899b21981f5321397c5ba00e3a42ff124373723bdeed90598b7268461633a79f0b0'
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.1.0
|
data/README.md
CHANGED
@@ -51,43 +51,47 @@ require 'jefferies_tube/capistrano'
|
|
51
51
|
|
52
52
|
#### Tasks
|
53
53
|
|
54
|
-
* `cap
|
54
|
+
* `cap dev ssh`
|
55
55
|
|
56
56
|
Open ssh session in `current` directory.
|
57
57
|
|
58
|
-
* `cap
|
58
|
+
* `cap dev rails:console`
|
59
59
|
|
60
60
|
Open rails console.
|
61
61
|
|
62
|
-
* `cap
|
62
|
+
* `cap dev rails:dbconsole`
|
63
63
|
|
64
64
|
Open database console.
|
65
65
|
|
66
|
-
* `cap
|
66
|
+
* `cap dev rails:log`
|
67
67
|
|
68
|
-
Open log file. Can specify log file like so: `LOG=foobar cap
|
68
|
+
Open log file. Can specify log file like so: `LOG=foobar cap dev rails:log`
|
69
69
|
|
70
|
-
* `cap
|
70
|
+
* `cap dev rails:allthelogs`
|
71
71
|
|
72
|
-
Open the logfile for all servers (has the role :app) combined. Can specify log file like so: `LOG=foobar cap
|
72
|
+
Open the logfile for all servers (has the role :app) combined. Can specify log file like so: `LOG=foobar cap dev rails:allthelogs`
|
73
73
|
|
74
|
-
* `cap
|
74
|
+
* `cap dev rails:rake[task:name]`
|
75
|
+
|
76
|
+
Run the given rake task.
|
77
|
+
|
78
|
+
* `cap dev db:backup`
|
75
79
|
|
76
80
|
Make a database backup.
|
77
81
|
|
78
|
-
* `cap
|
82
|
+
* `cap dev db:fetch`
|
79
83
|
|
80
84
|
Fetches the latest database backup. Useful for getting production data locally.
|
81
85
|
|
82
|
-
* `cap
|
86
|
+
* `cap dev db:restore FILE=path/to/backup.dump`
|
83
87
|
|
84
88
|
Nuke the server's database with one you give it. Don't do this on production for obvious reasons. Useful for putting a backup fetched from production onto a dev server.
|
85
89
|
|
86
|
-
* `cap
|
90
|
+
* `cap dev deploy:ensure_tag`
|
87
91
|
|
88
92
|
Yells at you if there is not a tag for your code.
|
89
93
|
|
90
|
-
* `cap
|
94
|
+
* `cap dev deploy:create_tag`
|
91
95
|
|
92
96
|
Creates a tag for your code and pushes it.
|
93
97
|
|
data/jefferies_tube.gemspec
CHANGED
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_development_dependency "rake"
|
25
25
|
spec.add_development_dependency "rspec", '~> 3.0'
|
26
26
|
|
27
|
-
spec.add_dependency "bundler-audit", '~> 0.
|
27
|
+
spec.add_dependency "bundler-audit", '~> 0.9.0'
|
28
28
|
spec.add_dependency "pry", '~> 0.13'
|
29
29
|
end
|
@@ -34,9 +34,9 @@ namespace :deploy do
|
|
34
34
|
scanner.scan(ignore: ignore) do |result|
|
35
35
|
vulnerable = true
|
36
36
|
case result
|
37
|
-
when Bundler::Audit::
|
37
|
+
when Bundler::Audit::Results::InsecureSource
|
38
38
|
puts "Insecure Source URI found: #{result.source}"
|
39
|
-
when Bundler::Audit::
|
39
|
+
when Bundler::Audit::Results::UnpatchedGem
|
40
40
|
puts "#{result.gem} is not secure!"
|
41
41
|
end
|
42
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jefferies_tube
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Samson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.9.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.9.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: pry
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
176
|
- !ruby/object:Gem::Version
|
177
177
|
version: '0'
|
178
178
|
requirements: []
|
179
|
-
rubygems_version: 3.
|
179
|
+
rubygems_version: 3.3.3
|
180
180
|
signing_key:
|
181
181
|
specification_version: 4
|
182
182
|
summary: Ten Forward Consulting useful tools.
|