london-bike-hire-cli 1.3.1 → 1.3.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: d671c2c0f1e169a21f29d72549a428bb33611d4c
4
- data.tar.gz: 3f32c3f533b6a18741d28e57275a289762b3260d
3
+ metadata.gz: d1e9e6f773f78b8247ecddba86e07e3512075243
4
+ data.tar.gz: 731c0a3a0e4efc9aa79cb583a6bd4305e44c9ea6
5
5
  SHA512:
6
- metadata.gz: 664bcbc0ebcbf7fe0ad5b3af52961f186f618928eb84dc4c9c571742052da197e92a6a8bb93addba70927a9c028ecc8b575f646351a89abe00d71643a7a40f86
7
- data.tar.gz: 3665a466b1f0d4d2a3d08ca212ebbf401be996c3e99cf8a3f4dd5858732ed7498425cfa6d598a8349a67d379e3b16be0ca6c03279a8f2ca1f3d018b43845ef7e
6
+ metadata.gz: 52fe1d036965c5374d3308cff38a348b4b01ab3c1872dc0c223e6bf6a458be8c1fde43bdbac879802f62e91160d74e8972d345b9063ef942f5291bfeea666a1c
7
+ data.tar.gz: 6faea855db7c1fb76fb906a080bbf07199278df4f71147e45a4c50dd2e7089afb6432bc966ca880abee83e4317037a17aeb9ef22b1f9fb52ff901e59a3f388d9
@@ -25,7 +25,11 @@ module LondonBikeHireCli
25
25
  end
26
26
 
27
27
  def find_template(template_name)
28
- File.read("lib/london_bike_hire_cli/views/#{template_name}.erb")
28
+ File.read("#{template_dir}/#{template_name}.erb")
29
+ end
30
+
31
+ def template_dir
32
+ File.expand_path('../views/', __FILE__)
29
33
  end
30
34
  end
31
35
  end
@@ -1,3 +1,3 @@
1
1
  module LondonBikeHireCli
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: london-bike-hire-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Murray
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-02 00:00:00.000000000 Z
11
+ date: 2015-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler