Commit cb6240cd01cd61a992c1317d1b69cac793dbb8b7
0 parents
Exists in
master
Adds kalibro-processor dependencies
Showing
114 changed files
with
563 additions
and
0 deletions
Show diff stats
Too many changes.
To preserve performance only 100 of 114 files displayed.
1 | +++ a/Gemfile | |
... | ... | @@ -0,0 +1,130 @@ |
1 | +source 'https://rubygems.org' | |
2 | + | |
3 | +# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
4 | +gem 'rails', '4.2.4' | |
5 | + | |
6 | +# Use sqlite3 as the database for Active Record | |
7 | +gem 'sqlite3' | |
8 | + | |
9 | +# Use PostgreSQL as the database for Active Record | |
10 | +gem 'pg' | |
11 | + | |
12 | +# Use SCSS for stylesheets | |
13 | +gem 'sass-rails', '~> 5.0.0.beta1' | |
14 | + | |
15 | +# Use Uglifier as compressor for JavaScript assets | |
16 | +gem 'uglifier', '>= 1.3.0' | |
17 | + | |
18 | +# Use CoffeeScript for .js.coffee assets and views | |
19 | +gem 'coffee-rails', '~> 4.1.0' | |
20 | + | |
21 | +# See https://github.com/sstephenson/execjs#readme for more supported runtimes | |
22 | +gem 'therubyracer', platforms: :ruby | |
23 | + | |
24 | +# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks | |
25 | +gem 'turbolinks' | |
26 | + | |
27 | +# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder | |
28 | +gem 'jbuilder', '~> 2.0' | |
29 | + | |
30 | +# bundle exec rake doc:rails generates the API under doc/api. | |
31 | +gem 'sdoc', '~> 0.4.0', group: :doc | |
32 | + | |
33 | +# Use Rails Html Sanitizer for HTML sanitization | |
34 | +gem 'rails-html-sanitizer', '~> 1.0' | |
35 | + | |
36 | +# Kalibro integration | |
37 | +gem 'kalibro_client', '~> 1.3' | |
38 | + | |
39 | +# YAML parser required for properly compactibility between mri and rbx | |
40 | +gem 'psych', '~>2.0.12' | |
41 | + | |
42 | +# Repository cloning | |
43 | +gem 'git', '~> 1.2.7' | |
44 | + | |
45 | +# Clean the database for acceptance test | |
46 | +# Version should be greater than 1.4.1. See: | |
47 | +# https://github.com/DatabaseCleaner/database_cleaner/issues/317 | |
48 | +gem 'database_cleaner', '>= 1.4.1', require: false | |
49 | + | |
50 | +# Create a processing queue | |
51 | +gem 'delayed_job_active_record', '~> 4.0.1' | |
52 | + | |
53 | +# Required for workers creation | |
54 | +gem 'daemons', '~> 1.2.2' | |
55 | + | |
56 | +# Sends a email whenever there is a unexpected exception | |
57 | +gem 'exception_notification', '~> 4.1.0' | |
58 | + | |
59 | +# | |
60 | +# Enables to export the delayed_job queue to system's task manager | |
61 | +# | |
62 | +# For usage instructions see the commit message at: | |
63 | +# https://github.com/ddollar/foreman/commit/67ffbe2aa29cdb04335e5f7d30fe874c1ddf26e0 | |
64 | +# | |
65 | +# foreman export systemd /usr/lib/systemd/system -a kalibro_processor -c worker=10 | |
66 | +# | |
67 | +gem 'foreman', '~> 0.78.0' | |
68 | + | |
69 | +group :test do | |
70 | + # Easier test writing | |
71 | + gem "shoulda-matchers", '~>2.8.0' | |
72 | + | |
73 | + # Test coverage | |
74 | + gem 'simplecov', require: false | |
75 | + | |
76 | + # Test Coverage monitoring | |
77 | + gem "codeclimate-test-reporter", require: nil | |
78 | + | |
79 | + # Simple Mocks | |
80 | + gem 'mocha', :require => 'mocha/api' | |
81 | +end | |
82 | + | |
83 | +group :development, :test do | |
84 | + # Call 'debugger' anywhere in the code to stop execution and get a debugger console | |
85 | + gem 'byebug' | |
86 | + | |
87 | + # Access an IRB console on exceptions page and /console in development | |
88 | + gem 'web-console', '~> 2.0.0' | |
89 | + | |
90 | + # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring | |
91 | + gem 'spring', group: :development | |
92 | + | |
93 | + # Test framework | |
94 | + gem 'rspec-rails', '~> 3.3.2' | |
95 | + | |
96 | + # Fixtures made easy | |
97 | + gem 'factory_girl_rails', '~> 4.5.0' | |
98 | + | |
99 | + # Deployment | |
100 | + gem 'capistrano', "~>3.4.0", require: false | |
101 | + gem 'capistrano-rails' | |
102 | + gem 'capistrano-bundler' | |
103 | + gem 'capistrano-rvm', "~>0.1.0" | |
104 | +end | |
105 | + | |
106 | +# Acceptance tests | |
107 | +group :cucumber do | |
108 | + gem 'cucumber', '~> 1.3.10' | |
109 | + gem 'cucumber-rails' | |
110 | + # gem 'database_cleaner' # Removed because it is getting added above. | |
111 | +end | |
112 | + | |
113 | +# Some statistics | |
114 | +gem 'descriptive-statistics', '~> 2.1.2' | |
115 | + | |
116 | +# Ruby Collector | |
117 | +gem 'metric_fu', '~> 4.12.0' | |
118 | +gem 'debug_inspector' # this is a dependency after updating metric_fu to 4.11.4 | |
119 | + | |
120 | +# Use ActiveModel has_secure_password | |
121 | +# gem 'bcrypt-ruby', '~> 3.0.0' | |
122 | + | |
123 | +# Use unicorn as the app server | |
124 | +# gem 'unicorn' | |
125 | + | |
126 | +# Use Capistrano for deployment | |
127 | +# gem 'capistrano-rails', group: :development | |
128 | + | |
129 | +# Use debugger | |
130 | +# gem 'debugger', group: [:development, :test] | ... | ... |
1 | +++ a/Gemfile.lock | |
... | ... | @@ -0,0 +1,394 @@ |
1 | +GEM | |
2 | + remote: https://rubygems.org/ | |
3 | + specs: | |
4 | + abstract_type (0.0.7) | |
5 | + actionmailer (4.2.4) | |
6 | + actionpack (= 4.2.4) | |
7 | + actionview (= 4.2.4) | |
8 | + activejob (= 4.2.4) | |
9 | + mail (~> 2.5, >= 2.5.4) | |
10 | + rails-dom-testing (~> 1.0, >= 1.0.5) | |
11 | + actionpack (4.2.4) | |
12 | + actionview (= 4.2.4) | |
13 | + activesupport (= 4.2.4) | |
14 | + rack (~> 1.6) | |
15 | + rack-test (~> 0.6.2) | |
16 | + rails-dom-testing (~> 1.0, >= 1.0.5) | |
17 | + rails-html-sanitizer (~> 1.0, >= 1.0.2) | |
18 | + actionview (4.2.4) | |
19 | + activesupport (= 4.2.4) | |
20 | + builder (~> 3.1) | |
21 | + erubis (~> 2.7.0) | |
22 | + rails-dom-testing (~> 1.0, >= 1.0.5) | |
23 | + rails-html-sanitizer (~> 1.0, >= 1.0.2) | |
24 | + activejob (4.2.4) | |
25 | + activesupport (= 4.2.4) | |
26 | + globalid (>= 0.3.0) | |
27 | + activemodel (4.2.4) | |
28 | + activesupport (= 4.2.4) | |
29 | + builder (~> 3.1) | |
30 | + activerecord (4.2.4) | |
31 | + activemodel (= 4.2.4) | |
32 | + activesupport (= 4.2.4) | |
33 | + arel (~> 6.0) | |
34 | + activesupport (4.2.4) | |
35 | + i18n (~> 0.7) | |
36 | + json (~> 1.7, >= 1.7.7) | |
37 | + minitest (~> 5.1) | |
38 | + thread_safe (~> 0.3, >= 0.3.4) | |
39 | + tzinfo (~> 1.1) | |
40 | + adamantium (0.2.0) | |
41 | + ice_nine (~> 0.11.0) | |
42 | + memoizable (~> 0.4.0) | |
43 | + addressable (2.3.8) | |
44 | + arel (6.0.3) | |
45 | + arrayfields (4.9.2) | |
46 | + ast (2.1.0) | |
47 | + binding_of_caller (0.7.2) | |
48 | + debug_inspector (>= 0.0.1) | |
49 | + builder (3.2.2) | |
50 | + byebug (6.0.2) | |
51 | + cane (2.6.2) | |
52 | + parallel | |
53 | + capistrano (3.4.0) | |
54 | + i18n | |
55 | + rake (>= 10.0.0) | |
56 | + sshkit (~> 1.3) | |
57 | + capistrano-bundler (1.1.4) | |
58 | + capistrano (~> 3.1) | |
59 | + sshkit (~> 1.2) | |
60 | + capistrano-rails (1.1.3) | |
61 | + capistrano (~> 3.1) | |
62 | + capistrano-bundler (~> 1.1) | |
63 | + capistrano-rvm (0.1.2) | |
64 | + capistrano (~> 3.0) | |
65 | + sshkit (~> 1.2) | |
66 | + capybara (2.5.0) | |
67 | + mime-types (>= 1.16) | |
68 | + nokogiri (>= 1.3.3) | |
69 | + rack (>= 1.0.0) | |
70 | + rack-test (>= 0.5.4) | |
71 | + xpath (~> 2.0) | |
72 | + chronic (0.10.2) | |
73 | + churn (0.0.35) | |
74 | + chronic (>= 0.2.3) | |
75 | + hirb | |
76 | + json_pure | |
77 | + main | |
78 | + rest-client (>= 1.6.0) | |
79 | + ruby_parser (~> 3.0) | |
80 | + sexp_processor (~> 4.1) | |
81 | + code_analyzer (0.4.5) | |
82 | + sexp_processor | |
83 | + code_metrics (0.1.3) | |
84 | + codeclimate-test-reporter (0.4.7) | |
85 | + simplecov (>= 0.7.1, < 1.0.0) | |
86 | + coderay (1.1.0) | |
87 | + coffee-rails (4.1.0) | |
88 | + coffee-script (>= 2.2.0) | |
89 | + railties (>= 4.0.0, < 5.0) | |
90 | + coffee-script (2.4.1) | |
91 | + coffee-script-source | |
92 | + execjs | |
93 | + coffee-script-source (1.9.1.1) | |
94 | + colored (1.2) | |
95 | + colorize (0.7.7) | |
96 | + concord (0.1.5) | |
97 | + adamantium (~> 0.2.0) | |
98 | + equalizer (~> 0.0.9) | |
99 | + cucumber (1.3.20) | |
100 | + builder (>= 2.1.2) | |
101 | + diff-lcs (>= 1.1.3) | |
102 | + gherkin (~> 2.12) | |
103 | + multi_json (>= 1.7.5, < 2.0) | |
104 | + multi_test (>= 0.1.2) | |
105 | + cucumber-rails (1.4.2) | |
106 | + capybara (>= 1.1.2, < 3) | |
107 | + cucumber (>= 1.3.8, < 2) | |
108 | + mime-types (>= 1.16, < 3) | |
109 | + nokogiri (~> 1.5) | |
110 | + rails (>= 3, < 5) | |
111 | + daemons (1.2.2) | |
112 | + database_cleaner (1.4.1) | |
113 | + debug_inspector (0.0.2) | |
114 | + delayed_job (4.0.6) | |
115 | + activesupport (>= 3.0, < 5.0) | |
116 | + delayed_job_active_record (4.0.3) | |
117 | + activerecord (>= 3.0, < 5.0) | |
118 | + delayed_job (>= 3.0, < 4.1) | |
119 | + descriptive-statistics (2.1.2) | |
120 | + diff-lcs (1.2.5) | |
121 | + docile (1.1.5) | |
122 | + domain_name (0.5.24) | |
123 | + unf (>= 0.0.5, < 1.0.0) | |
124 | + equalizer (0.0.11) | |
125 | + erubis (2.7.0) | |
126 | + exception_notification (4.1.1) | |
127 | + actionmailer (>= 3.0.4) | |
128 | + activesupport (>= 3.0.4) | |
129 | + execjs (2.6.0) | |
130 | + factory_girl (4.5.0) | |
131 | + activesupport (>= 3.0.0) | |
132 | + factory_girl_rails (4.5.0) | |
133 | + factory_girl (~> 4.5.0) | |
134 | + railties (>= 3.0.0) | |
135 | + faraday (0.9.1) | |
136 | + multipart-post (>= 1.2, < 3) | |
137 | + faraday_middleware (0.9.2) | |
138 | + faraday (>= 0.7.4, < 0.10) | |
139 | + fattr (2.2.2) | |
140 | + flay (2.6.1) | |
141 | + ruby_parser (~> 3.0) | |
142 | + sexp_processor (~> 4.0) | |
143 | + flog (4.3.2) | |
144 | + ruby_parser (~> 3.1, > 3.1.0) | |
145 | + sexp_processor (~> 4.4) | |
146 | + foreman (0.78.0) | |
147 | + thor (~> 0.19.1) | |
148 | + gherkin (2.12.2) | |
149 | + multi_json (~> 1.3) | |
150 | + git (1.2.9.1) | |
151 | + globalid (0.3.6) | |
152 | + activesupport (>= 4.1.0) | |
153 | + hirb (0.7.3) | |
154 | + http-cookie (1.0.2) | |
155 | + domain_name (~> 0.5) | |
156 | + i18n (0.7.0) | |
157 | + ice_nine (0.11.1) | |
158 | + jbuilder (2.3.1) | |
159 | + activesupport (>= 3.0.0, < 5) | |
160 | + multi_json (~> 1.2) | |
161 | + json (1.8.3) | |
162 | + json_pure (1.8.2) | |
163 | + kalibro_client (1.3.0) | |
164 | + activesupport (>= 2.2.1) | |
165 | + faraday_middleware (~> 0.9.0) | |
166 | + launchy (2.4.3) | |
167 | + addressable (~> 2.3) | |
168 | + libv8 (3.16.14.11) | |
169 | + loofah (2.0.3) | |
170 | + nokogiri (>= 1.5.9) | |
171 | + mail (2.6.3) | |
172 | + mime-types (>= 1.16, < 3) | |
173 | + main (6.1.0) | |
174 | + arrayfields (>= 4.7.4) | |
175 | + chronic (>= 0.6.2) | |
176 | + fattr (>= 2.2.0) | |
177 | + map (>= 5.1.0) | |
178 | + map (6.5.5) | |
179 | + memoizable (0.4.2) | |
180 | + thread_safe (~> 0.3, >= 0.3.1) | |
181 | + metaclass (0.0.4) | |
182 | + metric_fu (4.12.0) | |
183 | + cane (~> 2.5, >= 2.5.2) | |
184 | + churn (~> 0.0.35) | |
185 | + code_metrics (~> 0.1) | |
186 | + coderay | |
187 | + flay (~> 2.1, >= 2.0.1) | |
188 | + flog (~> 4.1, >= 4.1.1) | |
189 | + launchy (~> 2.0) | |
190 | + metric_fu-Saikuro (~> 1.1, >= 1.1.3) | |
191 | + multi_json | |
192 | + rails_best_practices (~> 1.14, >= 1.14.3) | |
193 | + redcard | |
194 | + reek (>= 1.3.4, < 3.0) | |
195 | + roodi (~> 3.1) | |
196 | + metric_fu-Saikuro (1.1.3) | |
197 | + mime-types (2.6.1) | |
198 | + mini_portile (0.6.2) | |
199 | + minitest (5.8.0) | |
200 | + mocha (1.1.0) | |
201 | + metaclass (~> 0.0.1) | |
202 | + multi_json (1.11.2) | |
203 | + multi_test (0.1.2) | |
204 | + multipart-post (2.0.0) | |
205 | + net-scp (1.2.1) | |
206 | + net-ssh (>= 2.6.5) | |
207 | + net-ssh (2.9.2) | |
208 | + netrc (0.10.3) | |
209 | + nokogiri (1.6.6.2) | |
210 | + mini_portile (~> 0.6.0) | |
211 | + parallel (1.6.1) | |
212 | + parser (2.2.2.6) | |
213 | + ast (>= 1.1, < 3.0) | |
214 | + pg (0.18.2) | |
215 | + procto (0.0.2) | |
216 | + psych (2.0.15) | |
217 | + rack (1.6.4) | |
218 | + rack-test (0.6.3) | |
219 | + rack (>= 1.0) | |
220 | + rails (4.2.4) | |
221 | + actionmailer (= 4.2.4) | |
222 | + actionpack (= 4.2.4) | |
223 | + actionview (= 4.2.4) | |
224 | + activejob (= 4.2.4) | |
225 | + activemodel (= 4.2.4) | |
226 | + activerecord (= 4.2.4) | |
227 | + activesupport (= 4.2.4) | |
228 | + bundler (>= 1.3.0, < 2.0) | |
229 | + railties (= 4.2.4) | |
230 | + sprockets-rails | |
231 | + rails-deprecated_sanitizer (1.0.3) | |
232 | + activesupport (>= 4.2.0.alpha) | |
233 | + rails-dom-testing (1.0.7) | |
234 | + activesupport (>= 4.2.0.beta, < 5.0) | |
235 | + nokogiri (~> 1.6.0) | |
236 | + rails-deprecated_sanitizer (>= 1.0.1) | |
237 | + rails-html-sanitizer (1.0.2) | |
238 | + loofah (~> 2.0) | |
239 | + rails_best_practices (1.15.7) | |
240 | + activesupport | |
241 | + code_analyzer (>= 0.4.3) | |
242 | + colored | |
243 | + erubis | |
244 | + i18n | |
245 | + json | |
246 | + require_all | |
247 | + ruby-progressbar | |
248 | + railties (4.2.4) | |
249 | + actionpack (= 4.2.4) | |
250 | + activesupport (= 4.2.4) | |
251 | + rake (>= 0.8.7) | |
252 | + thor (>= 0.18.1, < 2.0) | |
253 | + rainbow (2.0.0) | |
254 | + rake (10.4.2) | |
255 | + rdoc (4.2.0) | |
256 | + redcard (1.1.0) | |
257 | + reek (2.2.1) | |
258 | + parser (~> 2.2) | |
259 | + rainbow (~> 2.0) | |
260 | + unparser (~> 0.2.2) | |
261 | + ref (2.0.0) | |
262 | + require_all (1.3.2) | |
263 | + rest-client (1.8.0) | |
264 | + http-cookie (>= 1.0.2, < 2.0) | |
265 | + mime-types (>= 1.16, < 3.0) | |
266 | + netrc (~> 0.7) | |
267 | + roodi (3.3.1) | |
268 | + ruby_parser (~> 3.2, >= 3.2.2) | |
269 | + rspec-core (3.3.2) | |
270 | + rspec-support (~> 3.3.0) | |
271 | + rspec-expectations (3.3.1) | |
272 | + diff-lcs (>= 1.2.0, < 2.0) | |
273 | + rspec-support (~> 3.3.0) | |
274 | + rspec-mocks (3.3.2) | |
275 | + diff-lcs (>= 1.2.0, < 2.0) | |
276 | + rspec-support (~> 3.3.0) | |
277 | + rspec-rails (3.3.2) | |
278 | + actionpack (>= 3.0, < 4.3) | |
279 | + activesupport (>= 3.0, < 4.3) | |
280 | + railties (>= 3.0, < 4.3) | |
281 | + rspec-core (~> 3.3.0) | |
282 | + rspec-expectations (~> 3.3.0) | |
283 | + rspec-mocks (~> 3.3.0) | |
284 | + rspec-support (~> 3.3.0) | |
285 | + rspec-support (3.3.0) | |
286 | + ruby-progressbar (1.7.5) | |
287 | + ruby_parser (3.7.1) | |
288 | + sexp_processor (~> 4.1) | |
289 | + sass (3.4.18) | |
290 | + sass-rails (5.0.3) | |
291 | + railties (>= 4.0.0, < 5.0) | |
292 | + sass (~> 3.1) | |
293 | + sprockets (>= 2.8, < 4.0) | |
294 | + sprockets-rails (>= 2.0, < 4.0) | |
295 | + tilt (~> 1.1) | |
296 | + sdoc (0.4.1) | |
297 | + json (~> 1.7, >= 1.7.7) | |
298 | + rdoc (~> 4.0) | |
299 | + sexp_processor (4.6.0) | |
300 | + shoulda-matchers (2.8.0) | |
301 | + activesupport (>= 3.0.0) | |
302 | + simplecov (0.10.0) | |
303 | + docile (~> 1.1.0) | |
304 | + json (~> 1.8) | |
305 | + simplecov-html (~> 0.10.0) | |
306 | + simplecov-html (0.10.0) | |
307 | + spring (1.3.6) | |
308 | + sprockets (3.3.3) | |
309 | + rack (~> 1.0) | |
310 | + sprockets-rails (2.3.2) | |
311 | + actionpack (>= 3.0) | |
312 | + activesupport (>= 3.0) | |
313 | + sprockets (>= 2.8, < 4.0) | |
314 | + sqlite3 (1.3.10) | |
315 | + sshkit (1.7.1) | |
316 | + colorize (>= 0.7.0) | |
317 | + net-scp (>= 1.1.2) | |
318 | + net-ssh (>= 2.8.0) | |
319 | + therubyracer (0.12.2) | |
320 | + libv8 (~> 3.16.14.0) | |
321 | + ref | |
322 | + thor (0.19.1) | |
323 | + thread_safe (0.3.5) | |
324 | + tilt (1.4.1) | |
325 | + turbolinks (2.5.3) | |
326 | + coffee-rails | |
327 | + tzinfo (1.2.2) | |
328 | + thread_safe (~> 0.1) | |
329 | + uglifier (2.7.2) | |
330 | + execjs (>= 0.3.0) | |
331 | + json (>= 1.8.0) | |
332 | + unf (0.1.4) | |
333 | + unf_ext | |
334 | + unf_ext (0.0.7.1) | |
335 | + unparser (0.2.4) | |
336 | + abstract_type (~> 0.0.7) | |
337 | + adamantium (~> 0.2.0) | |
338 | + concord (~> 0.1.5) | |
339 | + diff-lcs (~> 1.2.5) | |
340 | + equalizer (~> 0.0.9) | |
341 | + parser (~> 2.2.2) | |
342 | + procto (~> 0.0.2) | |
343 | + web-console (2.0.0) | |
344 | + activemodel (~> 4.0) | |
345 | + binding_of_caller (>= 0.7.2) | |
346 | + railties (~> 4.0) | |
347 | + sprockets-rails (>= 2.0, < 4.0) | |
348 | + xpath (2.0.0) | |
349 | + nokogiri (~> 1.3) | |
350 | + | |
351 | +PLATFORMS | |
352 | + ruby | |
353 | + | |
354 | +DEPENDENCIES | |
355 | + byebug | |
356 | + capistrano (~> 3.4.0) | |
357 | + capistrano-bundler | |
358 | + capistrano-rails | |
359 | + capistrano-rvm (~> 0.1.0) | |
360 | + codeclimate-test-reporter | |
361 | + coffee-rails (~> 4.1.0) | |
362 | + cucumber (~> 1.3.10) | |
363 | + cucumber-rails | |
364 | + daemons (~> 1.2.2) | |
365 | + database_cleaner (>= 1.4.1) | |
366 | + debug_inspector | |
367 | + delayed_job_active_record (~> 4.0.1) | |
368 | + descriptive-statistics (~> 2.1.2) | |
369 | + exception_notification (~> 4.1.0) | |
370 | + factory_girl_rails (~> 4.5.0) | |
371 | + foreman (~> 0.78.0) | |
372 | + git (~> 1.2.7) | |
373 | + jbuilder (~> 2.0) | |
374 | + kalibro_client (~> 1.3) | |
375 | + metric_fu (~> 4.12.0) | |
376 | + mocha | |
377 | + pg | |
378 | + psych (~> 2.0.12) | |
379 | + rails (= 4.2.4) | |
380 | + rails-html-sanitizer (~> 1.0) | |
381 | + rspec-rails (~> 3.3.2) | |
382 | + sass-rails (~> 5.0.0.beta1) | |
383 | + sdoc (~> 0.4.0) | |
384 | + shoulda-matchers (~> 2.8.0) | |
385 | + simplecov | |
386 | + spring | |
387 | + sqlite3 | |
388 | + therubyracer | |
389 | + turbolinks | |
390 | + uglifier (>= 1.3.0) | |
391 | + web-console (~> 2.0.0) | |
392 | + | |
393 | +BUNDLED WITH | |
394 | + 1.10.6 | ... | ... |
1 | +++ a/Makefile | |
... | ... | @@ -0,0 +1,36 @@ |
1 | +NAME = kalibro-processor | |
2 | +VERSION = 0.10.0 | |
3 | +TARBALL = $(NAME)-deps-$(VERSION).tar.gz | |
4 | +PREFIX = /usr | |
5 | +WGET = wget | |
6 | +BRANCH = v0.10.0 | |
7 | +BUNDLE_OPTS = --verbose --without='development test cucumber' | |
8 | + | |
9 | +all: | |
10 | + bundle install $(BUNDLE_OPTS) --local --deployment | |
11 | + grep -rl '/usr/local/bin/ruby' vendor/bundle/ruby/gems/*/ | xargs --no-run-if-empty sed -i -e '1,2 s|.*|#!/usr/bin/env ruby|' | |
12 | + | |
13 | +dist: $(TARBALL) | |
14 | + | |
15 | +$(TARBALL): | |
16 | + (git archive --prefix=$(NAME)-deps-$(VERSION)/ HEAD | gzip > $@) || ($(RM) $@; false) | |
17 | + | |
18 | +install: all | |
19 | + mkdir -p $(DESTDIR)$(PREFIX)/lib/$(NAME)/vendor | |
20 | + install -m 0644 Gemfile $(DESTDIR)$(PREFIX)/lib/$(NAME) | |
21 | + install -m 0644 Gemfile.lock $(DESTDIR)$(PREFIX)/lib/$(NAME) | |
22 | + cp -r .bundle $(DESTDIR)$(PREFIX)/lib/$(NAME)/.bundle | |
23 | + cp -r vendor/bundle $(DESTDIR)$(PREFIX)/lib/$(NAME)/vendor/bundle | |
24 | + | |
25 | +update: clean | |
26 | + $(RM) Gemfile* | |
27 | + $(WGET) -O Gemfile https://raw.githubusercontent.com/mezuro/kalibro_processor/$(BRANCH)/Gemfile | |
28 | + $(WGET) -O Gemfile.lock https://raw.githubusercontent.com/mezuro/kalibro_processor/$(BRANCH)/Gemfile.lock | |
29 | + $(MAKE) bundle | |
30 | + | |
31 | +bundle: | |
32 | + bundle install $(BUNDLE_OPTS) --path vendor/bundle | |
33 | + bundle package | |
34 | + | |
35 | +clean: | |
36 | + $(RM) -r .bundle/ vendor/bundle/ $(TARBALL) | ... | ... |
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type