tomograph 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tomograph/configuration.rb +2 -1
- data/lib/tomograph/tomogram.rb +5 -1
- data/lib/tomograph/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: 3228f341aa3435287604e817404f80f26eec5b71
|
4
|
+
data.tar.gz: c6db2eb21936aa5523e1c3506cb1fca18d795a70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c82ba6aa0a2137a3f63884f327cdca1ae0f731f455bb8b888f5e99afeddb3d17702144880e1b90d322043e13d81543578aa9f72afa15c6fc3407524e5bf106da
|
7
|
+
data.tar.gz: a815f9f5c0e800e20929dbf9c83734e1bdb743754dcd08ffeb61813517c174ef431cbc9c238a38863599ee0d288887720dbf324b2f5de335afeb997da4d8d7cf
|
data/lib/tomograph/tomogram.rb
CHANGED
@@ -63,7 +63,11 @@ module Tomograph
|
|
63
63
|
end
|
64
64
|
|
65
65
|
def documentation
|
66
|
-
|
66
|
+
if Tomograph.configuration.drafter_yaml
|
67
|
+
YAML.load(Tomograph.configuration.drafter_yaml)
|
68
|
+
else
|
69
|
+
YAML.load(File.read("#{Rails.root}/#{Tomograph.configuration.documentation}"))
|
70
|
+
end
|
67
71
|
end
|
68
72
|
|
69
73
|
def delete_till_the_end(path, beginning_with)
|
data/lib/tomograph/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tomograph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- d.efimov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|