prospectus 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prospectus/item.rb +2 -1
- data/lib/prospectus/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: ddcca330d31b871c0d1576551c9a5626001330fd
|
4
|
+
data.tar.gz: 80799ad715c20610064f61bd12af0d79f1bb12e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2253ec9d9423352a261159c8f09b0ceb44e7dfa6833d3aed017392f94c659451945f2bab4d2614344955f45a0e3faab8233f26601bfd2cbce9300b9583a467a8
|
7
|
+
data.tar.gz: fda0047c3c0d54e3d39ef1abb882a2e369664e726949bf0a92b09d20ea391bff02457aa3f9cbdf4e15b17339981409e4801531ac1eb91cc2fc26c88aa897e361
|
data/lib/prospectus/item.rb
CHANGED
@@ -9,11 +9,12 @@ module Prospectus
|
|
9
9
|
def initialize(params = {})
|
10
10
|
@options = params
|
11
11
|
@list = List.new(params)
|
12
|
+
@dir = Dir.pwd
|
12
13
|
end
|
13
14
|
|
14
15
|
def name
|
15
16
|
return @name if @name
|
16
|
-
@name = File.basename
|
17
|
+
@name = File.basename @dir
|
17
18
|
@name << "::#{File.basename @options[:file]}" if @options[:suffix_file]
|
18
19
|
@name
|
19
20
|
end
|
data/lib/prospectus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prospectus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Aker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mercenary
|