bootstrappers 0.2.0 → 0.2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/bootstrapers.gemspec +1 -1
- data/lib/bootstrappers/app_builder.rb +1 -0
- data/lib/bootstrappers/version.rb +1 -1
- data/templates/capistrano/deploy/assets.rb +1 -1
- data/templates/config_yml.erb +1 -0
- metadata +55 -63
data/CHANGELOG.md
CHANGED
data/bootstrapers.gemspec
CHANGED
@@ -59,6 +59,7 @@ module Bootstrappers
|
|
59
59
|
|
60
60
|
template 'setting.rb', 'app/models/setting.rb',:force => true
|
61
61
|
template 'config_yml.erb', 'config/config.yml',:force => true
|
62
|
+
template 'config_yml.erb', 'config/config.yml.example',:force => true
|
62
63
|
end
|
63
64
|
|
64
65
|
def create_initializers
|
@@ -19,7 +19,7 @@ namespace :deploy do
|
|
19
19
|
DESC
|
20
20
|
task :precompile, :roles => :web, :except => { :no_release => true } do
|
21
21
|
from = source.next_revision(current_revision)
|
22
|
-
if capture("cd #{latest_release} && #{source.local.
|
22
|
+
if capture("cd #{latest_release} && #{source.local.diff(from)} #{assets_dependencies.join ' '} | wc -l").to_i > 0
|
23
23
|
run %Q{cd #{latest_release} && #{rake} RAILS_ENV=#{rails_env} #{asset_env} assets:precompile}
|
24
24
|
else
|
25
25
|
logger.info "Skipping asset pre-compilation because there were no asset changes"
|
data/templates/config_yml.erb
CHANGED
metadata
CHANGED
@@ -1,61 +1,57 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrappers
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 2
|
8
|
-
- 0
|
9
|
-
version: 0.2.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0.1
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- xdite
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-01-26 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: rails
|
22
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
23
17
|
none: false
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
- 3
|
29
|
-
- 2
|
30
|
-
- 8
|
31
|
-
version: 3.2.8
|
18
|
+
requirements:
|
19
|
+
- - '='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.11
|
32
22
|
type: :runtime
|
33
23
|
prerelease: false
|
34
|
-
version_requirements:
|
35
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - '='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.11
|
30
|
+
- !ruby/object:Gem::Dependency
|
36
31
|
name: bundler
|
37
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
38
33
|
none: false
|
39
|
-
requirements:
|
40
|
-
- -
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
- 1
|
44
|
-
- 1
|
45
|
-
version: "1.1"
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '1.1'
|
46
38
|
type: :runtime
|
47
39
|
prerelease: false
|
48
|
-
version_requirements:
|
49
|
-
|
50
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '1.1'
|
46
|
+
description: ! ' Bootstrappers is the base Rails application using Bootstrap template
|
47
|
+
and other goodies. '
|
48
|
+
email:
|
51
49
|
- xdite@rocodev.com
|
52
|
-
executables:
|
50
|
+
executables:
|
53
51
|
- bootstrappers
|
54
52
|
extensions: []
|
55
|
-
|
56
53
|
extra_rdoc_files: []
|
57
|
-
|
58
|
-
files:
|
54
|
+
files:
|
59
55
|
- .gitignore
|
60
56
|
- CHANGELOG.md
|
61
57
|
- Gemfile
|
@@ -99,39 +95,35 @@ files:
|
|
99
95
|
- templates/stylesheets/common.css.scss
|
100
96
|
- templates/tasks/dev.rake
|
101
97
|
- templates/welcome.html.erb
|
102
|
-
|
103
|
-
homepage: ""
|
98
|
+
homepage: ''
|
104
99
|
licenses: []
|
105
|
-
|
106
100
|
post_install_message:
|
107
101
|
rdoc_options: []
|
108
|
-
|
109
|
-
require_paths:
|
102
|
+
require_paths:
|
110
103
|
- lib
|
111
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
112
105
|
none: false
|
113
|
-
requirements:
|
114
|
-
- -
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
|
117
|
-
segments:
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
segments:
|
118
111
|
- 0
|
119
|
-
|
120
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
|
+
hash: -1269149550668300963
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
114
|
none: false
|
122
|
-
requirements:
|
123
|
-
- -
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
|
126
|
-
segments:
|
115
|
+
requirements:
|
116
|
+
- - ! '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
segments:
|
127
120
|
- 0
|
128
|
-
|
121
|
+
hash: -1269149550668300963
|
129
122
|
requirements: []
|
130
|
-
|
131
123
|
rubyforge_project:
|
132
|
-
rubygems_version: 1.
|
124
|
+
rubygems_version: 1.8.24
|
133
125
|
signing_key:
|
134
126
|
specification_version: 3
|
135
|
-
summary: Bootstrappers is the base Rails application using Bootstrap template and
|
127
|
+
summary: Bootstrappers is the base Rails application using Bootstrap template and
|
128
|
+
other goodies.
|
136
129
|
test_files: []
|
137
|
-
|