onotole 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b5ef207a79d6a245177bfd41c614e1b3eed6c861
|
|
4
|
+
data.tar.gz: ff5d4cee6550755d937104fc093aa869a128dddb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acf11d559c39bdbd0912ad5c3e32c5d60056bcaa37106cb5397d2b958ea90e4364faa07f0b05e36b2e7b3fee6d32953e7ad9679979ecff7486702e12ef457590
|
|
7
|
+
data.tar.gz: 9f2fa65056120428d780e76610d84cb831596226f9525f16efdadb3807954761bc18c6561486713df712f2d978869c201e0ab71f1b06f9adc82420249a684a5a
|
data/README.md
CHANGED
|
@@ -118,6 +118,8 @@ creating elegant backends for website administration.
|
|
|
118
118
|
easy Google map + overlays creation in Ruby apps http://apneadiving.github.io/
|
|
119
119
|
* [image_optim](https://github.com/toy/image_optim) Optimize (lossless compress,
|
|
120
120
|
optionally lossy) images (jpeg, png, gif, svg) using external utilities
|
|
121
|
+
* [mailcatcher](https://github.com/sj26/mailcatcher) Catches mail and serves
|
|
122
|
+
it through a dream. http://mailcatcher.me
|
|
121
123
|
|
|
122
124
|
Mandatory installation gem list you will find in `Gemfile` section
|
|
123
125
|
|
|
@@ -6,6 +6,7 @@ module Onotole
|
|
|
6
6
|
:fotoramajs,
|
|
7
7
|
:underscore_rails,
|
|
8
8
|
:gmaps4rails,
|
|
9
|
+
:mailcatcher,
|
|
9
10
|
:devise,
|
|
10
11
|
:validates_timeliness,
|
|
11
12
|
:paper_trail,
|
|
@@ -238,5 +239,16 @@ end
|
|
|
238
239
|
inject_into_file(AppBuilder.js_file, "\n//= require gmaps/google",
|
|
239
240
|
after: '//= require underscore')
|
|
240
241
|
end
|
|
242
|
+
|
|
243
|
+
def after_install_mailcatcher
|
|
244
|
+
config = <<-RUBY
|
|
245
|
+
|
|
246
|
+
config.action_mailer.delivery_method = :smtp
|
|
247
|
+
config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 }
|
|
248
|
+
RUBY
|
|
249
|
+
|
|
250
|
+
replace_in_file 'config/environments/development.rb',
|
|
251
|
+
'config.action_mailer.delivery_method = :file', config
|
|
252
|
+
end
|
|
241
253
|
end
|
|
242
254
|
end
|
|
@@ -286,5 +286,9 @@ module Onotole
|
|
|
286
286
|
inject_into_file('Gemfile', "\ngem 'image_optim_pack'", after: '# user_choice')
|
|
287
287
|
inject_into_file('Gemfile', "\ngem 'image_optim'", after: '# user_choice')
|
|
288
288
|
end
|
|
289
|
+
|
|
290
|
+
def add_mailcatcher_gem
|
|
291
|
+
inject_into_file('Gemfile', "\n gem 'mailcatcher'", after: 'group :development do')
|
|
292
|
+
end
|
|
289
293
|
end
|
|
290
294
|
end
|
|
@@ -84,6 +84,7 @@ module Onotole
|
|
|
84
84
|
hirbunicode: 'Hirb unicode support',
|
|
85
85
|
dotenv_heroku: 'dotenv-heroku support',
|
|
86
86
|
image_optim: 'Optimize images (jpeg, png, gif, svg) using external utilities',
|
|
87
|
+
mailcatcher: 'Catches mail and serves it through a dream. http://mailcatcher.me',
|
|
87
88
|
meta_request: 'Rails meta panel in chrome console.'\
|
|
88
89
|
" Very usefull in\n#{' ' * 24}AJAX debugging. Link for chrome"\
|
|
89
90
|
" add-on in Gemfile.\n#{' ' * 24}Do not delete comments if you need this link"
|
data/lib/onotole/version.rb
CHANGED