colorly 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 572649998dd2a43148239699a5c95c418d38860f7a89bc15ccba507b1414acab
4
- data.tar.gz: 062e72d51fe3fc1c61a1f4e3a8e2da95c5f4da8883a7ddd80c4a79639cb93ef0
3
+ metadata.gz: e7535f4f4f8e3bfddf9fd52b898c9d9462cadff128268a6be84d8f36dc701f58
4
+ data.tar.gz: 58066978fcee8cbfaac56e8f4be3e11550756083e3e490af10e29245d19a82f5
5
5
  SHA512:
6
- metadata.gz: 3e911bd401cf6459e7e24ed6396b2e4b0c0c6bad1e31e66e7204edbb568dcc2963f155f509c6638959f4f91dc2bbce5c4d7f2cd434e74609278f265a601e317c
7
- data.tar.gz: f4755d5079887a84bf97acb6624a1917648c98ea35e00e05f0128a32f15556c7d0d25e9eb793c70d9dae7e11f1e25da2c65d5e84aa738137b12726158a6d0c00
6
+ metadata.gz: a66ca24e08128a4922e3b0249b4b577fb9cebc6ecbe1fe65a4d877e05d18a67d3499309c819a0c0d67f24afef4640c6b8ec5e0e5a79bc92185907bbc1ce05132
7
+ data.tar.gz: 702180db6d13a1a8da042257c06f51983791234d4113591552cc8e33def5c007ad2ff1cd0d2c3f2fbfa4126c9c3d8fdd62c9ba855e8cf44bb49c90045d77fa42
@@ -92,10 +92,7 @@ module Colorly
92
92
  end
93
93
 
94
94
  def erb(template, vars)
95
- # TODO: This new format is only supported in Ruby >= 2.6
96
- # So for now, we keep the old deprecated syntax
97
- # ERB.new(template, trim_mode: '%-').result(binding)
98
- ERB.new(template, nil, '%-').result(OpenStruct.new(vars).instance_eval { binding })
95
+ ERB.new(template, trim_mode: '%-').result(OpenStruct.new(vars).instance_eval { binding })
99
96
  end
100
97
  end
101
98
  end
@@ -1,3 +1,3 @@
1
1
  module Colorly
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colorly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-10 00:00:00.000000000 Z
11
+ date: 2022-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chroma
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.1'
47
+ version: '2.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.1'
54
+ version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: mister_bin
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 2.4.0
117
+ version: 2.6.0
118
118
  required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - ">="
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
- rubygems_version: 3.2.25
124
+ rubygems_version: 3.3.14
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: Colorly color palette CLI