wirb 2.1.1 → 2.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
  SHA1:
3
- metadata.gz: bf0f492185d3e2611bac0fe646202a9cdf02492a
4
- data.tar.gz: 70491e11f6f820f7d6ffe4a4fa09791584e88c50
3
+ metadata.gz: fa4212d9825d960bdf22a8e396d234ff6de8b58b
4
+ data.tar.gz: e57f146a8391abfc88a21c8bdaa48ac242ed4a87
5
5
  SHA512:
6
- metadata.gz: e78d06c03211006f1d016576162dfc1e88eb4b7841a074f484854006b023e6abcba68b17acefc8b44f16f29767fba7a7b1b613589e9f53f953f243c8240f899b
7
- data.tar.gz: 78d2175cb1fadf93bf5f83cf43bc7bc5d8ccad88d89e64fc6f0bb7c6a492f45e9e7a56f00c232ce73f5d9a89814ea48ae8a8eedb08be90a4c8888b53bd945fd8
6
+ metadata.gz: 7a0cb45671ed46005f6d5e97a1753dd0ccd0265f9a73a78c8cb2feafb210a7c2568795147bc0bc994987ea1184b1992f1175867f8663b464df411bc0448db022
7
+ data.tar.gz: 9f5c936e35f807d876882ee414b98fe473b5dec090161bf213c1289abf4ce46e3e48cf9f47b523ecbeef1d763264f7b451e598bb539e03e9bcb4181bd3f6bd15
@@ -1,3 +1,6 @@
1
+ ## 2.1.2
2
+ * Fix Gem.datadir deprecation
3
+
1
4
  ## 2.1.1
2
5
  * Relax paint dependency (allow paint versions >= 2.0)
3
6
 
data/README.md CHANGED
@@ -66,7 +66,7 @@ You can use WIRB like awesome_print to highlight any objects using `wp`:
66
66
  default):
67
67
  [ripl-color_result](https://github.com/janlelis/ripl-color_result)
68
68
  * More about terminal colors: [Paint](https://github.com/janlelis/paint)
69
- * [Wirble](http://pablotron.org/software/wirble/): WIRB's predecessor
69
+ * [Wirble](https://rubygems.org/gems/wirble): WIRB's predecessor
70
70
 
71
71
 
72
72
  ## Credits
@@ -14,7 +14,8 @@ module Wirb
14
14
 
15
15
  def self.resolve_schema_yaml(yaml_path)
16
16
  if yaml_path.is_a? Symbol # bundled themes
17
- [yaml_path.to_s, YAML.load_file(File.join(Gem.datadir('wirb'), "#{yaml_path}.yml"))]
17
+ datadir = Gem.loaded_specs['wirb'].datadir
18
+ [yaml_path.to_s, YAML.load_file(File.join(datadir, "#{yaml_path}.yml"))]
18
19
  else
19
20
  [File.basename(yaml_path).gsub(/\.yml$/, ''), YAML.load_file(yaml_path)]
20
21
  end
@@ -1,3 +1,3 @@
1
1
  module Wirb
2
- VERSION = '2.1.1'.freeze
2
+ VERSION = '2.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wirb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Lelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-18 00:00:00.000000000 Z
11
+ date: 2017-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paint
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  version: '0'
135
135
  requirements: []
136
136
  rubyforge_project:
137
- rubygems_version: 2.6.8
137
+ rubygems_version: 2.6.13
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: WIRB Interactive Ruby