bundled_gems 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +5 -2
- data/bin/bgem +4 -0
- data/bundled_gems.gemspec +7 -4
- data/exe/bgem +7 -0
- data/lib/bundled_gem/cli.rb +14 -0
- data/lib/bundled_gem/version.rb +3 -1
- data/lib/bundled_gems.rb +2 -0
- metadata +35 -18
- data/Gemfile.lock +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b9089d309c13a540008bf19e45d431710fb61be598719e9da8fd4495b1d8d25
|
4
|
+
data.tar.gz: da8afb0076317d4bbc3afe5a63097e2d0978be12c99f3ed047b6b8316f2c86d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dbefcc29cedc9bd6257a064d3f6bc2d6e18314c88b3aae7c789d72343b78edf1d92d3a22c9df15cff755d772aeeea73616fa45a32d9129d9f68cd487ae84276
|
7
|
+
data.tar.gz: 60826c632d28a0613c0d9b5fffb16a4a087c9c3959f25bf10cf69c572ad4d8de9737d7a894556610b0951372eaf4c31b619623dfae7ecde508cb7c02424616a1
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/bin/bgem
ADDED
data/bundled_gems.gemspec
CHANGED
@@ -23,10 +23,13 @@ Gem::Specification.new do |spec|
|
|
23
23
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
24
24
|
end
|
25
25
|
spec.bindir = "exe"
|
26
|
-
spec.executables =
|
26
|
+
spec.executables = %w[bgem]
|
27
27
|
spec.require_paths = ["lib"]
|
28
28
|
|
29
|
-
spec.add_dependency "bundler"
|
30
|
-
spec.
|
31
|
-
|
29
|
+
spec.add_dependency "bundler"
|
30
|
+
spec.add_dependency "thor"
|
31
|
+
|
32
|
+
spec.add_development_dependency "minitest"
|
33
|
+
spec.add_development_dependency "rake"
|
34
|
+
# spec.add_development_dependency "rubocop-rails_config"
|
32
35
|
end
|
data/exe/bgem
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'thor'
|
4
|
+
|
5
|
+
module BundledGem
|
6
|
+
class Cli < Thor
|
7
|
+
desc "list", "bundle list(without bundle install)"
|
8
|
+
def list
|
9
|
+
gemfilelock_content = File.read("./Gemfile.lock")
|
10
|
+
lockfile = Bundler::LockfileParser.new(gemfilelock_content)
|
11
|
+
lockfile.specs.each { |s| puts "#{s.name}, #{s.version}" }
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
data/lib/bundled_gem/version.rb
CHANGED
data/lib/bundled_gems.rb
CHANGED
metadata
CHANGED
@@ -1,61 +1,76 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundled_gems
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toshimaru
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: thor
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
-
type: :
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
61
|
+
version: '0'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- - "
|
66
|
+
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
68
|
+
version: '0'
|
55
69
|
description: BundledGems
|
56
70
|
email:
|
57
71
|
- me@toshimaru.net
|
58
|
-
executables:
|
72
|
+
executables:
|
73
|
+
- bgem
|
59
74
|
extensions: []
|
60
75
|
extra_rdoc_files: []
|
61
76
|
files:
|
@@ -63,13 +78,15 @@ files:
|
|
63
78
|
- ".travis.yml"
|
64
79
|
- CODE_OF_CONDUCT.md
|
65
80
|
- Gemfile
|
66
|
-
- Gemfile.lock
|
67
81
|
- LICENSE.txt
|
68
82
|
- README.md
|
69
83
|
- Rakefile
|
84
|
+
- bin/bgem
|
70
85
|
- bin/console
|
71
86
|
- bin/setup
|
72
87
|
- bundled_gems.gemspec
|
88
|
+
- exe/bgem
|
89
|
+
- lib/bundled_gem/cli.rb
|
73
90
|
- lib/bundled_gem/version.rb
|
74
91
|
- lib/bundled_gems.rb
|
75
92
|
homepage: https://github.com/toshimaru/bundled_gems
|
data/Gemfile.lock
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
bundled_gems (0.0.0)
|
5
|
-
bundler (~> 2.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
minitest (5.12.2)
|
11
|
-
rake (10.5.0)
|
12
|
-
|
13
|
-
PLATFORMS
|
14
|
-
ruby
|
15
|
-
|
16
|
-
DEPENDENCIES
|
17
|
-
bundled_gems!
|
18
|
-
minitest (~> 5.0)
|
19
|
-
rake (~> 10.0)
|
20
|
-
|
21
|
-
BUNDLED WITH
|
22
|
-
2.0.2
|