bootstrappers 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ 0.0.9 (Nov 12, 2012)
2
+ * fix application.css double loading css
3
+ * bootstrap-helper bump to 2.1.2
1
4
  0.0.8 (Oct 12, 2012)
2
5
  * fix db config replace problem
3
6
  0.0.7 (Oct 10, 2012)
data/TODO.md CHANGED
@@ -18,3 +18,5 @@
18
18
  * View Turtorial
19
19
  - menu
20
20
  - ajax
21
+ * <https://speakerdeck.com/ken_c_lo/zurui-design>
22
+ * lib/tasks/dev.rake
@@ -33,10 +33,12 @@ module Bootstrappers
33
33
  end
34
34
 
35
35
  def create_common_javascripts
36
+ remove_file 'app/assets/javascripts/application.js'
36
37
  directory 'javascripts', 'app/assets/javascripts'
37
38
  end
38
39
 
39
40
  def create_common_stylesheets
41
+ remove_file 'app/assets/stylesheets/application.css'
40
42
  directory 'stylesheets', 'app/assets/stylesheets'
41
43
  end
42
44
 
@@ -25,7 +25,6 @@ module Bootstrappers
25
25
  invoke :setup_database
26
26
  invoke :configure_app
27
27
  invoke :create_initializers
28
- invoke :setup_stylesheets
29
28
  invoke :remove_routes_comment_lines
30
29
  invoke :setup_root_route
31
30
  invoke :setup_git
@@ -64,8 +63,6 @@ module Bootstrappers
64
63
 
65
64
  def add_common_js_library
66
65
  say 'Add add_common_js_library to the standard application.js'
67
- build :add_jquery_ui
68
- build :add_bootstrap_js
69
66
  end
70
67
 
71
68
 
@@ -109,11 +106,6 @@ module Bootstrappers
109
106
  end
110
107
 
111
108
 
112
- def setup_stylesheets
113
- say 'Set up stylesheets'
114
- build :setup_stylesheets
115
- end
116
-
117
109
  def remove_routes_comment_lines
118
110
  build :remove_routes_comment_lines
119
111
  end
@@ -1,3 +1,3 @@
1
1
  module Bootstrappers
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -4,7 +4,7 @@ gem 'seo_helper', '~> 1.0'
4
4
  gem "settingslogic"
5
5
 
6
6
  gem 'anjlab-bootstrap-rails', '>= 2.1', :require => 'bootstrap-rails'
7
- gem "bootstrap_helper", "2.1.0"
7
+ gem "bootstrap_helper", '>= 2.1.2'
8
8
 
9
9
  gem "simple_form", "2.0.3"
10
10
  gem "will_paginate", "3.0.3"
@@ -4,6 +4,6 @@
4
4
  var js, fjs = d.getElementsByTagName(s)[0];
5
5
  if (d.getElementById(id)) {return;}
6
6
  js = d.createElement(s); js.id = id;
7
- js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=289554394417824";
7
+ js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=<%= Setting.facebook_app_id%>";
8
8
  fjs.parentNode.insertBefore(js, fjs);
9
9
  }(document, 'script', 'facebook-jssdk'));</script>
@@ -0,0 +1,5 @@
1
+ //= require_self
2
+ //= require jquery
3
+ //= require jquery_ujs
4
+ //= require jquery-ui
5
+ //= require twitter/bootstrap/alert
@@ -0,0 +1,2 @@
1
+ //= require_self
2
+ //= require common
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 8
9
- version: 0.0.8
8
+ - 9
9
+ version: 0.0.9
10
10
  platform: ruby
11
11
  authors:
12
12
  - xdite
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-10-12 00:00:00 +08:00
17
+ date: 2012-11-12 00:00:00 +08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -82,13 +82,15 @@ files:
82
82
  - templates/common/_search_form.html.erb
83
83
  - templates/common/_user_nav.html.erb
84
84
  - templates/config_yml.erb
85
- - templates/import_scss_styles
86
85
  - templates/initializers/seo_helper.rb
87
86
  - templates/javascripts/README
87
+ - templates/javascripts/application.js
88
88
  - templates/mysql_database.yml.erb
89
89
  - templates/setting.rb
90
+ - templates/stylesheets/application.css.scss
90
91
  - templates/stylesheets/bootstrap-override.css.scss
91
92
  - templates/stylesheets/bootstrap-setting.css.scss
93
+ - templates/stylesheets/common.css.scss
92
94
  - templates/welcome.html.erb
93
95
  has_rdoc: true
94
96
  homepage: ""
@@ -104,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
106
  requirements:
105
107
  - - ">="
106
108
  - !ruby/object:Gem::Version
107
- hash: 3216173812893648341
109
+ hash: 2197860383841598612
108
110
  segments:
109
111
  - 0
110
112
  version: "0"
@@ -113,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
115
  requirements:
114
116
  - - ">="
115
117
  - !ruby/object:Gem::Version
116
- hash: 3216173812893648341
118
+ hash: 2197860383841598612
117
119
  segments:
118
120
  - 0
119
121
  version: "0"