bretels 1.0.2 → 1.0.3

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: 29cd2e5245cbfdae9612a5383f73e2051ee5f766
4
- data.tar.gz: 4adc70193dcf383a5e6ffe357a775e546d1a5aa3
3
+ metadata.gz: 417a804e6c24e698010740e209dbaa1832dab7a3
4
+ data.tar.gz: 28bbe8160d288696b53245ce21bd3da2627ec0d6
5
5
  SHA512:
6
- metadata.gz: 93039e7d2b0e173e9c031c751f8e08e893fedc0811abd3c85cf1e3142fadebe812015bdfd528bcf932206a83536858f42c383fe1a40c96114a97d9f4cf16655d
7
- data.tar.gz: ef83e9aa548ab19c576941612856fe8cf50dc24fbca72216dd6d86f6da57ed210f2fab1c0073bce16f9568198ffa3a72864d022f0c450b784e5fdcec46ebd5ae
6
+ metadata.gz: 3b4ea638b5b74ce900e668b44684a0ba604b9079dfbb574c7dab84bac79b3548f06cae9c385c149ca7578e89bad319225c58b9e33d349a7838985f027504e817
7
+ data.tar.gz: 0b50b8e3781d2be6b05034a93a19b7243ded16d6a85111dde30bbf70224a9f06e72d01b2a868e94db6be5224e2f0ac0ffd4d120fc51034bbe530f1b9ae911d85
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bretels (1.0.2)
4
+ bretels (1.0.3)
5
5
  bundler (>= 1.1)
6
- hub (~> 1.10.2)
7
6
  rails (= 4.0.0)
8
7
 
9
8
  GEM
@@ -38,7 +37,6 @@ GEM
38
37
  builder (3.1.4)
39
38
  erubis (2.7.0)
40
39
  hike (1.2.3)
41
- hub (1.10.4)
42
40
  i18n (0.6.9)
43
41
  mail (2.5.4)
44
42
  mime-types (~> 1.16)
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
-
3
2
  require File.expand_path(File.join('..', 'lib', 'bretels', 'generators', 'app_generator'), File.dirname(__FILE__))
4
3
  require File.expand_path(File.join('..', 'lib', 'bretels', 'actions'), File.dirname(__FILE__))
5
4
  require File.expand_path(File.join('..', 'lib', 'bretels', 'app_builder'), File.dirname(__FILE__))
@@ -28,5 +28,4 @@ Fork of thoughtbot's Suspenders for use at Brightin.
28
28
 
29
29
  s.add_dependency 'rails', '4.0.0'
30
30
  s.add_dependency 'bundler', '>= 1.1'
31
- s.add_dependency 'hub', '~> 1.10.2'
32
31
  end
@@ -30,12 +30,12 @@ module Bretels
30
30
  def add_cdn_settings
31
31
  config = <<-RUBY
32
32
  \n\n # Cloudfront settings
33
- # config.static_cache_control = "public, max-age=31536000"
34
- # config.action_controller.asset_host = ENV['ASSET_HOST']
35
- RUBY
33
+ config.static_cache_control = "public, max-age=31536000"
34
+ config.action_controller.asset_host = ENV['ASSET_HOST']
36
35
 
37
- inject_into_file 'config.ru', "use Rack::Deflater\n",
38
- :before => "run #{app_const}"
36
+ # Enable Rack Zippy for GZIP responses
37
+ config.middleware.swap(ActionDispatch::Static, Rack::Zippy::AssetServer)
38
+ RUBY
39
39
 
40
40
  inject_into_file 'config/environments/production.rb', config.rstrip,
41
41
  :after => "config.assets.digest = true"
@@ -1,3 +1,3 @@
1
1
  module Bretels
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
@@ -34,6 +34,7 @@ end
34
34
 
35
35
  group :staging, :production do
36
36
  gem 'newrelic_rpm'
37
+ gem 'rack-zippy'
37
38
  gem 'rails_12factor'
38
39
  gem 'unicorn'
39
40
  end
@@ -7,7 +7,7 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
7
7
 
8
8
  RSpec.configure do |config|
9
9
  config.include FactoryGirl::Syntax::Methods
10
- config.use_transactional_fixtures = false
10
+ config.use_transactional_fixtures = true
11
11
  config.infer_base_class_for_anonymous_controllers = false
12
12
  config.order = "random"
13
13
  config.expect_with :rspec do |c|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bretels
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - brightin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-22 00:00:00.000000000 Z
12
+ date: 2014-01-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -29,30 +29,16 @@ dependencies:
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '1.1'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.1'
42
- - !ruby/object:Gem::Dependency
43
- name: hub
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - ~>
47
- - !ruby/object:Gem::Version
48
- version: 1.10.2
49
- type: :runtime
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - ~>
54
- - !ruby/object:Gem::Version
55
- version: 1.10.2
56
42
  description: |
57
43
  Fork of thoughtbot's Suspenders for use at Brightin.
58
44
  email: developers@brightin.com
@@ -95,22 +81,22 @@ licenses: []
95
81
  metadata: {}
96
82
  post_install_message:
97
83
  rdoc_options:
98
- - --charset=UTF-8
84
+ - "--charset=UTF-8"
99
85
  require_paths:
100
86
  - lib
101
87
  required_ruby_version: !ruby/object:Gem::Requirement
102
88
  requirements:
103
- - - '>='
89
+ - - ">="
104
90
  - !ruby/object:Gem::Version
105
91
  version: '0'
106
92
  required_rubygems_version: !ruby/object:Gem::Requirement
107
93
  requirements:
108
- - - '>='
94
+ - - ">="
109
95
  - !ruby/object:Gem::Version
110
96
  version: '0'
111
97
  requirements: []
112
98
  rubyforge_project:
113
- rubygems_version: 2.0.2
99
+ rubygems_version: 2.2.0
114
100
  signing_key:
115
101
  specification_version: 4
116
102
  summary: Generate a Rails app using brightins's best practices.