bakeware 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.
- data/CONTRIBUTING.md +2 -7
- data/Gemfile.lock +34 -34
- data/README.md +5 -1
- data/bakeware.gemspec +1 -1
- data/lib/bakeware/app_builder.rb +1 -1
- data/lib/bakeware/version.rb +1 -1
- data/templates/Gemfile_additions +7 -3
- data/templates/bakeware_layout.html.erb.erb +3 -7
- data/templates/sample.env +0 -1
- metadata +5 -5
data/CONTRIBUTING.md
CHANGED
@@ -13,10 +13,7 @@ a test!
|
|
13
13
|
|
14
14
|
5. Push to your fork and submit a pull request.
|
15
15
|
|
16
|
-
|
17
|
-
At this point you're waiting on us. We like to at least comment on, if not
|
18
|
-
accept, pull requests within three business days (and, typically, one business
|
19
|
-
day). We may suggest some changes or improvements or alternatives.
|
16
|
+
Then it's up to us when we pull in your change. Have patience.
|
20
17
|
|
21
18
|
Some things that will increase the chance that your pull request is accepted,
|
22
19
|
taken straight from the Ruby on Rails guide:
|
@@ -33,6 +30,4 @@ Syntax:
|
|
33
30
|
* Prefer &&/|| over and/or.
|
34
31
|
* my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
35
32
|
* a = b and not a=b.
|
36
|
-
* Follow the conventions you see used in the source already.
|
37
|
-
|
38
|
-
And in case we didn't emphasize it enough: we love tests!
|
33
|
+
* Follow the conventions you see used in the source already.
|
data/Gemfile.lock
CHANGED
@@ -1,39 +1,39 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bakeware (1.1.
|
4
|
+
bakeware (1.1.7)
|
5
5
|
bundler (>= 1.1)
|
6
6
|
hub (~> 1.10.2)
|
7
|
-
rails (>= 3.2.
|
7
|
+
rails (>= 3.2.12)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: http://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actionmailer (3.2.
|
13
|
-
actionpack (= 3.2.
|
12
|
+
actionmailer (3.2.12)
|
13
|
+
actionpack (= 3.2.12)
|
14
14
|
mail (~> 2.4.4)
|
15
|
-
actionpack (3.2.
|
16
|
-
activemodel (= 3.2.
|
17
|
-
activesupport (= 3.2.
|
15
|
+
actionpack (3.2.12)
|
16
|
+
activemodel (= 3.2.12)
|
17
|
+
activesupport (= 3.2.12)
|
18
18
|
builder (~> 3.0.0)
|
19
19
|
erubis (~> 2.7.0)
|
20
20
|
journey (~> 1.0.4)
|
21
|
-
rack (~> 1.4.
|
21
|
+
rack (~> 1.4.5)
|
22
22
|
rack-cache (~> 1.2)
|
23
23
|
rack-test (~> 0.6.1)
|
24
24
|
sprockets (~> 2.2.1)
|
25
|
-
activemodel (3.2.
|
26
|
-
activesupport (= 3.2.
|
25
|
+
activemodel (3.2.12)
|
26
|
+
activesupport (= 3.2.12)
|
27
27
|
builder (~> 3.0.0)
|
28
|
-
activerecord (3.2.
|
29
|
-
activemodel (= 3.2.
|
30
|
-
activesupport (= 3.2.
|
28
|
+
activerecord (3.2.12)
|
29
|
+
activemodel (= 3.2.12)
|
30
|
+
activesupport (= 3.2.12)
|
31
31
|
arel (~> 3.0.2)
|
32
32
|
tzinfo (~> 0.3.29)
|
33
|
-
activeresource (3.2.
|
34
|
-
activemodel (= 3.2.
|
35
|
-
activesupport (= 3.2.
|
36
|
-
activesupport (3.2.
|
33
|
+
activeresource (3.2.12)
|
34
|
+
activemodel (= 3.2.12)
|
35
|
+
activesupport (= 3.2.12)
|
36
|
+
activesupport (3.2.12)
|
37
37
|
i18n (~> 0.6)
|
38
38
|
multi_json (~> 1.0)
|
39
39
|
arel (3.0.2)
|
@@ -58,40 +58,40 @@ GEM
|
|
58
58
|
json (>= 1.4.6)
|
59
59
|
hike (1.2.1)
|
60
60
|
hub (1.10.4)
|
61
|
-
i18n (0.6.
|
61
|
+
i18n (0.6.2)
|
62
62
|
journey (1.0.4)
|
63
63
|
json (1.6.6)
|
64
64
|
mail (2.4.4)
|
65
65
|
i18n (>= 0.4.0)
|
66
66
|
mime-types (~> 1.16)
|
67
67
|
treetop (~> 1.4.8)
|
68
|
-
mime-types (1.
|
69
|
-
multi_json (1.
|
68
|
+
mime-types (1.21)
|
69
|
+
multi_json (1.6.1)
|
70
70
|
polyglot (0.3.3)
|
71
|
-
rack (1.4.
|
71
|
+
rack (1.4.5)
|
72
72
|
rack-cache (1.2)
|
73
73
|
rack (>= 0.4)
|
74
|
-
rack-ssl (1.3.
|
74
|
+
rack-ssl (1.3.3)
|
75
75
|
rack
|
76
76
|
rack-test (0.6.2)
|
77
77
|
rack (>= 1.0)
|
78
|
-
rails (3.2.
|
79
|
-
actionmailer (= 3.2.
|
80
|
-
actionpack (= 3.2.
|
81
|
-
activerecord (= 3.2.
|
82
|
-
activeresource (= 3.2.
|
83
|
-
activesupport (= 3.2.
|
78
|
+
rails (3.2.12)
|
79
|
+
actionmailer (= 3.2.12)
|
80
|
+
actionpack (= 3.2.12)
|
81
|
+
activerecord (= 3.2.12)
|
82
|
+
activeresource (= 3.2.12)
|
83
|
+
activesupport (= 3.2.12)
|
84
84
|
bundler (~> 1.0)
|
85
|
-
railties (= 3.2.
|
86
|
-
railties (3.2.
|
87
|
-
actionpack (= 3.2.
|
88
|
-
activesupport (= 3.2.
|
85
|
+
railties (= 3.2.12)
|
86
|
+
railties (3.2.12)
|
87
|
+
actionpack (= 3.2.12)
|
88
|
+
activesupport (= 3.2.12)
|
89
89
|
rack-ssl (~> 1.3.2)
|
90
90
|
rake (>= 0.8.7)
|
91
91
|
rdoc (~> 3.4)
|
92
92
|
thor (>= 0.14.6, < 2.0)
|
93
93
|
rake (10.0.3)
|
94
|
-
rdoc (3.12)
|
94
|
+
rdoc (3.12.2)
|
95
95
|
json (~> 1.4)
|
96
96
|
rspec (2.12.0)
|
97
97
|
rspec-core (~> 2.12.0)
|
@@ -107,7 +107,7 @@ GEM
|
|
107
107
|
rack (~> 1.0)
|
108
108
|
tilt (~> 1.1, != 1.3.0)
|
109
109
|
term-ansicolor (1.0.7)
|
110
|
-
thor (0.
|
110
|
+
thor (0.17.0)
|
111
111
|
tilt (1.3.3)
|
112
112
|
treetop (1.4.12)
|
113
113
|
polyglot
|
data/README.md
CHANGED
@@ -29,6 +29,8 @@ This is the default mode. Comes with
|
|
29
29
|
* [newrelic_rpm](/newrelic/rpm) for analytics about the performance of your app
|
30
30
|
* [pg](/ged/ruby-pg) for PostgreSQL
|
31
31
|
|
32
|
+
As well as some other development tools (like pry-rails).
|
33
|
+
|
32
34
|
Meaty Mode
|
33
35
|
---------
|
34
36
|
|
@@ -61,8 +63,10 @@ Testing
|
|
61
63
|
Bakeware also comes with testing gems, including (but not limited to):
|
62
64
|
|
63
65
|
* [Factory Girl](/thoughtbot/factory_girl) for test data
|
66
|
+
* [mocha](/freerange/mocha) for mocking and stubbing
|
64
67
|
* [simplecov](/colszowka/simplecov) for testing coverage analytics
|
65
68
|
* [Timecop](/jtrupiano/timecop) for testing time
|
69
|
+
* [turn](/TwP/turn) for better test reporting
|
66
70
|
|
67
71
|
We don't use RSpec often, and even less often do we use minitest. So manually include those if you want.
|
68
72
|
|
@@ -137,7 +141,7 @@ Credits
|
|
137
141
|
|
138
142
|

|
139
143
|
|
140
|
-
Bakeware is maintained and funded by [Oven Bits](http://ovenbits.com)
|
144
|
+
Bakeware is maintained and funded by [Oven Bits](http://ovenbits.com) and Court Simas.
|
141
145
|
|
142
146
|
The names and logos for Oven Bits are trademarks of Oven Bits
|
143
147
|
|
data/bakeware.gemspec
CHANGED
@@ -26,7 +26,7 @@ We use it at Oven Bits for most of our apps. YMMV, but we get decent mileage out
|
|
26
26
|
s.rdoc_options = ["--charset=UTF-8"]
|
27
27
|
s.extra_rdoc_files = %w[README.md LICENSE]
|
28
28
|
|
29
|
-
s.add_dependency 'rails', '>= 3.2.
|
29
|
+
s.add_dependency 'rails', '>= 3.2.12'
|
30
30
|
s.add_dependency 'bundler', '>= 1.1'
|
31
31
|
s.add_dependency 'hub', '~> 1.10.2'
|
32
32
|
|
data/lib/bakeware/app_builder.rb
CHANGED
@@ -99,6 +99,7 @@ module Bakeware
|
|
99
99
|
copy_file 'asset_sync', 'config/initializers/asset_sync.rb'
|
100
100
|
copy_file 'timeout', 'config/initializers/timeout.rb'
|
101
101
|
copy_file 'Procfile', 'Procfile'
|
102
|
+
concat_file 'import_scss_styles', 'app/assets/stylesheets/application.css.scss'
|
102
103
|
inject_into_file 'Procfile', "worker: env QUEUE=* bundle exec rake resque:work",
|
103
104
|
:after => "\n"
|
104
105
|
replace_in_file 'Procfile',
|
@@ -136,7 +137,6 @@ module Bakeware
|
|
136
137
|
copy_file 'app/assets/stylesheets/application.css',
|
137
138
|
'app/assets/stylesheets/application.css.scss'
|
138
139
|
remove_file 'app/assets/stylesheets/application.css'
|
139
|
-
concat_file 'import_scss_styles', 'app/assets/stylesheets/application.css.scss'
|
140
140
|
create_file 'app/assets/stylesheets/_screen.scss'
|
141
141
|
end
|
142
142
|
|
data/lib/bakeware/version.rb
CHANGED
data/templates/Gemfile_additions
CHANGED
@@ -5,19 +5,23 @@ gem 'haml'
|
|
5
5
|
|
6
6
|
group :development do
|
7
7
|
gem 'foreman'
|
8
|
+
gem 'mailcatcher'
|
9
|
+
gem 'pry-rails'
|
8
10
|
end
|
9
11
|
|
10
12
|
group :development, :test do
|
11
13
|
gem 'guard'
|
12
14
|
gem 'guard-spork'
|
13
|
-
gem 'sham_rack'
|
14
15
|
end
|
15
16
|
|
16
17
|
group :test do
|
17
18
|
gem 'factory_girl_rails'
|
18
|
-
gem '
|
19
|
-
gem '
|
19
|
+
gem 'mocha', :require => false
|
20
|
+
gem 'shoulda-context'
|
21
|
+
gem 'shoulda-matchers'
|
22
|
+
gem 'simplecov'
|
20
23
|
gem 'timecop'
|
24
|
+
gem 'turn'
|
21
25
|
end
|
22
26
|
|
23
27
|
group :staging, :production do
|
@@ -3,17 +3,13 @@
|
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
5
|
<meta name="ROBOTS" content="NOODP" />
|
6
|
-
<title
|
6
|
+
<title><%%#= page_title %></title>
|
7
7
|
<%%= stylesheet_link_tag :application, :media => 'all' %>
|
8
8
|
<%%= csrf_meta_tags %>
|
9
9
|
</head>
|
10
|
-
<body
|
10
|
+
<body>
|
11
11
|
<header>
|
12
|
-
|
13
|
-
<%%= link_to "Sign out", sign_out_path, :method => :delete %>
|
14
|
-
<%% else -%>
|
15
|
-
<%%= link_to "Sign in", sign_in_path %>
|
16
|
-
<%% end -%>
|
12
|
+
|
17
13
|
</header>
|
18
14
|
<%%= render 'flashes' -%>
|
19
15
|
<%%= yield %>
|
data/templates/sample.env
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bakeware
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.2.
|
21
|
+
version: 3.2.12
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 3.2.
|
29
|
+
version: 3.2.12
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: bundler
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
170
|
version: '0'
|
171
171
|
requirements: []
|
172
172
|
rubyforge_project:
|
173
|
-
rubygems_version: 1.8.
|
173
|
+
rubygems_version: 1.8.23
|
174
174
|
signing_key:
|
175
175
|
specification_version: 3
|
176
176
|
summary: Generate a Rails app using Oven Bits' favorite flavors and ingredients.
|