npm_3pp_lister 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f0db2048f2476a26bfc5bd22838aacd12511f4c6b468586e465f784e38652655
4
+ data.tar.gz: a17a762eee3c5410865b35a439481e60ff9cc1f1006750e17f076c511cc84a01
5
+ SHA512:
6
+ metadata.gz: 1c76d599e30a3c72c3176b99272e9415cf68cc32ede3833a61837f3d74eb45d09d22d620f5eec8565e44c3faffa388f77b05252f465ff3c90bc3be8d50c536c6
7
+ data.tar.gz: c9daa04fd13820e43088379edf4e671749a509df01facde309f16e35185ba61897685235b62de9cf65796bf64b705526522198568f3ce3c0541670f43b8716d1
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.5.1
7
+ before_install: gem install bundler -v 1.17.1
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in npm_3pp_lister.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,123 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ npm_3pp_lister (0.2.0)
5
+ colorize (~> 0.8.1)
6
+ pastel (~> 0.7.2)
7
+ thor (~> 0.20.0)
8
+ tty-color (~> 0.4.2)
9
+ tty-command (~> 0.8.0)
10
+ tty-config (~> 0.2.0)
11
+ tty-cursor (~> 0.5.0)
12
+ tty-editor (~> 0.4.0)
13
+ tty-file (~> 0.6.0)
14
+ tty-font (~> 0.2.0)
15
+ tty-markdown (~> 0.4.0)
16
+ tty-pager (~> 0.11.0)
17
+ tty-platform (~> 0.1.0)
18
+ tty-progressbar (~> 0.15.0)
19
+ tty-prompt (~> 0.16.1)
20
+ tty-screen (~> 0.6.4)
21
+ tty-spinner (~> 0.8.0)
22
+ tty-table (~> 0.10.0)
23
+ tty-tree (~> 0.1.0)
24
+ tty-which (~> 0.3.0)
25
+
26
+ GEM
27
+ remote: https://rubygems.org/
28
+ specs:
29
+ colorize (0.8.1)
30
+ diff-lcs (1.3)
31
+ equatable (0.5.0)
32
+ kramdown (1.16.2)
33
+ necromancer (0.4.0)
34
+ pastel (0.7.2)
35
+ equatable (~> 0.5.0)
36
+ tty-color (~> 0.4.0)
37
+ rake (10.5.0)
38
+ rouge (3.1.1)
39
+ rspec (3.8.0)
40
+ rspec-core (~> 3.8.0)
41
+ rspec-expectations (~> 3.8.0)
42
+ rspec-mocks (~> 3.8.0)
43
+ rspec-core (3.8.0)
44
+ rspec-support (~> 3.8.0)
45
+ rspec-expectations (3.8.2)
46
+ diff-lcs (>= 1.2.0, < 2.0)
47
+ rspec-support (~> 3.8.0)
48
+ rspec-mocks (3.8.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.8.0)
51
+ rspec-support (3.8.0)
52
+ strings (0.1.4)
53
+ strings-ansi (~> 0.1.0)
54
+ unicode-display_width (~> 1.4.0)
55
+ unicode_utils (~> 1.4.0)
56
+ strings-ansi (0.1.0)
57
+ thor (0.20.3)
58
+ timers (4.2.0)
59
+ tty-color (0.4.3)
60
+ tty-command (0.8.2)
61
+ pastel (~> 0.7.0)
62
+ tty-config (0.2.0)
63
+ tty-cursor (0.5.0)
64
+ tty-editor (0.4.0)
65
+ tty-prompt (~> 0.16.0)
66
+ tty-which (~> 0.3.0)
67
+ tty-file (0.6.0)
68
+ diff-lcs (~> 1.3.0)
69
+ pastel (~> 0.7.2)
70
+ tty-prompt (~> 0.16.1)
71
+ tty-font (0.2.0)
72
+ tty-markdown (0.4.0)
73
+ kramdown (~> 1.16.2)
74
+ pastel (~> 0.7.2)
75
+ rouge (~> 3.1.0)
76
+ strings (~> 0.1.0)
77
+ tty-color (~> 0.4.2)
78
+ tty-screen (~> 0.6.4)
79
+ tty-pager (0.11.0)
80
+ strings (~> 0.1.0)
81
+ tty-screen (~> 0.6.4)
82
+ tty-which (~> 0.3.0)
83
+ tty-platform (0.1.0)
84
+ tty-progressbar (0.15.1)
85
+ tty-cursor (~> 0.5.0)
86
+ tty-screen (~> 0.6.4)
87
+ unicode-display_width (~> 1.3)
88
+ tty-prompt (0.16.1)
89
+ necromancer (~> 0.4.0)
90
+ pastel (~> 0.7.0)
91
+ timers (~> 4.0)
92
+ tty-cursor (~> 0.5.0)
93
+ tty-reader (~> 0.3.0)
94
+ tty-reader (0.3.0)
95
+ tty-cursor (~> 0.5.0)
96
+ tty-screen (~> 0.6.4)
97
+ wisper (~> 2.0.0)
98
+ tty-screen (0.6.5)
99
+ tty-spinner (0.8.0)
100
+ tty-cursor (>= 0.5.0)
101
+ tty-table (0.10.0)
102
+ equatable (~> 0.5.0)
103
+ necromancer (~> 0.4.0)
104
+ pastel (~> 0.7.2)
105
+ strings (~> 0.1.0)
106
+ tty-screen (~> 0.6.4)
107
+ tty-tree (0.1.0)
108
+ tty-which (0.3.0)
109
+ unicode-display_width (1.4.0)
110
+ unicode_utils (1.4.0)
111
+ wisper (2.0.0)
112
+
113
+ PLATFORMS
114
+ ruby
115
+
116
+ DEPENDENCIES
117
+ bundler (~> 1.17)
118
+ npm_3pp_lister!
119
+ rake (~> 10.0)
120
+ rspec (~> 3.0)
121
+
122
+ BUNDLED WITH
123
+ 1.17.1
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Eric Khoury
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,16 @@
1
+ # Npm3ppLister
2
+
3
+ Generates a list of dependencies in package.json, with name, version and a
4
+ link to the source code of the specific version on the NPM registry.
5
+
6
+ ## Installation
7
+
8
+ $ gem install npm_3pp_lister
9
+
10
+ ## Usage
11
+
12
+ $ npm_3pp_lister list
13
+
14
+ ## License
15
+
16
+ Do whatever you want
data/Rakefile ADDED
@@ -0,0 +1,27 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+
4
+ begin
5
+ Bundler.setup(:default, :development)
6
+ rescue Bundler::BundlerError => e
7
+ $stderr.puts e.message
8
+ $stderr.puts "Run `bundle install` to install missing gems"
9
+ exit e.status_code
10
+ end
11
+
12
+ require 'rake'
13
+
14
+ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
15
+
16
+ require 'rspec/core'
17
+ require 'rspec/core/rake_task'
18
+ RSpec::Core::RakeTask.new(:spec) do |spec|
19
+ spec.pattern = FileList['spec/**/*_spec.rb']
20
+ end
21
+
22
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
23
+ spec.pattern = 'spec/**/*_spec.rb'
24
+ spec.rcov = true
25
+ end
26
+
27
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "npm_3pp_lister"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ lib_path = File.expand_path('../lib', __dir__)
5
+ $:.unshift(lib_path) if !$:.include?(lib_path)
6
+ require 'npm_3pp_lister/cli'
7
+
8
+ Signal.trap('INT') do
9
+ warn("\n#{caller.join("\n")}: interrupted")
10
+ exit(1)
11
+ end
12
+
13
+ begin
14
+ Npm3ppLister::CLI.start
15
+ rescue Npm3ppLister::CLI::Error => err
16
+ puts "ERROR: #{err.message}"
17
+ exit 1
18
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'thor'
4
+
5
+ module Npm3ppLister
6
+ # Handle the application command line parsing
7
+ # and the dispatch to various command objects
8
+ #
9
+ # @api public
10
+ class CLI < Thor
11
+ # Error raised by this runner
12
+ Error = Class.new(StandardError)
13
+
14
+ desc 'version', 'npm_3pp_lister version'
15
+ def version
16
+ require_relative 'version'
17
+ puts "v#{Npm3ppLister::VERSION}"
18
+ end
19
+ map %w(--version -v) => :version
20
+
21
+ desc 'list', 'list all packages set as dependency (not devDependency)'
22
+ method_option :help, aliases: '-h', type: :boolean, desc: 'Display commands'
23
+ def list(*)
24
+ if options[:help]
25
+ invoke :help, ['list']
26
+ else
27
+ require_relative 'commands/list'
28
+ Npm3ppLister::Commands::List.new(options).execute
29
+ end
30
+ end
31
+ map %w(--l -l) => :list
32
+ end
33
+ end
@@ -0,0 +1,121 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'forwardable'
4
+
5
+ module Npm3ppLister
6
+ class Command
7
+ extend Forwardable
8
+
9
+ def_delegators :command, :run
10
+
11
+ # Execute this command
12
+ #
13
+ # @api public
14
+ def execute(*)
15
+ raise(
16
+ NotImplementedError,
17
+ "#{self.class}##{__method__} must be implemented"
18
+ )
19
+ end
20
+
21
+ # The external commands runner
22
+ #
23
+ # @see http://www.rubydoc.info/gems/tty-command
24
+ #
25
+ # @api public
26
+ def command(**options)
27
+ require 'tty-command'
28
+ TTY::Command.new(options)
29
+ end
30
+
31
+ # The cursor movement
32
+ #
33
+ # @see http://www.rubydoc.info/gems/tty-cursor
34
+ #
35
+ # @api public
36
+ def cursor
37
+ require 'tty-cursor'
38
+ TTY::Cursor
39
+ end
40
+
41
+ # Open a file or text in the user's preferred editor
42
+ #
43
+ # @see http://www.rubydoc.info/gems/tty-editor
44
+ #
45
+ # @api public
46
+ def editor
47
+ require 'tty-editor'
48
+ TTY::Editor
49
+ end
50
+
51
+ # File manipulation utility methods
52
+ #
53
+ # @see http://www.rubydoc.info/gems/tty-file
54
+ #
55
+ # @api public
56
+ def generator
57
+ require 'tty-file'
58
+ TTY::File
59
+ end
60
+
61
+ # Terminal output paging
62
+ #
63
+ # @see http://www.rubydoc.info/gems/tty-pager
64
+ #
65
+ # @api public
66
+ def pager(**options)
67
+ require 'tty-pager'
68
+ TTY::Pager.new(options)
69
+ end
70
+
71
+ # Terminal platform and OS properties
72
+ #
73
+ # @see http://www.rubydoc.info/gems/tty-pager
74
+ #
75
+ # @api public
76
+ def platform
77
+ require 'tty-platform'
78
+ TTY::Platform.new
79
+ end
80
+
81
+ # The interactive prompt
82
+ #
83
+ # @see http://www.rubydoc.info/gems/tty-prompt
84
+ #
85
+ # @api public
86
+ def prompt(**options)
87
+ require 'tty-prompt'
88
+ TTY::Prompt.new(options)
89
+ end
90
+
91
+ # Get terminal screen properties
92
+ #
93
+ # @see http://www.rubydoc.info/gems/tty-screen
94
+ #
95
+ # @api public
96
+ def screen
97
+ require 'tty-screen'
98
+ TTY::Screen
99
+ end
100
+
101
+ # The unix which utility
102
+ #
103
+ # @see http://www.rubydoc.info/gems/tty-which
104
+ #
105
+ # @api public
106
+ def which(*args)
107
+ require 'tty-which'
108
+ TTY::Which.which(*args)
109
+ end
110
+
111
+ # Check if executable exists
112
+ #
113
+ # @see http://www.rubydoc.info/gems/tty-which
114
+ #
115
+ # @api public
116
+ def exec_exist?(*args)
117
+ require 'tty-which'
118
+ TTY::Which.exist?(*args)
119
+ end
120
+ end
121
+ end
@@ -0,0 +1 @@
1
+ #
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../command'
4
+ require 'json'
5
+ require 'colorize'
6
+
7
+ module Npm3ppLister
8
+ module Commands
9
+ class List < Npm3ppLister::Command
10
+ def initialize(options)
11
+ @options = options
12
+ end
13
+
14
+ def execute(input: $stdin, output: $stdout)
15
+ if File.file?('./package.json')
16
+ file = File.read('./package.json')
17
+ json = JSON.parse(file)
18
+
19
+ json["dependencies"].each do |key, val|
20
+ File.open("./3pp_list.txt","a") do |f|
21
+ output.puts "#{key.colorize(:yellow)}: #{val}" + " " + "https://registry.npmjs.org/#{key}/-/#{key}-#{val.gsub("^", "").gsub("~", "")}.tgz".colorize(:green)
22
+ f.puts "#{key}:#{val} - https://registry.npmjs.org/#{key}/-/#{key}-#{val.gsub("^", "").gsub("~", "")}.tgz"
23
+ end
24
+ end
25
+ output.puts "\n\nResult written to 3pp_list.txt"
26
+
27
+ else
28
+ output.puts "- No package.json found here -"
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1 @@
1
+ #
@@ -0,0 +1,3 @@
1
+ module Npm3ppLister
2
+ VERSION = "0.2.0"
3
+ end
@@ -0,0 +1,6 @@
1
+ require "npm_3pp_lister/version"
2
+
3
+ module Npm3ppLister
4
+ class Error < StandardError; end
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,63 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "npm_3pp_lister/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "npm_3pp_lister"
8
+ spec.license = "MIT"
9
+ spec.version = Npm3ppLister::VERSION
10
+ spec.authors = ["Eric Khoury"]
11
+ spec.email = ["khoury@live.se"]
12
+
13
+ spec.summary = "Generates a list of dependencies in package.json, with name, version and a link to the source code of the specific version on the NPM registry."
14
+ spec.description = ""
15
+ spec.homepage = "https://github.com/eric-khoury/npm_3pp_lister"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
21
+
22
+ spec.metadata["homepage_uri"] = spec.homepage
23
+ spec.metadata["source_code_uri"] = "https://github.com/eric-khoury/npm_3pp_lister"
24
+ spec.metadata["changelog_uri"] = "https://github.com/eric-khoury/npm_3pp_lister"
25
+ else
26
+ raise "RubyGems 2.0 or newer is required to protect against " \
27
+ "public gem pushes."
28
+ end
29
+
30
+ # Specify which files should be added to the gem when it is released.
31
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
32
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
33
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
34
+ end
35
+ spec.bindir = "exe"
36
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
+ spec.require_paths = ["lib"]
38
+
39
+ spec.add_dependency "tty-color", "~> 0.4.2"
40
+ spec.add_dependency "tty-command", "~> 0.8.0"
41
+ spec.add_dependency "tty-config", "~> 0.2.0"
42
+ spec.add_dependency "tty-cursor", "~> 0.5.0"
43
+ spec.add_dependency "tty-editor", "~> 0.4.0"
44
+ spec.add_dependency "tty-file", "~> 0.6.0"
45
+ spec.add_dependency "tty-font", "~> 0.2.0"
46
+ spec.add_dependency "tty-markdown", "~> 0.4.0"
47
+ spec.add_dependency "tty-pager", "~> 0.11.0"
48
+ spec.add_dependency "tty-platform", "~> 0.1.0"
49
+ spec.add_dependency "tty-progressbar", "~> 0.15.0"
50
+ spec.add_dependency "tty-prompt", "~> 0.16.1"
51
+ spec.add_dependency "tty-screen", "~> 0.6.4"
52
+ spec.add_dependency "tty-spinner", "~> 0.8.0"
53
+ spec.add_dependency "tty-table", "~> 0.10.0"
54
+ spec.add_dependency "tty-tree", "~> 0.1.0"
55
+ spec.add_dependency "tty-which", "~> 0.3.0"
56
+ spec.add_dependency "pastel", "~> 0.7.2"
57
+ spec.add_dependency "thor", "~> 0.20.0"
58
+ spec.add_dependency "colorize", "~> 0.8.1"
59
+
60
+ spec.add_development_dependency "bundler", "~> 1.17"
61
+ spec.add_development_dependency "rake", "~> 10.0"
62
+ spec.add_development_dependency "rspec", "~> 3.0"
63
+ end
metadata ADDED
@@ -0,0 +1,392 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: npm_3pp_lister
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Eric Khoury
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-12-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: tty-color
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.4.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.4.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: tty-command
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.8.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.8.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: tty-config
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.2.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.2.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: tty-cursor
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.5.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.5.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: tty-editor
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.4.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.4.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: tty-file
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.6.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.6.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: tty-font
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.2.0
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.2.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: tty-markdown
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.4.0
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.4.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: tty-pager
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.11.0
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.11.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: tty-platform
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 0.1.0
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 0.1.0
153
+ - !ruby/object:Gem::Dependency
154
+ name: tty-progressbar
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 0.15.0
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 0.15.0
167
+ - !ruby/object:Gem::Dependency
168
+ name: tty-prompt
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: 0.16.1
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: 0.16.1
181
+ - !ruby/object:Gem::Dependency
182
+ name: tty-screen
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: 0.6.4
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: 0.6.4
195
+ - !ruby/object:Gem::Dependency
196
+ name: tty-spinner
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: 0.8.0
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: 0.8.0
209
+ - !ruby/object:Gem::Dependency
210
+ name: tty-table
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: 0.10.0
216
+ type: :runtime
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: 0.10.0
223
+ - !ruby/object:Gem::Dependency
224
+ name: tty-tree
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: 0.1.0
230
+ type: :runtime
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: 0.1.0
237
+ - !ruby/object:Gem::Dependency
238
+ name: tty-which
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: 0.3.0
244
+ type: :runtime
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: 0.3.0
251
+ - !ruby/object:Gem::Dependency
252
+ name: pastel
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - "~>"
256
+ - !ruby/object:Gem::Version
257
+ version: 0.7.2
258
+ type: :runtime
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - "~>"
263
+ - !ruby/object:Gem::Version
264
+ version: 0.7.2
265
+ - !ruby/object:Gem::Dependency
266
+ name: thor
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - "~>"
270
+ - !ruby/object:Gem::Version
271
+ version: 0.20.0
272
+ type: :runtime
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - "~>"
277
+ - !ruby/object:Gem::Version
278
+ version: 0.20.0
279
+ - !ruby/object:Gem::Dependency
280
+ name: colorize
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - "~>"
284
+ - !ruby/object:Gem::Version
285
+ version: 0.8.1
286
+ type: :runtime
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - "~>"
291
+ - !ruby/object:Gem::Version
292
+ version: 0.8.1
293
+ - !ruby/object:Gem::Dependency
294
+ name: bundler
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - "~>"
298
+ - !ruby/object:Gem::Version
299
+ version: '1.17'
300
+ type: :development
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - "~>"
305
+ - !ruby/object:Gem::Version
306
+ version: '1.17'
307
+ - !ruby/object:Gem::Dependency
308
+ name: rake
309
+ requirement: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - "~>"
312
+ - !ruby/object:Gem::Version
313
+ version: '10.0'
314
+ type: :development
315
+ prerelease: false
316
+ version_requirements: !ruby/object:Gem::Requirement
317
+ requirements:
318
+ - - "~>"
319
+ - !ruby/object:Gem::Version
320
+ version: '10.0'
321
+ - !ruby/object:Gem::Dependency
322
+ name: rspec
323
+ requirement: !ruby/object:Gem::Requirement
324
+ requirements:
325
+ - - "~>"
326
+ - !ruby/object:Gem::Version
327
+ version: '3.0'
328
+ type: :development
329
+ prerelease: false
330
+ version_requirements: !ruby/object:Gem::Requirement
331
+ requirements:
332
+ - - "~>"
333
+ - !ruby/object:Gem::Version
334
+ version: '3.0'
335
+ description: ''
336
+ email:
337
+ - khoury@live.se
338
+ executables:
339
+ - npm_3pp_lister
340
+ extensions: []
341
+ extra_rdoc_files: []
342
+ files:
343
+ - ".gitignore"
344
+ - ".rspec"
345
+ - ".travis.yml"
346
+ - Gemfile
347
+ - Gemfile.lock
348
+ - LICENSE.txt
349
+ - README.md
350
+ - Rakefile
351
+ - bin/console
352
+ - bin/setup
353
+ - exe/npm_3pp_lister
354
+ - lib/npm_3pp_lister.rb
355
+ - lib/npm_3pp_lister/cli.rb
356
+ - lib/npm_3pp_lister/command.rb
357
+ - lib/npm_3pp_lister/commands/.gitkeep
358
+ - lib/npm_3pp_lister/commands/list.rb
359
+ - lib/npm_3pp_lister/templates/.gitkeep
360
+ - lib/npm_3pp_lister/templates/list/.gitkeep
361
+ - lib/npm_3pp_lister/version.rb
362
+ - npm_3pp_lister.gemspec
363
+ homepage: https://github.com/eric-khoury/npm_3pp_lister
364
+ licenses:
365
+ - MIT
366
+ metadata:
367
+ allowed_push_host: https://rubygems.org
368
+ homepage_uri: https://github.com/eric-khoury/npm_3pp_lister
369
+ source_code_uri: https://github.com/eric-khoury/npm_3pp_lister
370
+ changelog_uri: https://github.com/eric-khoury/npm_3pp_lister
371
+ post_install_message:
372
+ rdoc_options: []
373
+ require_paths:
374
+ - lib
375
+ required_ruby_version: !ruby/object:Gem::Requirement
376
+ requirements:
377
+ - - ">="
378
+ - !ruby/object:Gem::Version
379
+ version: '0'
380
+ required_rubygems_version: !ruby/object:Gem::Requirement
381
+ requirements:
382
+ - - ">="
383
+ - !ruby/object:Gem::Version
384
+ version: '0'
385
+ requirements: []
386
+ rubyforge_project:
387
+ rubygems_version: 2.7.6
388
+ signing_key:
389
+ specification_version: 4
390
+ summary: Generates a list of dependencies in package.json, with name, version and
391
+ a link to the source code of the specific version on the NPM registry.
392
+ test_files: []