Commit 993f3a532c24f3308c1a3b66503d2b3b29688bf2
0 parents
Exists in
master
Adding kalibro_configurations dependencies
Showing
62 changed files
with
397 additions
and
0 deletions
Show diff stats
1 | +++ a/Gemfile | |
... | ... | @@ -0,0 +1,95 @@ |
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 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 | +# Deployment | |
37 | +gem 'capistrano', "~>3.4.0", require: false | |
38 | +gem 'capistrano-rails' | |
39 | +gem 'capistrano-bundler' | |
40 | +gem 'capistrano-rvm', "~>0.1.0" | |
41 | + | |
42 | +group :test do | |
43 | + # Easier test writing | |
44 | + gem "shoulda-matchers", "~> 2.8.0" | |
45 | + | |
46 | + # Test coverage | |
47 | + gem 'simplecov', require: false | |
48 | + | |
49 | + # Code climate test coverage | |
50 | + gem "codeclimate-test-reporter", group: :test, require: nil | |
51 | +end | |
52 | + | |
53 | +group :development, :test do | |
54 | + # Call 'byebug' anywhere in the code to stop execution and get a debugger console | |
55 | + gem 'byebug' | |
56 | + | |
57 | + # Access an IRB console on exception pages or by using <%= console %> in views | |
58 | + gem 'web-console', '~> 2.0.0' | |
59 | + | |
60 | + # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring | |
61 | + gem 'spring' | |
62 | + | |
63 | + # Test framework | |
64 | + gem 'rspec-rails', '~> 3.3.2' | |
65 | + | |
66 | + # Mock framework | |
67 | + gem 'mocha', '~> 1.1.0' | |
68 | + | |
69 | + # Fixtures made easy | |
70 | + gem 'factory_girl_rails', '~> 4.5.0' | |
71 | +end | |
72 | + | |
73 | +group :development, :test, :cucumber do | |
74 | + # cleans the database | |
75 | + # Version fixed for >= 1.4.1, since 1.4.0 is broken. See: | |
76 | + # https://github.com/DatabaseCleaner/database_cleaner/issues/317 | |
77 | + gem 'database_cleaner', '>= 1.4.1' | |
78 | +end | |
79 | + | |
80 | +# Acceptance tests | |
81 | +group :cucumber do | |
82 | + gem 'cucumber', '~> 1.3.16' | |
83 | + gem 'cucumber-rails' | |
84 | + gem 'poltergeist', '~> 1.6.0' | |
85 | +end | |
86 | + | |
87 | +# Use ActiveModel has_secure_password | |
88 | +# gem 'bcrypt', '~> 3.1.7' | |
89 | + | |
90 | + | |
91 | +# Use Unicorn as the app server | |
92 | +# gem 'unicorn' | |
93 | + | |
94 | +# Use Capistrano for deployment | |
95 | +# gem 'capistrano-rails', group: :development | ... | ... |
1 | +++ a/Gemfile.lock | |
... | ... | @@ -0,0 +1,263 @@ |
1 | +GEM | |
2 | + remote: https://rubygems.org/ | |
3 | + specs: | |
4 | + actionmailer (4.2.2) | |
5 | + actionpack (= 4.2.2) | |
6 | + actionview (= 4.2.2) | |
7 | + activejob (= 4.2.2) | |
8 | + mail (~> 2.5, >= 2.5.4) | |
9 | + rails-dom-testing (~> 1.0, >= 1.0.5) | |
10 | + actionpack (4.2.2) | |
11 | + actionview (= 4.2.2) | |
12 | + activesupport (= 4.2.2) | |
13 | + rack (~> 1.6) | |
14 | + rack-test (~> 0.6.2) | |
15 | + rails-dom-testing (~> 1.0, >= 1.0.5) | |
16 | + rails-html-sanitizer (~> 1.0, >= 1.0.1) | |
17 | + actionview (4.2.2) | |
18 | + activesupport (= 4.2.2) | |
19 | + builder (~> 3.1) | |
20 | + erubis (~> 2.7.0) | |
21 | + rails-dom-testing (~> 1.0, >= 1.0.5) | |
22 | + rails-html-sanitizer (~> 1.0, >= 1.0.1) | |
23 | + activejob (4.2.2) | |
24 | + activesupport (= 4.2.2) | |
25 | + globalid (>= 0.3.0) | |
26 | + activemodel (4.2.2) | |
27 | + activesupport (= 4.2.2) | |
28 | + builder (~> 3.1) | |
29 | + activerecord (4.2.2) | |
30 | + activemodel (= 4.2.2) | |
31 | + activesupport (= 4.2.2) | |
32 | + arel (~> 6.0) | |
33 | + activesupport (4.2.2) | |
34 | + i18n (~> 0.7) | |
35 | + json (~> 1.7, >= 1.7.7) | |
36 | + minitest (~> 5.1) | |
37 | + thread_safe (~> 0.3, >= 0.3.4) | |
38 | + tzinfo (~> 1.1) | |
39 | + arel (6.0.0) | |
40 | + binding_of_caller (0.7.2) | |
41 | + debug_inspector (>= 0.0.1) | |
42 | + builder (3.2.2) | |
43 | + byebug (5.0.0) | |
44 | + columnize (= 0.9.0) | |
45 | + capistrano (3.4.0) | |
46 | + i18n | |
47 | + rake (>= 10.0.0) | |
48 | + sshkit (~> 1.3) | |
49 | + capistrano-bundler (1.1.4) | |
50 | + capistrano (~> 3.1) | |
51 | + sshkit (~> 1.2) | |
52 | + capistrano-rails (1.1.3) | |
53 | + capistrano (~> 3.1) | |
54 | + capistrano-bundler (~> 1.1) | |
55 | + capistrano-rvm (0.1.2) | |
56 | + capistrano (~> 3.0) | |
57 | + sshkit (~> 1.2) | |
58 | + capybara (2.4.4) | |
59 | + mime-types (>= 1.16) | |
60 | + nokogiri (>= 1.3.3) | |
61 | + rack (>= 1.0.0) | |
62 | + rack-test (>= 0.5.4) | |
63 | + xpath (~> 2.0) | |
64 | + cliver (0.3.2) | |
65 | + codeclimate-test-reporter (0.4.7) | |
66 | + simplecov (>= 0.7.1, < 1.0.0) | |
67 | + coffee-rails (4.1.0) | |
68 | + coffee-script (>= 2.2.0) | |
69 | + railties (>= 4.0.0, < 5.0) | |
70 | + coffee-script (2.4.1) | |
71 | + coffee-script-source | |
72 | + execjs | |
73 | + coffee-script-source (1.9.1.1) | |
74 | + colorize (0.7.7) | |
75 | + columnize (0.9.0) | |
76 | + cucumber (1.3.20) | |
77 | + builder (>= 2.1.2) | |
78 | + diff-lcs (>= 1.1.3) | |
79 | + gherkin (~> 2.12) | |
80 | + multi_json (>= 1.7.5, < 2.0) | |
81 | + multi_test (>= 0.1.2) | |
82 | + cucumber-rails (1.4.2) | |
83 | + capybara (>= 1.1.2, < 3) | |
84 | + cucumber (>= 1.3.8, < 2) | |
85 | + mime-types (>= 1.16, < 3) | |
86 | + nokogiri (~> 1.5) | |
87 | + rails (>= 3, < 5) | |
88 | + database_cleaner (1.4.1) | |
89 | + debug_inspector (0.0.2) | |
90 | + diff-lcs (1.2.5) | |
91 | + docile (1.1.5) | |
92 | + erubis (2.7.0) | |
93 | + execjs (2.5.2) | |
94 | + factory_girl (4.5.0) | |
95 | + activesupport (>= 3.0.0) | |
96 | + factory_girl_rails (4.5.0) | |
97 | + factory_girl (~> 4.5.0) | |
98 | + railties (>= 3.0.0) | |
99 | + gherkin (2.12.2) | |
100 | + multi_json (~> 1.3) | |
101 | + globalid (0.3.5) | |
102 | + activesupport (>= 4.1.0) | |
103 | + i18n (0.7.0) | |
104 | + jbuilder (2.3.0) | |
105 | + activesupport (>= 3.0.0, < 5) | |
106 | + multi_json (~> 1.2) | |
107 | + json (1.8.3) | |
108 | + libv8 (3.16.14.7) | |
109 | + loofah (2.0.2) | |
110 | + nokogiri (>= 1.5.9) | |
111 | + mail (2.6.3) | |
112 | + mime-types (>= 1.16, < 3) | |
113 | + metaclass (0.0.4) | |
114 | + mime-types (2.6.1) | |
115 | + mini_portile (0.6.2) | |
116 | + minitest (5.7.0) | |
117 | + mocha (1.1.0) | |
118 | + metaclass (~> 0.0.1) | |
119 | + multi_json (1.11.1) | |
120 | + multi_test (0.1.2) | |
121 | + net-scp (1.2.1) | |
122 | + net-ssh (>= 2.6.5) | |
123 | + net-ssh (2.9.2) | |
124 | + nokogiri (1.6.6.2) | |
125 | + mini_portile (~> 0.6.0) | |
126 | + pg (0.18.2) | |
127 | + poltergeist (1.6.0) | |
128 | + capybara (~> 2.1) | |
129 | + cliver (~> 0.3.1) | |
130 | + multi_json (~> 1.0) | |
131 | + websocket-driver (>= 0.2.0) | |
132 | + rack (1.6.4) | |
133 | + rack-test (0.6.3) | |
134 | + rack (>= 1.0) | |
135 | + rails (4.2.2) | |
136 | + actionmailer (= 4.2.2) | |
137 | + actionpack (= 4.2.2) | |
138 | + actionview (= 4.2.2) | |
139 | + activejob (= 4.2.2) | |
140 | + activemodel (= 4.2.2) | |
141 | + activerecord (= 4.2.2) | |
142 | + activesupport (= 4.2.2) | |
143 | + bundler (>= 1.3.0, < 2.0) | |
144 | + railties (= 4.2.2) | |
145 | + sprockets-rails | |
146 | + rails-deprecated_sanitizer (1.0.3) | |
147 | + activesupport (>= 4.2.0.alpha) | |
148 | + rails-dom-testing (1.0.6) | |
149 | + activesupport (>= 4.2.0.beta, < 5.0) | |
150 | + nokogiri (~> 1.6.0) | |
151 | + rails-deprecated_sanitizer (>= 1.0.1) | |
152 | + rails-html-sanitizer (1.0.2) | |
153 | + loofah (~> 2.0) | |
154 | + railties (4.2.2) | |
155 | + actionpack (= 4.2.2) | |
156 | + activesupport (= 4.2.2) | |
157 | + rake (>= 0.8.7) | |
158 | + thor (>= 0.18.1, < 2.0) | |
159 | + rake (10.4.2) | |
160 | + rdoc (4.2.0) | |
161 | + ref (1.0.5) | |
162 | + rspec-core (3.3.1) | |
163 | + rspec-support (~> 3.3.0) | |
164 | + rspec-expectations (3.3.0) | |
165 | + diff-lcs (>= 1.2.0, < 2.0) | |
166 | + rspec-support (~> 3.3.0) | |
167 | + rspec-mocks (3.3.1) | |
168 | + diff-lcs (>= 1.2.0, < 2.0) | |
169 | + rspec-support (~> 3.3.0) | |
170 | + rspec-rails (3.3.2) | |
171 | + actionpack (>= 3.0, < 4.3) | |
172 | + activesupport (>= 3.0, < 4.3) | |
173 | + railties (>= 3.0, < 4.3) | |
174 | + rspec-core (~> 3.3.0) | |
175 | + rspec-expectations (~> 3.3.0) | |
176 | + rspec-mocks (~> 3.3.0) | |
177 | + rspec-support (~> 3.3.0) | |
178 | + rspec-support (3.3.0) | |
179 | + sass (3.4.15) | |
180 | + sass-rails (5.0.3) | |
181 | + railties (>= 4.0.0, < 5.0) | |
182 | + sass (~> 3.1) | |
183 | + sprockets (>= 2.8, < 4.0) | |
184 | + sprockets-rails (>= 2.0, < 4.0) | |
185 | + tilt (~> 1.1) | |
186 | + sdoc (0.4.1) | |
187 | + json (~> 1.7, >= 1.7.7) | |
188 | + rdoc (~> 4.0) | |
189 | + shoulda-matchers (2.8.0) | |
190 | + activesupport (>= 3.0.0) | |
191 | + simplecov (0.10.0) | |
192 | + docile (~> 1.1.0) | |
193 | + json (~> 1.8) | |
194 | + simplecov-html (~> 0.10.0) | |
195 | + simplecov-html (0.10.0) | |
196 | + spring (1.3.6) | |
197 | + sprockets (3.2.0) | |
198 | + rack (~> 1.0) | |
199 | + sprockets-rails (2.3.2) | |
200 | + actionpack (>= 3.0) | |
201 | + activesupport (>= 3.0) | |
202 | + sprockets (>= 2.8, < 4.0) | |
203 | + sqlite3 (1.3.10) | |
204 | + sshkit (1.7.1) | |
205 | + colorize (>= 0.7.0) | |
206 | + net-scp (>= 1.1.2) | |
207 | + net-ssh (>= 2.8.0) | |
208 | + therubyracer (0.12.2) | |
209 | + libv8 (~> 3.16.14.0) | |
210 | + ref | |
211 | + thor (0.19.1) | |
212 | + thread_safe (0.3.5) | |
213 | + tilt (1.4.1) | |
214 | + turbolinks (2.5.3) | |
215 | + coffee-rails | |
216 | + tzinfo (1.2.2) | |
217 | + thread_safe (~> 0.1) | |
218 | + uglifier (2.7.1) | |
219 | + execjs (>= 0.3.0) | |
220 | + json (>= 1.8.0) | |
221 | + web-console (2.0.0) | |
222 | + activemodel (~> 4.0) | |
223 | + binding_of_caller (>= 0.7.2) | |
224 | + railties (~> 4.0) | |
225 | + sprockets-rails (>= 2.0, < 4.0) | |
226 | + websocket-driver (0.5.4) | |
227 | + websocket-extensions (>= 0.1.0) | |
228 | + websocket-extensions (0.1.2) | |
229 | + xpath (2.0.0) | |
230 | + nokogiri (~> 1.3) | |
231 | + | |
232 | +PLATFORMS | |
233 | + ruby | |
234 | + | |
235 | +DEPENDENCIES | |
236 | + byebug | |
237 | + capistrano (~> 3.4.0) | |
238 | + capistrano-bundler | |
239 | + capistrano-rails | |
240 | + capistrano-rvm (~> 0.1.0) | |
241 | + codeclimate-test-reporter | |
242 | + coffee-rails (~> 4.1.0) | |
243 | + cucumber (~> 1.3.16) | |
244 | + cucumber-rails | |
245 | + database_cleaner (>= 1.4.1) | |
246 | + factory_girl_rails (~> 4.5.0) | |
247 | + jbuilder (~> 2.0) | |
248 | + mocha (~> 1.1.0) | |
249 | + pg | |
250 | + poltergeist (~> 1.6.0) | |
251 | + rails (= 4.2.2) | |
252 | + rails-html-sanitizer (~> 1.0) | |
253 | + rspec-rails (~> 3.3.2) | |
254 | + sass-rails (~> 5.0.0.beta1) | |
255 | + sdoc (~> 0.4.0) | |
256 | + shoulda-matchers (~> 2.8.0) | |
257 | + simplecov | |
258 | + spring | |
259 | + sqlite3 | |
260 | + therubyracer | |
261 | + turbolinks | |
262 | + uglifier (>= 1.3.0) | |
263 | + web-console (~> 2.0.0) | ... | ... |
1 | +++ a/Makefile | |
... | ... | @@ -0,0 +1,36 @@ |
1 | +NAME = kalibro-configurations | |
2 | +VERSION = 1.0 | |
3 | +TARBALL = $(NAME)-deps-$(VERSION).tar.gz | |
4 | +PREFIX = /usr | |
5 | +WGET = wget | |
6 | +BRANCH = v1.0.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_configurations/$(BRANCH)/Gemfile | |
28 | + $(WGET) -O Gemfile.lock https://raw.githubusercontent.com/mezuro/kalibro_configurations/$(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