architecture-js 0.5.2 → 0.5.3
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 +1 -1
- data/lib/architecture-js/architect.rb +3 -3
- data/lib/architecture-js/watcher.rb +4 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.3
|
data/architecture-js.gemspec
CHANGED
@@ -94,7 +94,7 @@ module Architect
|
|
94
94
|
project = ArchitectureJS::Blueprint::new_from_config(path)
|
95
95
|
project.update
|
96
96
|
watcher = project.watch
|
97
|
-
puts ArchitectureJS::Notification.log "architect is watching for changes. Type 'quit'
|
97
|
+
puts ArchitectureJS::Notification.log "architect is watching for changes. Type 'quit' to stop."
|
98
98
|
start_interactive_session watcher
|
99
99
|
end
|
100
100
|
#watch
|
@@ -103,11 +103,11 @@ module Architect
|
|
103
103
|
def start_interactive_session(watcher)
|
104
104
|
begin
|
105
105
|
command = ''
|
106
|
-
while not command =~
|
106
|
+
while not command =~ /^quit$/
|
107
107
|
print ArchitectureJS::Notification.prompt
|
108
108
|
command = gets.chomp
|
109
109
|
case command
|
110
|
-
when
|
110
|
+
when /^quit$/
|
111
111
|
watcher.stop
|
112
112
|
when /src_files/
|
113
113
|
puts watcher.project.src_files.join("\n")
|
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.5.
|
4
|
+
version: 0.5.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -242,7 +242,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
242
242
|
version: '0'
|
243
243
|
segments:
|
244
244
|
- 0
|
245
|
-
hash:
|
245
|
+
hash: 2753947263902784198
|
246
246
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
247
247
|
none: false
|
248
248
|
requirements:
|