gearup 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -32,4 +32,8 @@ $ gearup
32
32
 
33
33
  NOTES
34
34
  =====
35
- To use 'less', you will need to install 'therubyracer'
35
+ Played with on JRuby 1.6.7.2, 1.9.2, 1.9.3.
36
+
37
+ Feedback
38
+ ========
39
+ Let me know, if your using it and/or if you have any trouble.
data/bin/gearup CHANGED
@@ -1,13 +1,14 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'rubygems'
4
- require 'thin'
4
+ require 'rack'
5
5
  require 'less'
6
6
  require 'coffee-script'
7
7
  require 'sprockets'
8
8
 
9
- Thin::Server.start('0.0.0.0', 3000) do
10
- env = Sprockets::Environment.new ARGV[0] || "."
11
- env.append_path "."
12
- run env
13
- end
9
+
10
+ env = Sprockets::Environment.new ARGV[0] || "."
11
+ env.append_path "."
12
+
13
+ Rack::Handler::WEBrick.run(env, :Port => 3000)
14
+
data/gearup.gemspec CHANGED
@@ -16,11 +16,17 @@ Gem::Specification.new do |gem|
16
16
  gem.version = Gearup::VERSION
17
17
 
18
18
  gem.add_development_dependency("rake", "~> 0.9.2.2")
19
- gem.add_dependency("thin", "~> 1.4.1")
19
+ gem.add_dependency("rack", "~> 1.4.1")
20
20
  gem.add_dependency("sprockets", "~> 2.4.5")
21
21
  gem.add_dependency("coffee-script", "~> 2.2.0")
22
22
  gem.add_dependency("haml", "~> 3.1.7")
23
23
  gem.add_dependency("sass", "~> 3.2.1")
24
24
  gem.add_dependency("less", "~> 2.2.1")
25
- gem.add_dependency("therubyracer", "~> 0.10.2")
25
+
26
+ if RUBY_PLATFORM =~ /java/
27
+ gem.add_dependency("therubyrhino", "~> 2.0.1")
28
+ gem.add_development_dependency("jruby-openssl", "~> 0.7.7")
29
+ else
30
+ gem.add_dependency("therubyracer", "~> 0.10.2")
31
+ end
26
32
  end
@@ -1,3 +1,3 @@
1
1
  module Gearup
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,193 +1,169 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gearup
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.2
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.0.3
6
6
  platform: ruby
7
- authors:
8
- - Andrew Kiellor
7
+ authors:
8
+ - Andrew Kiellor
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-29 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rake
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: 0.9.2.2
22
- type: :development
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: 0.9.2.2
30
- - !ruby/object:Gem::Dependency
31
- name: thin
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: 1.4.1
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: 1.4.1
46
- - !ruby/object:Gem::Dependency
47
- name: sprockets
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 2.4.5
54
- type: :runtime
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 2.4.5
62
- - !ruby/object:Gem::Dependency
63
- name: coffee-script
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 2.2.0
70
- type: :runtime
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: 2.2.0
78
- - !ruby/object:Gem::Dependency
79
- name: haml
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ~>
84
- - !ruby/object:Gem::Version
85
- version: 3.1.7
86
- type: :runtime
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: 3.1.7
94
- - !ruby/object:Gem::Dependency
95
- name: sass
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ~>
100
- - !ruby/object:Gem::Version
101
- version: 3.2.1
102
- type: :runtime
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- version: 3.2.1
110
- - !ruby/object:Gem::Dependency
111
- name: less
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: 2.2.1
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ~>
124
- - !ruby/object:Gem::Version
125
- version: 2.2.1
126
- - !ruby/object:Gem::Dependency
127
- name: therubyracer
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ~>
132
- - !ruby/object:Gem::Version
133
- version: 0.10.2
134
- type: :runtime
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ~>
140
- - !ruby/object:Gem::Version
141
- version: 0.10.2
12
+
13
+ date: 2012-09-20 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rake
17
+ version_requirements: &id001 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: 0.9.2.2
23
+ requirement: *id001
24
+ prerelease: false
25
+ type: :development
26
+ - !ruby/object:Gem::Dependency
27
+ name: rack
28
+ version_requirements: &id002 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 1.4.1
34
+ requirement: *id002
35
+ prerelease: false
36
+ type: :runtime
37
+ - !ruby/object:Gem::Dependency
38
+ name: sprockets
39
+ version_requirements: &id003 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: 2.4.5
45
+ requirement: *id003
46
+ prerelease: false
47
+ type: :runtime
48
+ - !ruby/object:Gem::Dependency
49
+ name: coffee-script
50
+ version_requirements: &id004 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: 2.2.0
56
+ requirement: *id004
57
+ prerelease: false
58
+ type: :runtime
59
+ - !ruby/object:Gem::Dependency
60
+ name: haml
61
+ version_requirements: &id005 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ version: 3.1.7
67
+ requirement: *id005
68
+ prerelease: false
69
+ type: :runtime
70
+ - !ruby/object:Gem::Dependency
71
+ name: sass
72
+ version_requirements: &id006 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 3.2.1
78
+ requirement: *id006
79
+ prerelease: false
80
+ type: :runtime
81
+ - !ruby/object:Gem::Dependency
82
+ name: less
83
+ version_requirements: &id007 !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ~>
87
+ - !ruby/object:Gem::Version
88
+ version: 2.2.1
89
+ requirement: *id007
90
+ prerelease: false
91
+ type: :runtime
92
+ - !ruby/object:Gem::Dependency
93
+ name: therubyrhino
94
+ version_requirements: &id008 !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ~>
98
+ - !ruby/object:Gem::Version
99
+ version: 2.0.1
100
+ requirement: *id008
101
+ prerelease: false
102
+ type: :runtime
103
+ - !ruby/object:Gem::Dependency
104
+ name: jruby-openssl
105
+ version_requirements: &id009 !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 0.7.7
111
+ requirement: *id009
112
+ prerelease: false
113
+ type: :development
142
114
  description: Sprockets + Thin to get you going with static content.
143
- email:
144
- - akiellor@thoughtworks.com
145
- executables:
146
- - gearup
115
+ email:
116
+ - akiellor@thoughtworks.com
117
+ executables:
118
+ - gearup
147
119
  extensions: []
120
+
148
121
  extra_rdoc_files: []
149
- files:
150
- - .gitignore
151
- - Gemfile
152
- - Gemfile.lock
153
- - LICENSE
154
- - README.md
155
- - Rakefile
156
- - bin/gearup
157
- - gearup.gemspec
158
- - lib/gearup/version.rb
159
- - test/application.css.less
160
- - test/application.js.coffee
161
- homepage: ''
122
+
123
+ files:
124
+ - .gitignore
125
+ - Gemfile
126
+ - LICENSE
127
+ - README.md
128
+ - Rakefile
129
+ - bin/gearup
130
+ - gearup.gemspec
131
+ - lib/gearup/version.rb
132
+ - test/application.css.less
133
+ - test/application.js.coffee
134
+ homepage: ""
162
135
  licenses: []
136
+
163
137
  post_install_message:
164
138
  rdoc_options: []
165
- require_paths:
166
- - lib
167
- required_ruby_version: !ruby/object:Gem::Requirement
139
+
140
+ require_paths:
141
+ - lib
142
+ required_ruby_version: !ruby/object:Gem::Requirement
168
143
  none: false
169
- requirements:
170
- - - ! '>='
171
- - !ruby/object:Gem::Version
172
- version: '0'
173
- segments:
174
- - 0
175
- hash: -1592974846859151294
176
- required_rubygems_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ hash: 2
148
+ segments:
149
+ - 0
150
+ version: "0"
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
177
152
  none: false
178
- requirements:
179
- - - ! '>='
180
- - !ruby/object:Gem::Version
181
- version: '0'
182
- segments:
183
- - 0
184
- hash: -1592974846859151294
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ hash: 2
157
+ segments:
158
+ - 0
159
+ version: "0"
185
160
  requirements: []
161
+
186
162
  rubyforge_project:
187
163
  rubygems_version: 1.8.24
188
164
  signing_key:
189
165
  specification_version: 3
190
166
  summary: Sprockets + Thin to get you going with static content.
191
- test_files:
192
- - test/application.css.less
193
- - test/application.js.coffee
167
+ test_files:
168
+ - test/application.css.less
169
+ - test/application.js.coffee
data/Gemfile.lock DELETED
@@ -1,52 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- gearup (0.0.2)
5
- coffee-script (~> 2.2.0)
6
- haml (~> 3.1.7)
7
- less (~> 2.2.1)
8
- sass (~> 3.2.1)
9
- sprockets (~> 2.4.5)
10
- therubyracer (~> 0.10.2)
11
- thin (~> 1.4.1)
12
-
13
- GEM
14
- remote: https://rubygems.org/
15
- specs:
16
- coffee-script (2.2.0)
17
- coffee-script-source
18
- execjs
19
- coffee-script-source (1.3.3)
20
- commonjs (0.2.6)
21
- daemons (1.1.9)
22
- eventmachine (0.12.10)
23
- execjs (1.4.0)
24
- multi_json (~> 1.0)
25
- haml (3.1.7)
26
- hike (1.2.1)
27
- less (2.2.1)
28
- commonjs (~> 0.2.6)
29
- libv8 (3.3.10.4)
30
- multi_json (1.3.6)
31
- rack (1.4.1)
32
- rake (0.9.2.2)
33
- sass (3.2.1)
34
- sprockets (2.4.5)
35
- hike (~> 1.2)
36
- multi_json (~> 1.0)
37
- rack (~> 1.0)
38
- tilt (~> 1.1, != 1.3.0)
39
- therubyracer (0.10.2)
40
- libv8 (~> 3.3.10)
41
- thin (1.4.1)
42
- daemons (>= 1.0.9)
43
- eventmachine (>= 0.12.6)
44
- rack (>= 1.0.0)
45
- tilt (1.3.3)
46
-
47
- PLATFORMS
48
- ruby
49
-
50
- DEPENDENCIES
51
- gearup!
52
- rake (~> 0.9.2.2)