paint 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a770bcb2ba94afcf2b0893440ce37df5a0faa835
4
- data.tar.gz: 69e81b4d1cab420f02f8ffc4a42b0ecc9e9069c1
3
+ metadata.gz: 1d819e1f6c54afdf78b2e6ccba831feec079c970
4
+ data.tar.gz: a0eb4fbbba70595736ca220fc0d8be53e0beae66
5
5
  SHA512:
6
- metadata.gz: 35e06b35ea02ac6e8b04e3090ed1cad3e299fd5d8482c76afc3ad26440ccb8526586e90c2f713a588e9ba3a6a313c54cfd06be2490afb54289015f239e87158d
7
- data.tar.gz: d25fe01cabb5d0ea4bc57d01dbd7ed9925d0522fdee2a60869365f74fb00ac93af1884443983171009cadaac98fef9db094cf6918d59ef10d5e656026a85ab45
6
+ metadata.gz: 1c74a497afce5d4e821828aa47829e0e9b7673aa3bbe9e87892d5759bcbc5f4603722aa9244597fb7272738c845d5eb0178f0687281c2d4c15addf6a2c9215d7
7
+ data.tar.gz: 5a62fa59f2459f8514a447dd1b85bdba7561937363f7004d3d93ca40461cc1e26da60d55e9f30874ca7d8e1c5e9e760d3e3ef94be08150feae3c2f98a5f20c1a
@@ -2,14 +2,15 @@ sudo: false
2
2
  language: ruby
3
3
 
4
4
  rvm:
5
- - 2.3.3
5
+ - 2.4.2
6
+ - 2.3.5
6
7
  - 2.2
7
8
  - 2.1
8
9
  - 2.0
9
10
  - 1.9.3
10
11
  - ruby-head
11
12
  - jruby-head
12
- - jruby-9.1.5.0
13
+ - jruby-9.1.13.0
13
14
 
14
15
  matrix:
15
16
  allow_failures:
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### 2.0.1
4
+
5
+ * Fix nested substitutions, patch by @mildmojo
6
+
3
7
  ### 2.0.0
4
8
  #### Major Changes
5
9
 
@@ -27,7 +27,7 @@ module Paint
27
27
  substitutions.each{ |key, value|
28
28
  string.gsub!(
29
29
  "%{#{key}}",
30
- (value.is_a?(Array) ? self%[value, current_color] : value.to_s)
30
+ (value.is_a?(Array) ? self.%(value, current_color) : value.to_s)
31
31
  )
32
32
  }
33
33
  end
@@ -1,3 +1,3 @@
1
1
  module Paint
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paint
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-23 00:00:00.000000000 Z
11
+ date: 2017-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  requirements:
168
168
  - 'Windows: ansicon (https://github.com/adoxa/ansicon) or ConEmu (http://code.google.com/p/conemu-maximus5)'
169
169
  rubyforge_project:
170
- rubygems_version: 2.5.2
170
+ rubygems_version: 2.6.13
171
171
  signing_key:
172
172
  specification_version: 4
173
173
  summary: Terminal painter!