blueberry_rails 0.1.1 → 0.1.2

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: 8fe0a9fcb3368c2539f58a84f7a49d78c75f68e7
4
- data.tar.gz: 204c12fce1fa68dbbb10340fcc9fe632ce33f401
3
+ metadata.gz: 0c981cb74af7ec7df5b6f4ebb5872b0ee33d40cf
4
+ data.tar.gz: 74037ea0c83d48e8e935603d461edf37de278b84
5
5
  SHA512:
6
- metadata.gz: 91ed6e1d77c686f5deb934757668a27e7c35592097cdbba40a9acb16d28eb1bc4d8dd4ee622a01449b9743233d1f52a1d085dd5f48e1ff65ed4ac099785069c9
7
- data.tar.gz: 112db37da4e1873f01bb9c55c3b6d90e27069e62dacf882059d4fe39c796d1db0e35761d296991114347d9edc436327eed05be511e00b8deb4cb0ea014fe8fb2
6
+ metadata.gz: ef1f5b0d7a01572c4234f8ccdf7567f514e44716accb871b43aba1780dcd5a5770fdbb63a2fd53882d5fbed8e93ecf6722257468fefc8609fdcfaf1a9652a57f
7
+ data.tar.gz: a6f3771a29246d66e6b5e277203b1b178ca567b0bea9ec711129d208333c20785a1ffabeaa712f45c84697adeefc40f078da06c22c5af41e494c9bab7d68efa4
@@ -96,6 +96,13 @@ module BlueberryRails
96
96
  'config.action_controller.action_on_unpermitted_parameters = :raise'
97
97
  end
98
98
 
99
+ def configure_mailcatcher
100
+ configure_environment 'development',
101
+ 'config.action_mailer.delivery_method = :smtp'
102
+ configure_environment 'development',
103
+ "config.action_mailer.smtp_settings = { address: 'localhost', port: 1025 }"
104
+ end
105
+
99
106
  def configure_generators
100
107
  config = <<-RUBY
101
108
  config.generators do |generate|
@@ -113,6 +120,10 @@ module BlueberryRails
113
120
  inject_into_class 'config/application.rb', 'Application', config
114
121
  end
115
122
 
123
+ def add_ruby_version_file
124
+ add_file '.ruby-version', "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
125
+ end
126
+
116
127
  def remove_routes_comment_lines
117
128
  replace_in_file 'config/routes.rb',
118
129
  /Application\.routes\.draw do.*end/m,
@@ -57,6 +57,7 @@ module BlueberryRails
57
57
  say 'Setting up the development environment'
58
58
  build :configure_generators
59
59
  build :raise_on_unpermitted_parameters
60
+ build :configure_mailcatcher
60
61
  end
61
62
 
62
63
  def setup_test_environment
@@ -84,6 +85,7 @@ module BlueberryRails
84
85
  build :disable_xml_params
85
86
  build :setup_mailer_hosts
86
87
  build :remove_turbolinks
88
+ build :add_ruby_version_file
87
89
  end
88
90
 
89
91
  def remove_routes_comment_lines
@@ -1,3 +1,3 @@
1
1
  module BlueberryRails
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -5,6 +5,7 @@ gem 'coffee-rails', '~> 4.0.0'
5
5
  gem 'devise'
6
6
  <% end -%>
7
7
  gem 'dotenv-rails'
8
+ gem 'flutie'
8
9
  gem 'jquery-rails'
9
10
  gem 'pg'
10
11
  gem 'rails', '~> 4.0.0'
@@ -1,12 +1,12 @@
1
1
  doctype html
2
2
  html
3
3
  head
4
- title Blueberryapps!
4
+ title= page_title
5
5
  meta charset="utf-8"
6
6
  = stylesheet_link_tag :application, :media => 'all'
7
7
  = csrf_meta_tags
8
8
 
9
- body
9
+ body class=body_class
10
10
  = render 'flashes'
11
11
  = yield
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blueberry_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blueberryapps
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-08 00:00:00.000000000 Z
11
+ date: 2013-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler