expansions 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +1 -1
- data/lib/core/cli_interface.rb +2 -2
- data/lib/core/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
This was one of the first projects I wrote when I was teaching myself ruby. A lot of the codebase definitely shows its age, but it is also what I use to this day to manage my [cross platform script configuration system].
|
4
4
|
|
5
|
-
It
|
5
|
+
It really supports one specific purpose (supporting the expansions for the scripts I was managing!!)
|
6
6
|
|
7
7
|
#Usage
|
8
8
|
|
data/lib/core/cli_interface.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
module Expansions
|
2
2
|
class CLIInterface
|
3
3
|
def get_expansion_file_name(args)
|
4
|
-
return args.count > 0 ? args[0] : "
|
4
|
+
return args.count > 0 ? args[0] : "ExpansionFile"
|
5
5
|
end
|
6
6
|
|
7
7
|
def ensure_expansion_file_provided(file)
|
8
8
|
unless File.exist?(file)
|
9
9
|
print <<-prompt
|
10
10
|
dwp_expand aborted!
|
11
|
-
No Expansionfile found (looking for:
|
11
|
+
No Expansionfile found (looking for: ExpansionFile)
|
12
12
|
prompt
|
13
13
|
exit
|
14
14
|
end
|
data/lib/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: expansions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-07-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|