bootstrappers 4.2.0.5 → 4.2.0.11
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/CHANGELOG.md +2 -2
- data/README.md +4 -0
- data/lib/bootstrappers/app_builder.rb +0 -8
- data/lib/bootstrappers/generators/app_generator.rb +1 -6
- data/lib/bootstrappers/version.rb +1 -1
- data/templates/Gemfile_additions +5 -2
- data/templates/bootstrappers_gitignore +1 -2
- data/templates/capistrano/deploy_rb.erb +12 -1
- data/templates/javascripts/application.js +2 -1
- data/templates/mysql_database.yml.erb +1 -1
- data/templates/stylesheets/application.css.scss +1 -0
- metadata +22 -11
- checksums.yaml +0 -7
- data/templates/javascripts/README +0 -0
data/CHANGELOG.md
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
* FIX compass-rails
|
12
12
|
|
13
|
-
0.2.
|
13
|
+
0.2.2 (Apr 8, 2013)
|
14
14
|
|
15
15
|
* add hipchat
|
16
16
|
* add auto_facebook
|
@@ -56,4 +56,4 @@
|
|
56
56
|
* will ask your database config password first
|
57
57
|
|
58
58
|
0.0.5 (Oct 8, 2012)
|
59
|
-
* announce project
|
59
|
+
* announce project
|
data/README.md
CHANGED
@@ -91,15 +91,7 @@ module Bootstrappers
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def use_mysql_config_template
|
94
|
-
template 'mysql_database.yml.erb', 'config/database.yml',:force => true
|
95
94
|
template 'mysql_database.yml.erb', 'config/database.yml.example', :force => true
|
96
|
-
|
97
|
-
db_user_name = ask("What is your local database user name? [root]")
|
98
|
-
db_password = ask("What is your local database password? ['']")
|
99
|
-
|
100
|
-
replace_in_file 'config/database.yml', 'username: root', "username: #{db_user_name}" if db_user_name.present?
|
101
|
-
replace_in_file 'config/database.yml', 'password: ""', "password: '#{db_password}'" if db_password.present?
|
102
|
-
|
103
95
|
end
|
104
96
|
|
105
97
|
|
@@ -5,8 +5,6 @@ require 'rails/generators/rails/app/app_generator'
|
|
5
5
|
module Bootstrappers
|
6
6
|
class AppGenerator < Rails::Generators::AppGenerator
|
7
7
|
|
8
|
-
class_option :database, :type => :string, :aliases => '-d', :default => 'mysql',
|
9
|
-
:desc => "Preconfigure for selected database (options: #{DATABASES.join('/')})"
|
10
8
|
|
11
9
|
def finish_template
|
12
10
|
invoke :bootstrappers_customization
|
@@ -88,10 +86,7 @@ module Bootstrappers
|
|
88
86
|
def setup_database
|
89
87
|
say 'Setting up database'
|
90
88
|
|
91
|
-
|
92
|
-
build :use_mysql_config_template
|
93
|
-
end
|
94
|
-
|
89
|
+
build :use_mysql_config_template
|
95
90
|
build :create_database
|
96
91
|
end
|
97
92
|
|
data/templates/Gemfile_additions
CHANGED
@@ -9,8 +9,9 @@ gem "settingslogic"
|
|
9
9
|
|
10
10
|
gem "anjlab-bootstrap-rails", "2.3.1.2", :require => "bootstrap-rails"
|
11
11
|
gem "bootstrap_helper", ">= 4.2.2.1"
|
12
|
-
gem "simple_form", "~> 3.0.
|
12
|
+
gem "simple_form", "~> 3.0.1"
|
13
13
|
gem "will_paginate", "3.0.3"
|
14
|
+
gem "font-awesome-rails", "~> 3.2.1.3"
|
14
15
|
|
15
16
|
gem "high_voltage"
|
16
17
|
|
@@ -23,12 +24,14 @@ gem "omniauth-facebook"
|
|
23
24
|
gem "auto-facebook", "0.4"
|
24
25
|
|
25
26
|
|
27
|
+
gem "whenever"
|
28
|
+
|
26
29
|
gem "hipchat"
|
27
30
|
|
28
31
|
# Cache
|
29
32
|
gem "dalli"
|
30
33
|
|
31
|
-
gem "compass-rails", "~>
|
34
|
+
gem "compass-rails", "~> 1.1.2"
|
32
35
|
|
33
36
|
group :development do
|
34
37
|
gem "capistrano"
|
@@ -5,7 +5,10 @@ APP_CONFIG = YAML.load(raw_config)
|
|
5
5
|
|
6
6
|
require "./config/boot"
|
7
7
|
require "bundler/capistrano"
|
8
|
-
require "rvm
|
8
|
+
require "rvm/capistrano"
|
9
|
+
require "cape"
|
10
|
+
require "whenever/capistrano"
|
11
|
+
|
9
12
|
|
10
13
|
default_environment["PATH"] = "/opt/ruby/bin:/usr/local/bin:/usr/bin:/bin"
|
11
14
|
|
@@ -26,6 +29,7 @@ set :git_shallow_clone, 1
|
|
26
29
|
set :use_sudo, false
|
27
30
|
set :rvm_ruby_string, '1.9.3'
|
28
31
|
|
32
|
+
set :whenever_command, "bundle exec whenever"
|
29
33
|
set :hipchat_token, APP_CONFIG["production"]["hipchat_token"]
|
30
34
|
set :hipchat_room_name, APP_CONFIG["production"]["hipchat_room_name"]
|
31
35
|
set :hipchat_announce, false # notify users?
|
@@ -40,6 +44,13 @@ set :scm_verbose, true
|
|
40
44
|
set :use_sudo, false
|
41
45
|
|
42
46
|
|
47
|
+
Cape do
|
48
|
+
mirror_rake_tasks :dev do |recipies|
|
49
|
+
recipies.env['RAILS_ENV'] = rails_env
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
53
|
+
|
43
54
|
namespace :deploy do
|
44
55
|
|
45
56
|
desc "Restart passenger process"
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrappers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.0.
|
4
|
+
version: 4.2.0.11
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- xdite
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-12-24 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rails
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - '='
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - '='
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,18 +30,20 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: bundler
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- - '>='
|
35
|
+
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '1.1'
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- - '>='
|
43
|
+
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: '1.1'
|
41
|
-
description: ' Bootstrappers is the base Rails application using Bootstrap template
|
46
|
+
description: ! ' Bootstrappers is the base Rails application using Bootstrap template
|
42
47
|
and other goodies. '
|
43
48
|
email:
|
44
49
|
- xdite@rocodev.com
|
@@ -81,7 +86,6 @@ files:
|
|
81
86
|
- templates/common/_user_nav.html.erb
|
82
87
|
- templates/config_yml.erb
|
83
88
|
- templates/initializers/seo_helper.rb
|
84
|
-
- templates/javascripts/README
|
85
89
|
- templates/javascripts/application.js
|
86
90
|
- templates/mysql_database.yml.erb
|
87
91
|
- templates/rc/.powrc
|
@@ -95,26 +99,33 @@ files:
|
|
95
99
|
- templates/welcome.html.erb
|
96
100
|
homepage: ''
|
97
101
|
licenses: []
|
98
|
-
metadata: {}
|
99
102
|
post_install_message:
|
100
103
|
rdoc_options: []
|
101
104
|
require_paths:
|
102
105
|
- lib
|
103
106
|
required_ruby_version: !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
104
108
|
requirements:
|
105
|
-
- - '>='
|
109
|
+
- - ! '>='
|
106
110
|
- !ruby/object:Gem::Version
|
107
111
|
version: '0'
|
112
|
+
segments:
|
113
|
+
- 0
|
114
|
+
hash: -821907398365809926
|
108
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
109
117
|
requirements:
|
110
|
-
- - '>='
|
118
|
+
- - ! '>='
|
111
119
|
- !ruby/object:Gem::Version
|
112
120
|
version: '0'
|
121
|
+
segments:
|
122
|
+
- 0
|
123
|
+
hash: -821907398365809926
|
113
124
|
requirements: []
|
114
125
|
rubyforge_project:
|
115
|
-
rubygems_version:
|
126
|
+
rubygems_version: 1.8.25
|
116
127
|
signing_key:
|
117
|
-
specification_version:
|
128
|
+
specification_version: 3
|
118
129
|
summary: Bootstrappers is the base Rails application using Bootstrap template and
|
119
130
|
other goodies.
|
120
131
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: e183a4557ac6a2c05f961bff1dfff7e6469d530a
|
4
|
-
data.tar.gz: 318933c6503be8afac8a6f6cdac669c40b47b351
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: a31f5214549f8918dc8bc6cf7c38e3285a3d97a773f50eaa7a679b76e2eee9fc55f1678c6ac544c247c16b7751106856ca7566e3475da86ec7b888e05d2d3ad8
|
7
|
-
data.tar.gz: 3894a6c6ca78e4afa77f16d72e8bea5375475ffc8f85c5fd396e800df655c41784812793be111c64ce335ecd87fb81678fa4d114fa73bbecfb916dc41918b5a0
|
File without changes
|