jive 0.2.0 → 0.2.1
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/jive.gemspec +8 -10
- data/lib/jive.rb +4 -0
- data/lib/jive/cli.rb +9 -0
- data/lib/jive/version.rb +1 -1
- metadata +3 -15
- data/.github/workflows/ci.yml +0 -28
- data/.gitignore +0 -7
- data/.rubocop.yml +0 -37
- data/Gemfile +0 -6
- data/Gemfile.lock +0 -50
- data/Rakefile +0 -14
- data/bin/console +0 -8
- data/bin/run +0 -7
- data/bin/setup +0 -6
- data/bin/shipit +0 -7
- data/bin/style +0 -6
- data/bin/test +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bddc17f6e7de98fa8523b1397b9b71ba62d9a3f3d8a1afe0d3f2e199c1ae455d
|
4
|
+
data.tar.gz: 116b830e7c5f78974da8c983218ddeb85e9cf3ca848845fdfad03c0a5b61e866
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 334e951bcf57081638f45c698cc75f3bfa9bc196286b19e0bb0e11031dc595b82c85df4354c4d1b7b93803072319e9ab958b75cfdf472eb36f5ad30ceda32234
|
7
|
+
data.tar.gz: dc64e8622088871e639cfcc1465aa00ede6653539d8f1959529215c8c3b1efae5bb11eefd2b1e888f64d58e05b09df3fc074b8bc0f0d1cd56111b16b09abd043
|
data/jive.gemspec
CHANGED
@@ -15,21 +15,19 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
end
|
25
|
-
end
|
18
|
+
spec.files = Dir["lib/**/*.rb"] + Dir["exe/*"] + [
|
19
|
+
"LICENSE.txt",
|
20
|
+
"README.md",
|
21
|
+
"jive.gemspec",
|
22
|
+
"jive.sh"
|
23
|
+
]
|
26
24
|
spec.bindir = "exe"
|
27
25
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
28
26
|
spec.require_paths = ["lib"]
|
29
27
|
spec.post_install_message = <<~MESSAGE
|
30
|
-
|
28
|
+
Run the following command for setup instructions:
|
31
29
|
|
32
|
-
|
30
|
+
$ jive setup
|
33
31
|
MESSAGE
|
34
32
|
|
35
33
|
spec.add_dependency "thor", "~> 1.1"
|
data/lib/jive.rb
CHANGED
data/lib/jive/cli.rb
CHANGED
@@ -24,6 +24,15 @@ module Jive
|
|
24
24
|
])
|
25
25
|
end
|
26
26
|
|
27
|
+
desc "setup", "provide instructions to integrate into shell"
|
28
|
+
def setup
|
29
|
+
say <<~MESSAGE
|
30
|
+
Include the following in your ~/.bash_profile
|
31
|
+
|
32
|
+
source #{::Jive.root.join("jive.sh")}
|
33
|
+
MESSAGE
|
34
|
+
end
|
35
|
+
|
27
36
|
private
|
28
37
|
|
29
38
|
COMMAND_MAP = {
|
data/lib/jive/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mo khan
|
@@ -102,20 +102,8 @@ executables:
|
|
102
102
|
extensions: []
|
103
103
|
extra_rdoc_files: []
|
104
104
|
files:
|
105
|
-
- ".github/workflows/ci.yml"
|
106
|
-
- ".gitignore"
|
107
|
-
- ".rubocop.yml"
|
108
|
-
- Gemfile
|
109
|
-
- Gemfile.lock
|
110
105
|
- LICENSE.txt
|
111
106
|
- README.md
|
112
|
-
- Rakefile
|
113
|
-
- bin/console
|
114
|
-
- bin/run
|
115
|
-
- bin/setup
|
116
|
-
- bin/shipit
|
117
|
-
- bin/style
|
118
|
-
- bin/test
|
119
107
|
- exe/jive
|
120
108
|
- jive.gemspec
|
121
109
|
- jive.sh
|
@@ -131,9 +119,9 @@ licenses:
|
|
131
119
|
metadata:
|
132
120
|
homepage_uri: https://rubygems.org/gems/jive
|
133
121
|
post_install_message: |
|
134
|
-
|
122
|
+
Run the following command for setup instructions:
|
135
123
|
|
136
|
-
|
124
|
+
$ jive setup
|
137
125
|
rdoc_options: []
|
138
126
|
require_paths:
|
139
127
|
- lib
|
data/.github/workflows/ci.yml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
name: ci
|
2
|
-
on:
|
3
|
-
push:
|
4
|
-
branches: [main]
|
5
|
-
pull_request:
|
6
|
-
branches: [main]
|
7
|
-
jobs:
|
8
|
-
test:
|
9
|
-
runs-on: ubuntu-latest
|
10
|
-
strategy:
|
11
|
-
matrix:
|
12
|
-
ruby-version: ['2.5', '2.6', '2.7', '3.0']
|
13
|
-
steps:
|
14
|
-
- uses: actions/checkout@v2
|
15
|
-
- uses: ruby/setup-ruby@v1
|
16
|
-
with:
|
17
|
-
ruby-version: ${{ matrix.ruby-version }}
|
18
|
-
bundler-cache: true
|
19
|
-
- run: ./bin/test
|
20
|
-
style:
|
21
|
-
runs-on: ubuntu-latest
|
22
|
-
steps:
|
23
|
-
- uses: actions/checkout@v2
|
24
|
-
- uses: ruby/setup-ruby@v1
|
25
|
-
with:
|
26
|
-
ruby-version: '3'
|
27
|
-
bundler-cache: true
|
28
|
-
- run: ./bin/style
|
data/.gitignore
DELETED
data/.rubocop.yml
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
require:
|
2
|
-
- rubocop-minitest
|
3
|
-
- rubocop-rake
|
4
|
-
|
5
|
-
AllCops:
|
6
|
-
NewCops: enable
|
7
|
-
TargetRubyVersion: 2.5
|
8
|
-
|
9
|
-
Layout/LineLength:
|
10
|
-
Max: 120
|
11
|
-
|
12
|
-
Layout/EndOfLine:
|
13
|
-
EnforcedStyle: lf
|
14
|
-
|
15
|
-
Layout/FirstArrayElementIndentation:
|
16
|
-
EnforcedStyle: consistent
|
17
|
-
|
18
|
-
Metrics/AbcSize:
|
19
|
-
Exclude:
|
20
|
-
- lib/jive/batch_runner.rb
|
21
|
-
- lib/jive/popen.rb
|
22
|
-
|
23
|
-
Metrics/MethodLength:
|
24
|
-
Exclude:
|
25
|
-
- lib/jive/batch_runner.rb
|
26
|
-
- lib/jive/popen.rb
|
27
|
-
|
28
|
-
Style/Documentation:
|
29
|
-
Enabled: false
|
30
|
-
|
31
|
-
Style/StringLiterals:
|
32
|
-
Enabled: true
|
33
|
-
EnforcedStyle: double_quotes
|
34
|
-
|
35
|
-
Style/StringLiteralsInInterpolation:
|
36
|
-
Enabled: true
|
37
|
-
EnforcedStyle: double_quotes
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
jive (0.2.0)
|
5
|
-
thor (~> 1.1)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
ast (2.4.2)
|
11
|
-
minitest (5.14.3)
|
12
|
-
parallel (1.20.1)
|
13
|
-
parser (3.0.0.0)
|
14
|
-
ast (~> 2.4.1)
|
15
|
-
rainbow (3.0.0)
|
16
|
-
rake (13.0.3)
|
17
|
-
regexp_parser (2.0.3)
|
18
|
-
rexml (3.2.4)
|
19
|
-
rubocop (1.9.1)
|
20
|
-
parallel (~> 1.10)
|
21
|
-
parser (>= 3.0.0.0)
|
22
|
-
rainbow (>= 2.2.2, < 4.0)
|
23
|
-
regexp_parser (>= 1.8, < 3.0)
|
24
|
-
rexml
|
25
|
-
rubocop-ast (>= 1.2.0, < 2.0)
|
26
|
-
ruby-progressbar (~> 1.7)
|
27
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
28
|
-
rubocop-ast (1.4.1)
|
29
|
-
parser (>= 2.7.1.5)
|
30
|
-
rubocop-minitest (0.10.3)
|
31
|
-
rubocop (>= 0.87, < 2.0)
|
32
|
-
rubocop-rake (0.5.1)
|
33
|
-
rubocop
|
34
|
-
ruby-progressbar (1.11.0)
|
35
|
-
thor (1.1.0)
|
36
|
-
unicode-display_width (2.0.0)
|
37
|
-
|
38
|
-
PLATFORMS
|
39
|
-
ruby
|
40
|
-
|
41
|
-
DEPENDENCIES
|
42
|
-
jive!
|
43
|
-
minitest (~> 5.0)
|
44
|
-
rake (~> 13.0)
|
45
|
-
rubocop (~> 1.7)
|
46
|
-
rubocop-minitest (~> 0.1)
|
47
|
-
rubocop-rake (~> 0.5)
|
48
|
-
|
49
|
-
BUNDLED WITH
|
50
|
-
2.2.8
|
data/Rakefile
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "bundler/gem_tasks"
|
4
|
-
require "rake/testtask"
|
5
|
-
require "rubocop/rake_task"
|
6
|
-
|
7
|
-
Rake::TestTask.new(:test) do |task|
|
8
|
-
task.libs << "lib"
|
9
|
-
task.libs << "test"
|
10
|
-
task.test_files = FileList["test/**/*_test.rb"]
|
11
|
-
end
|
12
|
-
RuboCop::RakeTask.new
|
13
|
-
|
14
|
-
task default: %i[test rubocop]
|
data/bin/console
DELETED
data/bin/run
DELETED
data/bin/setup
DELETED
data/bin/shipit
DELETED
data/bin/style
DELETED