musket 0.0.1 → 0.0.2
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.
- checksums.yaml +8 -8
- data/lib/musket.rb +1 -1
- data/lib/musket/configuration.rb +2 -2
- data/lib/musket/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjJkNjdlNmIwZDdkMWY0NWVmYjZiNGY4YTQ4N2U2MDQ4YjdjOTk3Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Y2Q2ZTgwZDU0YzY2ZTJmM2E2ZjM2YjNlY2VlMGEzZWM3ZDJkOTMxNQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGNkZjM4NDllY2UxZDM4NzZiNDY5OTZhMmU1YWY0YTc1YzExOTlhMTAwMjNl
|
10
|
+
MTgyZmUxYjJkZWIwMTA1NWM0NmJjYmRiNTQ1MjUxMzI5N2MwN2FhMDQ0Njc3
|
11
|
+
MGMyYmY3MzBjODNkNzE2YTM3OGNiZDAyYzFhZWFiZTQzYzZlYzc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTcxMmUwNzJkMTIyZjc2NGQyY2YwYmQxODc4YTI4YmQ2MmU5M2Y3YWJiNTAz
|
14
|
+
YWRhYjQwYjU2MTIzOWYyNGRmNDE1ZDE5NjI3ZGQ5MzgwNmRkNTUzOTIzMTk1
|
15
|
+
ZjYxZDk2YTE2YzM3MGMzNzRlNzAzYWU5MGNjM2JlM2ZmNTUzNTA=
|
data/lib/musket.rb
CHANGED
@@ -31,7 +31,7 @@ module Musket
|
|
31
31
|
filename = "musket" if filename == ''
|
32
32
|
template_file = TEMPLATE_DIR + "#{template}.mote"
|
33
33
|
f = File.open(template_file)
|
34
|
-
output = Mote.parse(f.read, self,
|
34
|
+
output = Mote.parse(f.read, self, @config.keys).call(@config)
|
35
35
|
current_dir = Dir.pwd
|
36
36
|
new_file = File.open(current_dir + "/#{filename}.#{template}", 'w')
|
37
37
|
new_file.puts(output)
|
data/lib/musket/configuration.rb
CHANGED
@@ -10,8 +10,8 @@ module Musket
|
|
10
10
|
FileUtils.mkdir(CONFIG_DIR) unless File.exists?CONFIG_DIR
|
11
11
|
config = File.open(CONFIG_FILE, 'w+')
|
12
12
|
data = {
|
13
|
-
|
14
|
-
|
13
|
+
:author => "TODO: Write Author Name",
|
14
|
+
:twitter => "TODO: Write Twitter Handle"
|
15
15
|
}
|
16
16
|
config.puts(data.to_yaml)
|
17
17
|
config.close
|
data/lib/musket/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: musket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aniket Pant
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|