onotole 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 908168595a18c1d8a23da180ca79df1f5d13ac8b
4
- data.tar.gz: d78a001cc8167c00bc7751ad0534fbb9560582a6
3
+ metadata.gz: b5ef207a79d6a245177bfd41c614e1b3eed6c861
4
+ data.tar.gz: ff5d4cee6550755d937104fc093aa869a128dddb
5
5
  SHA512:
6
- metadata.gz: 3d67d52de3eb2a4b7b6186ce68b591b2d9a60048b7e0dc0b2874b4171eb1625e98869d44310ae34fe9c617795dc44ce6965377ab234245e49637df2f905314d2
7
- data.tar.gz: 99a4a1c92766141312496c80528ad8cb3a5aa518574e25c131a46816831143a1b941fe52c75ed9ef4f8884db99df94a399a8e51ae2ead2c0216168b2d6f2db30
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"
@@ -2,5 +2,5 @@
2
2
  module Onotole
3
3
  RAILS_VERSION = '~> 4.2.0'
4
4
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
5
- VERSION = '1.1.6'
5
+ VERSION = '1.1.7'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onotole
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - kvokka