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 +4 -4
- data/Gemfile.lock +1 -3
- data/bin/bretels +0 -1
- data/bretels.gemspec +0 -1
- data/lib/bretels/app_builder.rb +5 -5
- data/lib/bretels/version.rb +1 -1
- data/templates/Gemfile_clean +1 -0
- data/templates/spec_helper.rb +1 -1
- metadata +8 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 417a804e6c24e698010740e209dbaa1832dab7a3
|
4
|
+
data.tar.gz: 28bbe8160d288696b53245ce21bd3da2627ec0d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b4ea638b5b74ce900e668b44684a0ba604b9079dfbb574c7dab84bac79b3548f06cae9c385c149ca7578e89bad319225c58b9e33d349a7838985f027504e817
|
7
|
+
data.tar.gz: 0b50b8e3781d2be6b05034a93a19b7243ded16d6a85111dde30bbf70224a9f06e72d01b2a868e94db6be5224e2f0ac0ffd4d120fc51034bbe530f1b9ae911d85
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bretels (1.0.
|
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)
|
data/bin/bretels
CHANGED
@@ -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__))
|
data/bretels.gemspec
CHANGED
data/lib/bretels/app_builder.rb
CHANGED
@@ -30,12 +30,12 @@ module Bretels
|
|
30
30
|
def add_cdn_settings
|
31
31
|
config = <<-RUBY
|
32
32
|
\n\n # Cloudfront settings
|
33
|
-
|
34
|
-
|
35
|
-
RUBY
|
33
|
+
config.static_cache_control = "public, max-age=31536000"
|
34
|
+
config.action_controller.asset_host = ENV['ASSET_HOST']
|
36
35
|
|
37
|
-
|
38
|
-
|
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"
|
data/lib/bretels/version.rb
CHANGED
data/templates/Gemfile_clean
CHANGED
data/templates/spec_helper.rb
CHANGED
@@ -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 =
|
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.
|
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:
|
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
|
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.
|