coffeegrinder 1.0.0 → 1.0.1
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
require 'net/http'
|
|
2
|
+
require 'fileutils'
|
|
2
3
|
class CoffeeGrinderGenerator < Genosaurus
|
|
3
4
|
|
|
4
5
|
require_param :app
|
|
@@ -35,6 +36,12 @@ class CoffeeGrinderGenerator < Genosaurus
|
|
|
35
36
|
slurp_url("http://documentcloud.github.com/backbone/backbone-min.js")
|
|
36
37
|
end
|
|
37
38
|
|
|
39
|
+
def after_generate
|
|
40
|
+
cmd = "cd #{app};gem install bundler;bundle;npm install wrench;npm install jsmin; cake test"
|
|
41
|
+
# puts cmd
|
|
42
|
+
system cmd
|
|
43
|
+
end
|
|
44
|
+
|
|
38
45
|
protected
|
|
39
46
|
def slurp_url(url)
|
|
40
47
|
url = URI.parse(url)
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: coffeegrinder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 1.0.
|
|
5
|
+
version: 1.0.1
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- markbates
|
|
@@ -93,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
93
93
|
requirements:
|
|
94
94
|
- - ">="
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
hash:
|
|
96
|
+
hash: 3397086346934756269
|
|
97
97
|
segments:
|
|
98
98
|
- 0
|
|
99
99
|
version: "0"
|