webash 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/webash.rb +1 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7852391f3c9eb888f7268700f9b3d059b793a1d1
4
- data.tar.gz: 76891c0d7d9172a597cb0520177484505d7f6035
3
+ metadata.gz: 6a108aa309773292fae863dbf9b1c03056a79479
4
+ data.tar.gz: 4d105506da67985795cfa724284f57c448286cfd
5
5
  SHA512:
6
- metadata.gz: a4d6e7e954d2646e191c673e4c902ce3ad0e1cfa288372a7f522362cafe3c488f64c3f0d52de72ef14f6825265dab6c4b2e7e7bc8503d8e36725c1f50422cc61
7
- data.tar.gz: 49a480ad8212b55d6c864d63b6ade9749ebe00831f6452d36aec2f043329d991358fe7793616bafa8bd9b96e8d58a05dd966f2e7aacb2ed903b1b511743d1830
6
+ metadata.gz: c15f6167c3adfbd22f54d5b0af92035a3ae26ad49214d56a90b6fc28000c21f3f72e026cad44a060ff07b223dcc5a7f0a714232d96955f80f30cd235445c5e00
7
+ data.tar.gz: 5aaa5f805052f15cb35071ad8aa1191a140f585717e38d8da7e242fd7488942df5277ee526d0bdbca10f0d8717e01fcd310853e61e405bddfbc049994f024956
data/lib/webash.rb CHANGED
@@ -4,9 +4,7 @@ require 'deep_merge'
4
4
 
5
5
  class Webash
6
6
  def self.show_sample_config
7
- matches = Gem::Specification.find_all_by_name 'webash'
8
- spec = matches.first
9
- filename = File.expand_path('examples/config.yaml.sample', spec.full_gem_path)
7
+ filename = File.expand_path('examples/config.yaml.sample', Gem.loaded_specs["webash"].full_gem_path)
10
8
  puts "Please specify config file. Sample config file can be found at #{filename}"
11
9
  end
12
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webash
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
  - Alex Pekurovsky