deadly_serious 0.9.5 → 0.10.0

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: 0332a71fd023c0ed99b3ff534c6eba41492ae850
4
- data.tar.gz: 7afdfb6cb968c69f769befb78a13eed65f370e81
3
+ metadata.gz: c4e5a695f5a8d23a761dcaeec8922f6a05c51810
4
+ data.tar.gz: 66e33d29d812a6be29dcbb73cc43ec733d3eb15a
5
5
  SHA512:
6
- metadata.gz: ec3dbfc72bc46db9b94cc144498a7f1be92d0f592d6d7f56cece3120f8d8855913ab014529b66f5111362f27d25fafa25ed6f1403f1e144909d9d853a3aba1fa
7
- data.tar.gz: 03c80f8ad6e55784aafc2645d875bd2f260e3618682622f65106c5370e56d6bca3e13d96786cd265247fe63e5a823a032a561550f2f2dab7436d4c63b2339311
6
+ metadata.gz: e81df18b44cb2f973511ddf230647195672be057e201445ee9a086e29020a2d9752c16fcbc9f590add086f6311c433430d36bc9eb440cee44b77dd5141ef4284
7
+ data.tar.gz: 796f4998d1710929ec493c2a4845ac5d52105fac24cc5e5f240266a0df5971c9aaf80a11b6ef1b4c1a4f354f61b486b137699f4ee14e0402e988bc3845fe3672
@@ -41,7 +41,13 @@ module DeadlySerious
41
41
  attr_reader :io_name
42
42
 
43
43
  def initialize(name, directory)
44
- @io_name = File.join(directory, name)
44
+ if name =~ /^\//
45
+ # Absolute file path
46
+ @io_name = name
47
+ else
48
+ # relative file path (relative to data_dir)
49
+ @io_name = File.join(directory, name)
50
+ end
45
51
  end
46
52
 
47
53
  def create
@@ -1,3 +1,3 @@
1
1
  module DeadlySerious
2
- VERSION = "0.9.5"
2
+ VERSION = "0.10.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deadly_serious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ronie Uliana
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-30 00:00:00.000000000 Z
11
+ date: 2014-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler