gearup 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in gearup.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,48 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ gearup (0.0.1)
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
+ thin (~> 1.4.1)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ coffee-script (2.2.0)
16
+ coffee-script-source
17
+ execjs
18
+ coffee-script-source (1.3.3)
19
+ commonjs (0.2.6)
20
+ daemons (1.1.9)
21
+ eventmachine (0.12.10)
22
+ execjs (1.4.0)
23
+ multi_json (~> 1.0)
24
+ haml (3.1.7)
25
+ hike (1.2.1)
26
+ less (2.2.1)
27
+ commonjs (~> 0.2.6)
28
+ multi_json (1.3.6)
29
+ rack (1.4.1)
30
+ rake (0.9.2.2)
31
+ sass (3.2.1)
32
+ sprockets (2.4.5)
33
+ hike (~> 1.2)
34
+ multi_json (~> 1.0)
35
+ rack (~> 1.0)
36
+ tilt (~> 1.1, != 1.3.0)
37
+ thin (1.4.1)
38
+ daemons (>= 1.0.9)
39
+ eventmachine (>= 0.12.6)
40
+ rack (>= 1.0.0)
41
+ tilt (1.3.3)
42
+
43
+ PLATFORMS
44
+ ruby
45
+
46
+ DEPENDENCIES
47
+ gearup!
48
+ rake (~> 0.9.2.2)
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Andrew Kiellor
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,32 @@
1
+ GearUp!
2
+ ===============================================
3
+
4
+ GearUp is a simple Gem that will start a thin server running sprockets (rails asset-pipeline).
5
+
6
+ What does this means for you?
7
+ -----------------------------
8
+
9
+ 1. You have <some-directory> with some assets:
10
+ ```
11
+ $ ls
12
+ javascripts/application.js.coffee
13
+ stylesheets/application.css.less
14
+ ```
15
+
16
+ 2. Switch to that directory:
17
+ ```
18
+ $ cd <some-directory>
19
+ ```
20
+
21
+ 3. Gem install 'gearup':
22
+ ```
23
+ $ gem install gearup
24
+ ```
25
+
26
+ 4. GearUp!
27
+ ```
28
+ $ gearup
29
+ ```
30
+
31
+ 5. Open "http://localhost:3000/javascripts/application.js" in your favourite browser and note the compilation
32
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
data/bin/gearup ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rubygems'
4
+ require 'thin'
5
+ require 'sprockets'
6
+
7
+ Thin::Server.start('0.0.0.0', 3000) do
8
+ env = Sprockets::Environment.new ARGV[0] || "."
9
+ env.append_path "."
10
+ run env
11
+ end
data/gearup.gemspec ADDED
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/gearup/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["Andrew Kiellor"]
6
+ gem.email = ["akiellor@thoughtworks.com"]
7
+ gem.description = %q{Sprockets + Thin to get you going with static content.}
8
+ gem.summary = %q{Sprockets + Thin to get you going with static content.}
9
+ gem.homepage = ""
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "gearup"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = Gearup::VERSION
17
+
18
+ gem.add_development_dependency("rake", "~> 0.9.2.2")
19
+ gem.add_dependency("thin", "~> 1.4.1")
20
+ gem.add_dependency("sprockets", "~> 2.4.5")
21
+ gem.add_dependency("coffee-script", "~> 2.2.0")
22
+ gem.add_dependency("haml", "~> 3.1.7")
23
+ gem.add_dependency("sass", "~> 3.2.1")
24
+ gem.add_dependency("less", "~> 2.2.1")
25
+ end
@@ -0,0 +1,3 @@
1
+ module Gearup
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,2 @@
1
+ square = (x) => x * x
2
+
metadata ADDED
@@ -0,0 +1,175 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gearup
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Andrew Kiellor
9
+ autorequire:
10
+ bindir: bin
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
+ description: Sprockets + Thin to get you going with static content.
127
+ email:
128
+ - akiellor@thoughtworks.com
129
+ executables:
130
+ - gearup
131
+ extensions: []
132
+ extra_rdoc_files: []
133
+ files:
134
+ - .gitignore
135
+ - Gemfile
136
+ - Gemfile.lock
137
+ - LICENSE
138
+ - README.md
139
+ - Rakefile
140
+ - bin/gearup
141
+ - gearup.gemspec
142
+ - lib/gearup/version.rb
143
+ - test/application.js.coffee
144
+ homepage: ''
145
+ licenses: []
146
+ post_install_message:
147
+ rdoc_options: []
148
+ require_paths:
149
+ - lib
150
+ required_ruby_version: !ruby/object:Gem::Requirement
151
+ none: false
152
+ requirements:
153
+ - - ! '>='
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ segments:
157
+ - 0
158
+ hash: 571359295490682911
159
+ required_rubygems_version: !ruby/object:Gem::Requirement
160
+ none: false
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ segments:
166
+ - 0
167
+ hash: 571359295490682911
168
+ requirements: []
169
+ rubyforge_project:
170
+ rubygems_version: 1.8.24
171
+ signing_key:
172
+ specification_version: 3
173
+ summary: Sprockets + Thin to get you going with static content.
174
+ test_files:
175
+ - test/application.js.coffee