pain 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pain/color_strings.rb +5 -1
- data/lib/pain/version.rb +1 -1
- data/pain.gemspec +3 -3
- metadata +10 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f552d25b184c1963e158d8122d6bbf723ded5894540ede5c1a9e67de15fae8d6
|
4
|
+
data.tar.gz: 993afeaac56795a0cfecaa1ac1335f549aa77b1cec6d10333b56be5b9ac4ad21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 300dc6d6f4fd5e2f926761a63db59d2419d2664cb30c4b396a0429a9b2b20229f8c62185ee7ee1d63b6516ddadc110ae0dd8371404e5af2e1061a87a5687eed8
|
7
|
+
data.tar.gz: 46e9c1aa2cda46a74ec9775dba46b3c683670d23a22bf2f7a3f2d76933f49ef3378ada8b53df8b4a795395dc2051a233650e881b7e7876ae7242f69e6d0d1e4a
|
data/lib/pain/color_strings.rb
CHANGED
@@ -5,7 +5,11 @@ require 'term/ansicolor'
|
|
5
5
|
module Pain
|
6
6
|
module ColorStrings
|
7
7
|
refine String do
|
8
|
-
|
8
|
+
Term::ANSIColor.public_instance_methods.each do |method|
|
9
|
+
define_method(method) do |*args|
|
10
|
+
Term::ANSIColor.send(method, *args).to_s
|
11
|
+
end
|
12
|
+
end
|
9
13
|
end
|
10
14
|
end
|
11
15
|
end
|
data/lib/pain/version.rb
CHANGED
data/pain.gemspec
CHANGED
@@ -18,11 +18,11 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = 'pain'
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = ['lib']
|
21
|
+
spec.required_ruby_version = '>= 3.2'
|
21
22
|
|
22
|
-
spec.add_dependency 'term-ansicolor'
|
23
|
-
spec.add_dependency 'tins'
|
23
|
+
spec.add_dependency 'term-ansicolor', '~> 1.11'
|
24
24
|
|
25
|
-
spec.add_development_dependency 'bundler', '~> 2'
|
25
|
+
spec.add_development_dependency 'bundler', '~> 2.5'
|
26
26
|
spec.add_development_dependency 'rake'
|
27
27
|
spec.add_development_dependency 'rspec', '< 4'
|
28
28
|
spec.add_development_dependency 'simplecov'
|
metadata
CHANGED
@@ -1,57 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Nicholson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: term-ansicolor
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: tins
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
17
|
+
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
19
|
+
version: '1.11'
|
34
20
|
type: :runtime
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
|
-
- - "
|
24
|
+
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
26
|
+
version: '1.11'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: bundler
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2'
|
33
|
+
version: '2.5'
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '2'
|
40
|
+
version: '2.5'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: rake
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,14 +159,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
173
159
|
requirements:
|
174
160
|
- - ">="
|
175
161
|
- !ruby/object:Gem::Version
|
176
|
-
version: '
|
162
|
+
version: '3.2'
|
177
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
164
|
requirements:
|
179
165
|
- - ">="
|
180
166
|
- !ruby/object:Gem::Version
|
181
167
|
version: '0'
|
182
168
|
requirements: []
|
183
|
-
rubygems_version: 3.
|
169
|
+
rubygems_version: 3.5.22
|
184
170
|
signing_key:
|
185
171
|
specification_version: 4
|
186
172
|
summary: Quickly calculate User Pain for a bug
|