architecture-js 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/architecture-js.gemspec +2 -2
- data/lib/architecture-js/architect.rb +2 -1
- data/lib/architecture-js/generator.rb +1 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.5
|
data/architecture-js.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "architecture-js"
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Dayton Nolan"]
|
12
|
-
s.date = "2012-04-
|
12
|
+
s.date = "2012-04-14"
|
13
13
|
s.description = "Architecture.js helps you generate scaffolding, manage third-party packages, compile, and compress your application."
|
14
14
|
s.email = "daytonn@gmail.com"
|
15
15
|
s.executables = ["architect"]
|
@@ -27,11 +27,12 @@ module Architect
|
|
27
27
|
def run
|
28
28
|
parse_command
|
29
29
|
if @command == :generate
|
30
|
+
parse_arguments
|
30
31
|
parse_generate_options
|
31
32
|
else
|
32
33
|
parse_options
|
34
|
+
parse_arguments
|
33
35
|
end
|
34
|
-
parse_arguments
|
35
36
|
|
36
37
|
if @command
|
37
38
|
self.send @command unless @command =~ /^-/
|
@@ -48,6 +48,7 @@ module ArchitectureJS
|
|
48
48
|
filename = "#{config[:filename]}#{@templates[template][:ext]}"
|
49
49
|
|
50
50
|
generate_file(filename, render_template(template, filename, arguments, options))
|
51
|
+
puts ArchitectureJS::Notification.added "#{filename} #{template} added"
|
51
52
|
end
|
52
53
|
|
53
54
|
def generate_file(filename, template, path = nil)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: architecture-js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
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-04-
|
12
|
+
date: 2012-04-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fssm
|
@@ -272,7 +272,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
272
272
|
version: '0'
|
273
273
|
segments:
|
274
274
|
- 0
|
275
|
-
hash:
|
275
|
+
hash: 1658397872561961321
|
276
276
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
277
|
none: false
|
278
278
|
requirements:
|