gem-search 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +15 -0
- data/.github/dependabot.yml +12 -0
- data/CHANGELOG.md +3 -0
- data/README.md +3 -4
- data/gem-search.gemspec +6 -14
- data/lib/gem_search/commands/base.rb +2 -2
- data/lib/gem_search/request.rb +1 -1
- data/lib/gem_search/version.rb +1 -1
- metadata +22 -16
- data/circle.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 81618621c00872f6bc05851fe31f5d25c9e289311d6b4367b2f3fefd4c27f949
|
4
|
+
data.tar.gz: f7b15a4bc1f751b684e5503759547683dcb9f56efda8523bc22dbd1fbede7946
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99a13ee987e8be5b11ecf44f6bc9cc7bb073e40036a209b8353320e80958d5349b87739c1847136ec27628c67352fdc6e7ec4dcdbe7cb5a9c47a43eb31543275
|
7
|
+
data.tar.gz: ca4cd4000bdc7312884c64f05a5ec7329c3b2b5026a432530b787d3245482c390288f04c5fd6f9fc548d083dd9760ded20a2bb08ea1112b44801ee8abe4f293d
|
@@ -0,0 +1,15 @@
|
|
1
|
+
version: 2.1
|
2
|
+
orbs:
|
3
|
+
ruby: circleci/ruby@0.1.2
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
docker:
|
8
|
+
- image: circleci/ruby:2.6.3-stretch-node
|
9
|
+
executor: ruby/default
|
10
|
+
steps:
|
11
|
+
- checkout
|
12
|
+
- run:
|
13
|
+
name: Which bundler?
|
14
|
+
command: bundle -v
|
15
|
+
- ruby/bundle-install
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
-
[![CircleCI](https://img.shields.io/circleci/project/rochefort/gem-search.svg
|
2
|
-
[![
|
3
|
-
[![
|
4
|
-
[![Gem Version](http://img.shields.io/gem/v/gem-search.svg?style=flat)](http://badge.fury.io/rb/gem-search)
|
1
|
+
[![CircleCI](https://img.shields.io/circleci/project/rochefort/gem-search.svg)](https://circleci.com/gh/rochefort/gem-search)
|
2
|
+
[![Code Climate](https://img.shields.io/codeclimate/maintainability/rochefort/gem-search)](https://codeclimate.com/github/rochefort/gem-search/maintainability)
|
3
|
+
[![Gem Version](http://img.shields.io/gem/v/gem-search.svg)](http://badge.fury.io/rb/gem-search)
|
5
4
|
|
6
5
|
# gem-search
|
7
6
|
|
data/gem-search.gemspec
CHANGED
@@ -2,18 +2,10 @@ require File.expand_path("../lib/gem_search/version", __FILE__)
|
|
2
2
|
|
3
3
|
def install_message
|
4
4
|
s = ""
|
5
|
-
s << "\xf0\x9f\x8d\xba "
|
5
|
+
s << "\xf0\x9f\x8d\xba "
|
6
6
|
s << "Thanks for installing!"
|
7
7
|
end
|
8
8
|
|
9
|
-
def or_over_mac_os_lion?
|
10
|
-
return false unless RUBY_PLATFORM =~ /darwin/
|
11
|
-
|
12
|
-
macos_full_version = `/usr/bin/sw_vers -productVersion`.chomp
|
13
|
-
macos_version = macos_full_version[/10\.\d+/]
|
14
|
-
macos_version >= "10.7" # 10.7 is lion
|
15
|
-
end
|
16
|
-
|
17
9
|
Gem::Specification.new do |gem|
|
18
10
|
gem.authors = ["rochefort"]
|
19
11
|
gem.email = ["terasawan@gmail.com"]
|
@@ -31,11 +23,11 @@ Gem::Specification.new do |gem|
|
|
31
23
|
|
32
24
|
gem.post_install_message = install_message
|
33
25
|
|
34
|
-
gem.add_dependency "slop", "
|
26
|
+
gem.add_dependency "slop", ">=4.4.1", "<4.10.0"
|
35
27
|
gem.add_dependency "mem", "~>0.1.5"
|
36
28
|
|
37
|
-
gem.add_development_dependency "webmock", "~>3.0
|
38
|
-
gem.add_development_dependency "rake", "~>
|
39
|
-
gem.add_development_dependency "rspec", "~>3.
|
40
|
-
gem.add_development_dependency "simplecov", "~>0.
|
29
|
+
gem.add_development_dependency "webmock", "~>3.14.0"
|
30
|
+
gem.add_development_dependency "rake", "~>13.0.0"
|
31
|
+
gem.add_development_dependency "rspec", "~>3.10.0"
|
32
|
+
gem.add_development_dependency "simplecov", "~>0.21.1"
|
41
33
|
end
|
@@ -11,14 +11,14 @@ module GemSearch
|
|
11
11
|
|
12
12
|
def puts_abort(args)
|
13
13
|
puts args
|
14
|
-
|
14
|
+
exit 1
|
15
15
|
end
|
16
16
|
|
17
17
|
def unexpected_error(e)
|
18
18
|
puts "\nAn unexpected #{e.class} has occurred."
|
19
19
|
puts e.message
|
20
20
|
puts e.backtrace if ENV["DEBUG"]
|
21
|
-
|
21
|
+
exit 1
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
data/lib/gem_search/request.rb
CHANGED
data/lib/gem_search/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem-search
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rochefort
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: slop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.4.1
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 4.10.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 4.4.1
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 4.10.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: mem
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,56 +50,56 @@ dependencies:
|
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.0
|
53
|
+
version: 3.14.0
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: 3.0
|
60
|
+
version: 3.14.0
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: rake
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
67
|
+
version: 13.0.0
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
74
|
+
version: 13.0.0
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: rspec
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: 3.
|
81
|
+
version: 3.10.0
|
76
82
|
type: :development
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: 3.
|
88
|
+
version: 3.10.0
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: simplecov
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
93
|
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
95
|
+
version: 0.21.1
|
90
96
|
type: :development
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
100
|
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
102
|
+
version: 0.21.1
|
97
103
|
description: search gems with using rubygems.org API
|
98
104
|
email:
|
99
105
|
- terasawan@gmail.com
|
@@ -102,6 +108,8 @@ executables:
|
|
102
108
|
extensions: []
|
103
109
|
extra_rdoc_files: []
|
104
110
|
files:
|
111
|
+
- ".circleci/config.yml"
|
112
|
+
- ".github/dependabot.yml"
|
105
113
|
- ".gitignore"
|
106
114
|
- ".rspec"
|
107
115
|
- ".rubocop.yml"
|
@@ -112,7 +120,6 @@ files:
|
|
112
120
|
- Rakefile
|
113
121
|
- bin/console
|
114
122
|
- bin/setup
|
115
|
-
- circle.yml
|
116
123
|
- exe/gem-search
|
117
124
|
- gem-search.gemspec
|
118
125
|
- lib/gem_search.rb
|
@@ -145,7 +152,7 @@ files:
|
|
145
152
|
homepage: https://github.com/rochefort/gem-search
|
146
153
|
licenses: []
|
147
154
|
metadata: {}
|
148
|
-
post_install_message: Thanks for installing!
|
155
|
+
post_install_message: "\U0001F37A Thanks for installing!"
|
149
156
|
rdoc_options: []
|
150
157
|
require_paths:
|
151
158
|
- lib
|
@@ -160,8 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
167
|
- !ruby/object:Gem::Version
|
161
168
|
version: '0'
|
162
169
|
requirements: []
|
163
|
-
|
164
|
-
rubygems_version: 2.6.11
|
170
|
+
rubygems_version: 3.1.6
|
165
171
|
signing_key:
|
166
172
|
specification_version: 4
|
167
173
|
summary: search gems with using rubygems.org API
|