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 +4 -4
- data/lib/deadly_serious/engine/channel.rb +7 -1
- data/lib/deadly_serious/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4e5a695f5a8d23a761dcaeec8922f6a05c51810
|
4
|
+
data.tar.gz: 66e33d29d812a6be29dcbb73cc43ec733d3eb15a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
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.
|
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-
|
11
|
+
date: 2014-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|