gearup 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,12 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gearup (0.0.1)
4
+ gearup (0.0.2)
5
5
  coffee-script (~> 2.2.0)
6
6
  haml (~> 3.1.7)
7
7
  less (~> 2.2.1)
8
8
  sass (~> 3.2.1)
9
9
  sprockets (~> 2.4.5)
10
+ therubyracer (~> 0.10.2)
10
11
  thin (~> 1.4.1)
11
12
 
12
13
  GEM
@@ -25,6 +26,7 @@ GEM
25
26
  hike (1.2.1)
26
27
  less (2.2.1)
27
28
  commonjs (~> 0.2.6)
29
+ libv8 (3.3.10.4)
28
30
  multi_json (1.3.6)
29
31
  rack (1.4.1)
30
32
  rake (0.9.2.2)
@@ -34,6 +36,8 @@ GEM
34
36
  multi_json (~> 1.0)
35
37
  rack (~> 1.0)
36
38
  tilt (~> 1.1, != 1.3.0)
39
+ therubyracer (0.10.2)
40
+ libv8 (~> 3.3.10)
37
41
  thin (1.4.1)
38
42
  daemons (>= 1.0.9)
39
43
  eventmachine (>= 0.12.6)
data/README.md CHANGED
@@ -6,9 +6,9 @@ GearUp is a simple Gem that will start a thin server running sprockets (rails as
6
6
  What does this means for you?
7
7
  -----------------------------
8
8
 
9
- 1. You have <some-directory> with some assets:
9
+ 1. You have "some-directory" with some assets:
10
10
  ```
11
- $ ls
11
+ $ ls <some-directory>
12
12
  javascripts/application.js.coffee
13
13
  stylesheets/application.css.less
14
14
  ```
@@ -30,3 +30,6 @@ $ gearup
30
30
 
31
31
  5. Open "http://localhost:3000/javascripts/application.js" in your favourite browser and note the compilation
32
32
 
33
+ NOTES
34
+ =====
35
+ To use 'less', you will need to install 'therubyracer'
data/bin/gearup CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  require 'rubygems'
4
4
  require 'thin'
5
+ require 'less'
6
+ require 'coffee-script'
5
7
  require 'sprockets'
6
8
 
7
9
  Thin::Server.start('0.0.0.0', 3000) do
data/gearup.gemspec CHANGED
@@ -22,4 +22,5 @@ Gem::Specification.new do |gem|
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
  end
@@ -1,3 +1,3 @@
1
1
  module Gearup
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -0,0 +1,16 @@
1
+ @base: #f938ab;
2
+
3
+ .box-shadow(@style, @c) when (iscolor(@c)) {
4
+ box-shadow: @style @c;
5
+ -webkit-box-shadow: @style @c;
6
+ -moz-box-shadow: @style @c;
7
+ }
8
+ .box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) {
9
+ .box-shadow(@style, rgba(0, 0, 0, @alpha));
10
+ }
11
+ .box {
12
+ color: saturate(@base, 5%);
13
+ border-color: lighten(@base, 30%);
14
+ div { .box-shadow(0 0 5px, 30%) }
15
+ }
16
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gearup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -123,6 +123,22 @@ dependencies:
123
123
  - - ~>
124
124
  - !ruby/object:Gem::Version
125
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
126
142
  description: Sprockets + Thin to get you going with static content.
127
143
  email:
128
144
  - akiellor@thoughtworks.com
@@ -140,6 +156,7 @@ files:
140
156
  - bin/gearup
141
157
  - gearup.gemspec
142
158
  - lib/gearup/version.rb
159
+ - test/application.css.less
143
160
  - test/application.js.coffee
144
161
  homepage: ''
145
162
  licenses: []
@@ -155,7 +172,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
155
172
  version: '0'
156
173
  segments:
157
174
  - 0
158
- hash: 571359295490682911
175
+ hash: -1592974846859151294
159
176
  required_rubygems_version: !ruby/object:Gem::Requirement
160
177
  none: false
161
178
  requirements:
@@ -164,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
181
  version: '0'
165
182
  segments:
166
183
  - 0
167
- hash: 571359295490682911
184
+ hash: -1592974846859151294
168
185
  requirements: []
169
186
  rubyforge_project:
170
187
  rubygems_version: 1.8.24
@@ -172,4 +189,5 @@ signing_key:
172
189
  specification_version: 3
173
190
  summary: Sprockets + Thin to get you going with static content.
174
191
  test_files:
192
+ - test/application.css.less
175
193
  - test/application.js.coffee