my-simon 0.3.2 → 0.3.3
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/VERSION +1 -1
- data/bin/simon +13 -2
- data/my-simon.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.3
|
data/bin/simon
CHANGED
|
@@ -19,7 +19,7 @@ require 'commander/import'
|
|
|
19
19
|
simon_controller = Simon.new
|
|
20
20
|
svn_path = "https://samcreate@evolveit.svn.beanstalkapp.com/project_boilerplate/trunk/default"
|
|
21
21
|
svn_path_heroku = "https://samcreate@evolveit.svn.beanstalkapp.com/project_boilerplate/trunk/heroku"
|
|
22
|
-
program :version, '0.3.
|
|
22
|
+
program :version, '0.3.3'
|
|
23
23
|
program :description, 'CLI tool for Simon, a simple MVC boilerplate'
|
|
24
24
|
|
|
25
25
|
command :create do |c|
|
|
@@ -32,11 +32,20 @@ command :create do |c|
|
|
|
32
32
|
# Do something or c.when_called My-simon::Commands::Create,
|
|
33
33
|
simon_controller.check_4_update
|
|
34
34
|
simon_controller.msg ">>> simon's requesting the boilerplate <<<"
|
|
35
|
+
uris = %w[
|
|
36
|
+
https://evolveit.svn.beanstalkapp.com/project_boilerplate/trunk/default
|
|
37
|
+
http://google.com
|
|
38
|
+
http://yahoo.com
|
|
39
|
+
]
|
|
40
|
+
progress uris do |uri|
|
|
41
|
+
res = open uri
|
|
42
|
+
|
|
43
|
+
end
|
|
35
44
|
cmd = "svn export #{svn_path} app --quiet"
|
|
36
45
|
Kernel::system(cmd)
|
|
37
46
|
cmd = "cd ./app/"
|
|
38
47
|
Kernel::system(cmd)
|
|
39
|
-
|
|
48
|
+
|
|
40
49
|
|
|
41
50
|
simon_controller.setup
|
|
42
51
|
|
|
@@ -63,6 +72,8 @@ command :add do |c|
|
|
|
63
72
|
when 'section'
|
|
64
73
|
simon_controller.add_section
|
|
65
74
|
when 'test'
|
|
75
|
+
|
|
76
|
+
|
|
66
77
|
|
|
67
78
|
end
|
|
68
79
|
end
|
data/my-simon.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: my-simon
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -194,7 +194,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
194
194
|
version: '0'
|
|
195
195
|
segments:
|
|
196
196
|
- 0
|
|
197
|
-
hash:
|
|
197
|
+
hash: -4229138123181167283
|
|
198
198
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
199
|
none: false
|
|
200
200
|
requirements:
|