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.
@@ -10,7 +10,7 @@
10
10
 
11
11
  * FIX compass-rails
12
12
 
13
- 0.2.1 (Apr 8, 2013)
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
@@ -8,6 +8,10 @@ First install the bootstrappers gem:
8
8
 
9
9
  gem install bootstrappers
10
10
 
11
+ ## Rails 4.0+
12
+
13
+ gem install bootstrappers 4.0.rc1
14
+
11
15
  Then run:
12
16
 
13
17
  $ bootstrappers project_name
@@ -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
- if 'mysql' == options[:database]
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
 
@@ -1,3 +1,3 @@
1
1
  module Bootstrappers
2
- VERSION = "4.2.0.5"
2
+ VERSION = "4.2.0.11"
3
3
  end
@@ -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.0.rc"
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", "~> 2.0.alpha.0"
34
+ gem "compass-rails", "~> 1.1.2"
32
35
 
33
36
  group :development do
34
37
  gem "capistrano"
@@ -3,5 +3,4 @@
3
3
  .env
4
4
  public/uploads
5
5
  vendor/bundler_gems
6
- config/database.yml
7
- config/config.yml
6
+ config/database.yml
@@ -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-capistrano"
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"
@@ -1,4 +1,5 @@
1
1
  //= require_self
2
2
  //= require jquery
3
3
  //= require jquery_ujs
4
- //= require twitter/bootstrap/alert
4
+ //= require twitter/bootstrap/alert
5
+ //= require twitter/bootstrap/dropdown
@@ -4,7 +4,7 @@ development: &default
4
4
  database: <%= app_name %>_development
5
5
  host: localhost
6
6
  username: root
7
- password: ""
7
+ password: "123456"
8
8
 
9
9
  test: &TEST
10
10
  <<: *default
@@ -1,2 +1,3 @@
1
1
  //= require_self
2
2
  //= require common
3
+ //= require font-awesome
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.5
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-09-14 00:00:00.000000000 Z
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: 2.0.3
126
+ rubygems_version: 1.8.25
116
127
  signing_key:
117
- specification_version: 4
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