Commit 4b6da2ffcda5ac7c6d39700737fe7066e940238a
0 parents
Exists in
master
Adds prezento dependencies
Signed-off-by: Rafael Manzo <rr.manzo@gmail.com>
Showing
74 changed files
with
555 additions
and
0 deletions
Show diff stats
1 | +++ a/Gemfile | |
... | ... | @@ -0,0 +1,139 @@ |
1 | +source 'https://rubygems.org' | |
2 | + | |
3 | +# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
4 | +gem 'rails', '4.2.2' | |
5 | + | |
6 | +# Use sqlite3 as the database for Active Record | |
7 | +gem 'sqlite3' | |
8 | + | |
9 | +# Use SCSS for stylesheets | |
10 | +gem 'sass-rails', '~> 5.0.0' | |
11 | + | |
12 | +# Use Uglifier as compressor for JavaScript assets | |
13 | +gem 'uglifier', '>= 1.3.0' | |
14 | + | |
15 | +# Use CoffeeScript for .js.coffee assets and views | |
16 | +gem 'coffee-rails', '~> 4.1.0' | |
17 | + | |
18 | +# See https://github.com/sstephenson/execjs#readme for more supported runtimes | |
19 | +gem 'therubyracer', platforms: :ruby | |
20 | + | |
21 | +# Use jquery as the JavaScript library | |
22 | +gem 'jquery-rails' | |
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 | +# For user authentication and everything else | |
31 | +gem 'devise', '~> 3.5.1' | |
32 | + | |
33 | +# Kalibro integration | |
34 | +gem 'kalibro_client', '~> 0.4.0' | |
35 | + | |
36 | +# PostgreSQL integration | |
37 | +gem "pg", "~> 0.18.1" | |
38 | + | |
39 | +# Twitter Bootstrap for layout | |
40 | +gem 'twitter-bootstrap-rails', :git => 'https://github.com/seyhunak/twitter-bootstrap-rails.git' | |
41 | + | |
42 | +# Chart generation | |
43 | +gem "chart-js-rails", "~> 0.0.6" | |
44 | + | |
45 | +# JQueryUI | |
46 | +gem 'jquery-ui-rails', '~> 5.0.0' | |
47 | + | |
48 | +# colorpicker | |
49 | +gem 'colorpicker', '~> 0.0.5' | |
50 | + | |
51 | +# Memcached | |
52 | +gem "dalli", "~> 2.7.0" | |
53 | + | |
54 | +# bundle exec rake doc:rails generates the API under doc/api. | |
55 | +gem 'sdoc', '~> 0.4.0', group: :doc | |
56 | + | |
57 | +# Use Rails Html Sanitizer for HTML sanitization | |
58 | +gem 'rails-html-sanitizer', '~> 1.0' | |
59 | + | |
60 | +# Sends a email whenever there is a unexpected exception | |
61 | +gem 'exception_notification', '~> 4.1.1' | |
62 | + | |
63 | +# Google Analytics | |
64 | +gem 'google-analytics-rails', '~> 0.0.6' | |
65 | + | |
66 | +# Browser language detection | |
67 | +gem 'http_accept_language' | |
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 | + # Simple Mocks | |
77 | + gem 'mocha', require: 'mocha/api' | |
78 | + | |
79 | + # Test coverage report | |
80 | + gem 'codeclimate-test-reporter', require: nil | |
81 | + | |
82 | + # For Konacha | |
83 | + gem 'thin' | |
84 | +end | |
85 | + | |
86 | +group :development, :test do | |
87 | + # Call 'byebug' anywhere in the code to stop execution and get a debugger console | |
88 | + gem 'byebug' | |
89 | + | |
90 | + # Access an IRB console on exception pages or by using <%= console %> in views | |
91 | + gem 'web-console', '~> 2.0.0' | |
92 | + | |
93 | + # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring | |
94 | + gem 'spring' | |
95 | + | |
96 | + # Test framework | |
97 | + gem 'rspec-rails', '~> 3.3.2' | |
98 | + | |
99 | + # Fixtures made easy | |
100 | + gem 'factory_girl_rails', '~> 4.5.0' | |
101 | + | |
102 | + # Deployment | |
103 | + gem 'capistrano', "~>3.4.0", require: false | |
104 | + gem 'capistrano-rails' | |
105 | + gem 'capistrano-bundler' | |
106 | + gem 'capistrano-rvm', "~>0.1.0" | |
107 | + | |
108 | + # JavaScript unit tests | |
109 | + gem "konacha" | |
110 | + | |
111 | + # Better error interface | |
112 | + gem 'better_errors' | |
113 | + gem 'binding_of_caller' | |
114 | + | |
115 | + # Localization assistance | |
116 | + gem 'i18n_generators' | |
117 | + | |
118 | + gem 'sprockets' | |
119 | + | |
120 | + # Mocks and stubs for javascript tests | |
121 | + gem 'sinon-rails' | |
122 | +end | |
123 | + | |
124 | +# Acceptance tests | |
125 | +group :cucumber do | |
126 | + gem 'cucumber-rails', '~> 1.4.0' | |
127 | + # cleans the database | |
128 | + # Version must be grater than 1.4.1. See: | |
129 | + # https://github.com/DatabaseCleaner/database_cleaner/issues/317 | |
130 | + gem 'database_cleaner', '~> 1.4.1' | |
131 | + gem 'poltergeist', '~> 1.6.0' | |
132 | +end | |
133 | + | |
134 | + | |
135 | +# Use ActiveModel has_secure_password | |
136 | +# gem 'bcrypt', '~> 3.1.7' | |
137 | + | |
138 | +# Use unicorn as the app server | |
139 | +# gem 'unicorn' | ... | ... |
1 | +++ a/Gemfile.lock | |
... | ... | @@ -0,0 +1,377 @@ |
1 | +GIT | |
2 | + remote: https://github.com/seyhunak/twitter-bootstrap-rails.git | |
3 | + revision: 935f53bb55ef736260fa2ef04e29da2fc3fb2b3f | |
4 | + specs: | |
5 | + twitter-bootstrap-rails (3.2.1) | |
6 | + actionpack (>= 3.1) | |
7 | + execjs (>= 2.2.2, >= 2.2) | |
8 | + less-rails (>= 2.5.0) | |
9 | + railties (>= 3.1) | |
10 | + | |
11 | +GEM | |
12 | + remote: https://rubygems.org/ | |
13 | + specs: | |
14 | + actionmailer (4.2.2) | |
15 | + actionpack (= 4.2.2) | |
16 | + actionview (= 4.2.2) | |
17 | + activejob (= 4.2.2) | |
18 | + mail (~> 2.5, >= 2.5.4) | |
19 | + rails-dom-testing (~> 1.0, >= 1.0.5) | |
20 | + actionpack (4.2.2) | |
21 | + actionview (= 4.2.2) | |
22 | + activesupport (= 4.2.2) | |
23 | + rack (~> 1.6) | |
24 | + rack-test (~> 0.6.2) | |
25 | + rails-dom-testing (~> 1.0, >= 1.0.5) | |
26 | + rails-html-sanitizer (~> 1.0, >= 1.0.1) | |
27 | + actionview (4.2.2) | |
28 | + activesupport (= 4.2.2) | |
29 | + builder (~> 3.1) | |
30 | + erubis (~> 2.7.0) | |
31 | + rails-dom-testing (~> 1.0, >= 1.0.5) | |
32 | + rails-html-sanitizer (~> 1.0, >= 1.0.1) | |
33 | + activejob (4.2.2) | |
34 | + activesupport (= 4.2.2) | |
35 | + globalid (>= 0.3.0) | |
36 | + activemodel (4.2.2) | |
37 | + activesupport (= 4.2.2) | |
38 | + builder (~> 3.1) | |
39 | + activerecord (4.2.2) | |
40 | + activemodel (= 4.2.2) | |
41 | + activesupport (= 4.2.2) | |
42 | + arel (~> 6.0) | |
43 | + activesupport (4.2.2) | |
44 | + i18n (~> 0.7) | |
45 | + json (~> 1.7, >= 1.7.7) | |
46 | + minitest (~> 5.1) | |
47 | + thread_safe (~> 0.3, >= 0.3.4) | |
48 | + tzinfo (~> 1.1) | |
49 | + arel (6.0.0) | |
50 | + bcrypt (3.1.10) | |
51 | + better_errors (2.1.1) | |
52 | + coderay (>= 1.0.0) | |
53 | + erubis (>= 2.6.6) | |
54 | + rack (>= 0.9.0) | |
55 | + binding_of_caller (0.7.2) | |
56 | + debug_inspector (>= 0.0.1) | |
57 | + builder (3.2.2) | |
58 | + byebug (5.0.0) | |
59 | + columnize (= 0.9.0) | |
60 | + capistrano (3.4.0) | |
61 | + i18n | |
62 | + rake (>= 10.0.0) | |
63 | + sshkit (~> 1.3) | |
64 | + capistrano-bundler (1.1.4) | |
65 | + capistrano (~> 3.1) | |
66 | + sshkit (~> 1.2) | |
67 | + capistrano-rails (1.1.3) | |
68 | + capistrano (~> 3.1) | |
69 | + capistrano-bundler (~> 1.1) | |
70 | + capistrano-rvm (0.1.2) | |
71 | + capistrano (~> 3.0) | |
72 | + sshkit (~> 1.2) | |
73 | + capybara (2.4.4) | |
74 | + mime-types (>= 1.16) | |
75 | + nokogiri (>= 1.3.3) | |
76 | + rack (>= 1.0.0) | |
77 | + rack-test (>= 0.5.4) | |
78 | + xpath (~> 2.0) | |
79 | + chart-js-rails (0.0.9) | |
80 | + railties (> 3.1) | |
81 | + cliver (0.3.2) | |
82 | + codeclimate-test-reporter (0.4.7) | |
83 | + simplecov (>= 0.7.1, < 1.0.0) | |
84 | + coderay (1.1.0) | |
85 | + coffee-rails (4.1.0) | |
86 | + coffee-script (>= 2.2.0) | |
87 | + railties (>= 4.0.0, < 5.0) | |
88 | + coffee-script (2.4.1) | |
89 | + coffee-script-source | |
90 | + execjs | |
91 | + coffee-script-source (1.9.1.1) | |
92 | + colorize (0.7.7) | |
93 | + colorpicker (0.0.5) | |
94 | + columnize (0.9.0) | |
95 | + commonjs (0.2.7) | |
96 | + cucumber (1.3.20) | |
97 | + builder (>= 2.1.2) | |
98 | + diff-lcs (>= 1.1.3) | |
99 | + gherkin (~> 2.12) | |
100 | + multi_json (>= 1.7.5, < 2.0) | |
101 | + multi_test (>= 0.1.2) | |
102 | + cucumber-rails (1.4.2) | |
103 | + capybara (>= 1.1.2, < 3) | |
104 | + cucumber (>= 1.3.8, < 2) | |
105 | + mime-types (>= 1.16, < 3) | |
106 | + nokogiri (~> 1.5) | |
107 | + rails (>= 3, < 5) | |
108 | + daemons (1.2.3) | |
109 | + dalli (2.7.4) | |
110 | + database_cleaner (1.4.1) | |
111 | + debug_inspector (0.0.2) | |
112 | + devise (3.5.1) | |
113 | + bcrypt (~> 3.0) | |
114 | + orm_adapter (~> 0.1) | |
115 | + railties (>= 3.2.6, < 5) | |
116 | + responders | |
117 | + thread_safe (~> 0.1) | |
118 | + warden (~> 1.2.3) | |
119 | + diff-lcs (1.2.5) | |
120 | + docile (1.1.5) | |
121 | + domain_name (0.5.24) | |
122 | + unf (>= 0.0.5, < 1.0.0) | |
123 | + erubis (2.7.0) | |
124 | + eventmachine (1.0.7) | |
125 | + exception_notification (4.1.1) | |
126 | + actionmailer (>= 3.0.4) | |
127 | + activesupport (>= 3.0.4) | |
128 | + execjs (2.5.2) | |
129 | + factory_girl (4.5.0) | |
130 | + activesupport (>= 3.0.0) | |
131 | + factory_girl_rails (4.5.0) | |
132 | + factory_girl (~> 4.5.0) | |
133 | + railties (>= 3.0.0) | |
134 | + faraday (0.9.1) | |
135 | + multipart-post (>= 1.2, < 3) | |
136 | + faraday_middleware (0.9.1) | |
137 | + faraday (>= 0.7.4, < 0.10) | |
138 | + gherkin (2.12.2) | |
139 | + multi_json (~> 1.3) | |
140 | + globalid (0.3.5) | |
141 | + activesupport (>= 4.1.0) | |
142 | + google-analytics-rails (0.0.6) | |
143 | + http-cookie (1.0.2) | |
144 | + domain_name (~> 0.5) | |
145 | + http_accept_language (2.0.5) | |
146 | + i18n (0.7.0) | |
147 | + i18n_generators (1.2.1) | |
148 | + mechanize | |
149 | + rails (>= 3.0.0) | |
150 | + jbuilder (2.3.0) | |
151 | + activesupport (>= 3.0.0, < 5) | |
152 | + multi_json (~> 1.2) | |
153 | + jquery-rails (4.0.4) | |
154 | + rails-dom-testing (~> 1.0) | |
155 | + railties (>= 4.2.0) | |
156 | + thor (>= 0.14, < 2.0) | |
157 | + jquery-ui-rails (5.0.5) | |
158 | + railties (>= 3.2.16) | |
159 | + json (1.8.3) | |
160 | + kalibro_client (0.4.0) | |
161 | + activesupport (>= 2.2.1) | |
162 | + faraday_middleware (~> 0.9.0) | |
163 | + konacha (3.5.1) | |
164 | + actionpack (>= 3.1, < 5) | |
165 | + capybara | |
166 | + colorize | |
167 | + railties (>= 3.1, < 5) | |
168 | + sprockets (>= 2, < 4) | |
169 | + tilt | |
170 | + less (2.6.0) | |
171 | + commonjs (~> 0.2.7) | |
172 | + less-rails (2.7.0) | |
173 | + actionpack (>= 4.0) | |
174 | + less (~> 2.6.0) | |
175 | + sprockets (> 2, < 4) | |
176 | + tilt | |
177 | + libv8 (3.16.14.7) | |
178 | + loofah (2.0.2) | |
179 | + nokogiri (>= 1.5.9) | |
180 | + mail (2.6.3) | |
181 | + mime-types (>= 1.16, < 3) | |
182 | + mechanize (2.7.3) | |
183 | + domain_name (~> 0.5, >= 0.5.1) | |
184 | + http-cookie (~> 1.0) | |
185 | + mime-types (~> 2.0) | |
186 | + net-http-digest_auth (~> 1.1, >= 1.1.1) | |
187 | + net-http-persistent (~> 2.5, >= 2.5.2) | |
188 | + nokogiri (~> 1.4) | |
189 | + ntlm-http (~> 0.1, >= 0.1.1) | |
190 | + webrobots (>= 0.0.9, < 0.2) | |
191 | + metaclass (0.0.4) | |
192 | + mime-types (2.6.1) | |
193 | + mini_portile (0.6.2) | |
194 | + minitest (5.7.0) | |
195 | + mocha (1.1.0) | |
196 | + metaclass (~> 0.0.1) | |
197 | + multi_json (1.11.1) | |
198 | + multi_test (0.1.2) | |
199 | + multipart-post (2.0.0) | |
200 | + net-http-digest_auth (1.4) | |
201 | + net-http-persistent (2.9.4) | |
202 | + net-scp (1.2.1) | |
203 | + net-ssh (>= 2.6.5) | |
204 | + net-ssh (2.9.2) | |
205 | + nokogiri (1.6.6.2) | |
206 | + mini_portile (~> 0.6.0) | |
207 | + ntlm-http (0.1.1) | |
208 | + orm_adapter (0.5.0) | |
209 | + pg (0.18.2) | |
210 | + poltergeist (1.6.0) | |
211 | + capybara (~> 2.1) | |
212 | + cliver (~> 0.3.1) | |
213 | + multi_json (~> 1.0) | |
214 | + websocket-driver (>= 0.2.0) | |
215 | + rack (1.6.4) | |
216 | + rack-test (0.6.3) | |
217 | + rack (>= 1.0) | |
218 | + rails (4.2.2) | |
219 | + actionmailer (= 4.2.2) | |
220 | + actionpack (= 4.2.2) | |
221 | + actionview (= 4.2.2) | |
222 | + activejob (= 4.2.2) | |
223 | + activemodel (= 4.2.2) | |
224 | + activerecord (= 4.2.2) | |
225 | + activesupport (= 4.2.2) | |
226 | + bundler (>= 1.3.0, < 2.0) | |
227 | + railties (= 4.2.2) | |
228 | + sprockets-rails | |
229 | + rails-deprecated_sanitizer (1.0.3) | |
230 | + activesupport (>= 4.2.0.alpha) | |
231 | + rails-dom-testing (1.0.6) | |
232 | + activesupport (>= 4.2.0.beta, < 5.0) | |
233 | + nokogiri (~> 1.6.0) | |
234 | + rails-deprecated_sanitizer (>= 1.0.1) | |
235 | + rails-html-sanitizer (1.0.2) | |
236 | + loofah (~> 2.0) | |
237 | + railties (4.2.2) | |
238 | + actionpack (= 4.2.2) | |
239 | + activesupport (= 4.2.2) | |
240 | + rake (>= 0.8.7) | |
241 | + thor (>= 0.18.1, < 2.0) | |
242 | + rake (10.4.2) | |
243 | + rdoc (4.2.0) | |
244 | + ref (1.0.5) | |
245 | + responders (2.1.0) | |
246 | + railties (>= 4.2.0, < 5) | |
247 | + rspec-core (3.3.1) | |
248 | + rspec-support (~> 3.3.0) | |
249 | + rspec-expectations (3.3.0) | |
250 | + diff-lcs (>= 1.2.0, < 2.0) | |
251 | + rspec-support (~> 3.3.0) | |
252 | + rspec-mocks (3.3.1) | |
253 | + diff-lcs (>= 1.2.0, < 2.0) | |
254 | + rspec-support (~> 3.3.0) | |
255 | + rspec-rails (3.3.2) | |
256 | + actionpack (>= 3.0, < 4.3) | |
257 | + activesupport (>= 3.0, < 4.3) | |
258 | + railties (>= 3.0, < 4.3) | |
259 | + rspec-core (~> 3.3.0) | |
260 | + rspec-expectations (~> 3.3.0) | |
261 | + rspec-mocks (~> 3.3.0) | |
262 | + rspec-support (~> 3.3.0) | |
263 | + rspec-support (3.3.0) | |
264 | + sass (3.4.15) | |
265 | + sass-rails (5.0.3) | |
266 | + railties (>= 4.0.0, < 5.0) | |
267 | + sass (~> 3.1) | |
268 | + sprockets (>= 2.8, < 4.0) | |
269 | + sprockets-rails (>= 2.0, < 4.0) | |
270 | + tilt (~> 1.1) | |
271 | + sdoc (0.4.1) | |
272 | + json (~> 1.7, >= 1.7.7) | |
273 | + rdoc (~> 4.0) | |
274 | + shoulda-matchers (2.8.0) | |
275 | + activesupport (>= 3.0.0) | |
276 | + simplecov (0.10.0) | |
277 | + docile (~> 1.1.0) | |
278 | + json (~> 1.8) | |
279 | + simplecov-html (~> 0.10.0) | |
280 | + simplecov-html (0.10.0) | |
281 | + sinon-rails (1.15.0) | |
282 | + railties (>= 3.1) | |
283 | + spring (1.3.6) | |
284 | + sprockets (3.2.0) | |
285 | + rack (~> 1.0) | |
286 | + sprockets-rails (2.3.2) | |
287 | + actionpack (>= 3.0) | |
288 | + activesupport (>= 3.0) | |
289 | + sprockets (>= 2.8, < 4.0) | |
290 | + sqlite3 (1.3.10) | |
291 | + sshkit (1.7.1) | |
292 | + colorize (>= 0.7.0) | |
293 | + net-scp (>= 1.1.2) | |
294 | + net-ssh (>= 2.8.0) | |
295 | + therubyracer (0.12.2) | |
296 | + libv8 (~> 3.16.14.0) | |
297 | + ref | |
298 | + thin (1.6.3) | |
299 | + daemons (~> 1.0, >= 1.0.9) | |
300 | + eventmachine (~> 1.0) | |
301 | + rack (~> 1.0) | |
302 | + thor (0.19.1) | |
303 | + thread_safe (0.3.5) | |
304 | + tilt (1.4.1) | |
305 | + turbolinks (2.5.3) | |
306 | + coffee-rails | |
307 | + tzinfo (1.2.2) | |
308 | + thread_safe (~> 0.1) | |
309 | + uglifier (2.7.1) | |
310 | + execjs (>= 0.3.0) | |
311 | + json (>= 1.8.0) | |
312 | + unf (0.1.4) | |
313 | + unf_ext | |
314 | + unf_ext (0.0.7.1) | |
315 | + warden (1.2.3) | |
316 | + rack (>= 1.0) | |
317 | + web-console (2.0.0) | |
318 | + activemodel (~> 4.0) | |
319 | + binding_of_caller (>= 0.7.2) | |
320 | + railties (~> 4.0) | |
321 | + sprockets-rails (>= 2.0, < 4.0) | |
322 | + webrobots (0.1.1) | |
323 | + websocket-driver (0.5.4) | |
324 | + websocket-extensions (>= 0.1.0) | |
325 | + websocket-extensions (0.1.2) | |
326 | + xpath (2.0.0) | |
327 | + nokogiri (~> 1.3) | |
328 | + | |
329 | +PLATFORMS | |
330 | + ruby | |
331 | + | |
332 | +DEPENDENCIES | |
333 | + better_errors | |
334 | + binding_of_caller | |
335 | + byebug | |
336 | + capistrano (~> 3.4.0) | |
337 | + capistrano-bundler | |
338 | + capistrano-rails | |
339 | + capistrano-rvm (~> 0.1.0) | |
340 | + chart-js-rails (~> 0.0.6) | |
341 | + codeclimate-test-reporter | |
342 | + coffee-rails (~> 4.1.0) | |
343 | + colorpicker (~> 0.0.5) | |
344 | + cucumber-rails (~> 1.4.0) | |
345 | + dalli (~> 2.7.0) | |
346 | + database_cleaner (~> 1.4.1) | |
347 | + devise (~> 3.5.1) | |
348 | + exception_notification (~> 4.1.1) | |
349 | + factory_girl_rails (~> 4.5.0) | |
350 | + google-analytics-rails (~> 0.0.6) | |
351 | + http_accept_language | |
352 | + i18n_generators | |
353 | + jbuilder (~> 2.0) | |
354 | + jquery-rails | |
355 | + jquery-ui-rails (~> 5.0.0) | |
356 | + kalibro_client (~> 0.4.0) | |
357 | + konacha | |
358 | + mocha | |
359 | + pg (~> 0.18.1) | |
360 | + poltergeist (~> 1.6.0) | |
361 | + rails (= 4.2.2) | |
362 | + rails-html-sanitizer (~> 1.0) | |
363 | + rspec-rails (~> 3.3.2) | |
364 | + sass-rails (~> 5.0.0) | |
365 | + sdoc (~> 0.4.0) | |
366 | + shoulda-matchers (~> 2.8.0) | |
367 | + simplecov | |
368 | + sinon-rails | |
369 | + spring | |
370 | + sprockets | |
371 | + sqlite3 | |
372 | + therubyracer | |
373 | + thin | |
374 | + turbolinks | |
375 | + twitter-bootstrap-rails! | |
376 | + uglifier (>= 1.3.0) | |
377 | + web-console (~> 2.0.0) | ... | ... |
1 | +++ a/Makefile | |
... | ... | @@ -0,0 +1,36 @@ |
1 | +NAME = prezento | |
2 | +VERSION = 0.8 | |
3 | +TARBALL = $(NAME)-deps-$(VERSION).tar.gz | |
4 | +PREFIX = /usr | |
5 | +WGET = wget | |
6 | +BRANCH = v0.8.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/prezento/$(BRANCH)/Gemfile | |
28 | + $(WGET) -O Gemfile.lock https://raw.githubusercontent.com/mezuro/prezento/$(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