jabe 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,8 +10,9 @@
10
10
  // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
11
  // GO AFTER THE REQUIRES BELOW.
12
12
  //
13
- //= require_tree .
14
- //= require_tree ./libs
13
+ //= require jquery
14
+ //= require jquery_ujs
15
+ //= require ./plugins
15
16
 
16
17
  $(function() {
17
18
  if($('#first-focus').length > 0) {
@@ -4,7 +4,7 @@ module Jabe
4
4
  @comment = comment
5
5
  @request = request
6
6
 
7
- from => Jabe::SETTINGS.mail_from || 'edit-me-in-settings@example.com'
7
+ from Jabe::SETTINGS.mail_from || 'edit-me-in-settings@example.com'
8
8
 
9
9
  mail(:to => Admin.all.map(&:email),
10
10
  :subject => "Comment on: #{comment.entry.title}"
@@ -20,8 +20,7 @@
20
20
  = csrf_meta_tag
21
21
  = auto_discovery_link_tag :atom, feed_path
22
22
  = stylesheet_link_tag 'jabe/application', 'application'
23
- = yield :stylesheets
24
- / = javascript_include_tag 'jabe/libs/modernizr-1.6.min.js'
23
+ = javascript_include_tag 'jabe/libs/modernizr-1.6.min.js'
25
24
  %body
26
25
  #container
27
26
  %header
@@ -43,6 +42,7 @@
43
42
  = javascript_include_tag 'jabe/application.js'
44
43
 
45
44
  /[if lt IE 7 ]
45
+ = javascript_include_tag 'jabe/lib/dd_belatedpng.js'
46
46
  %script{ :type => 'text/javascript', :charset => 'utf-8' }
47
47
  DD_belatedPNG.fix('img, .png_bg')
48
48
 
@@ -4,6 +4,5 @@ rescue LoadError
4
4
  nil
5
5
  end
6
6
 
7
- require File.expand_path(
8
- File.join(File.dirname(__FILE__), '../../lib/acts_as_textiled/base'))
7
+ require File.expand_path(File.join(File.dirname(__FILE__), '../../lib/acts_as_textiled/base'))
9
8
  ActiveRecord::Base.send(:include, Err::Acts::Textiled)
data/lib/jabe/engine.rb CHANGED
@@ -1,5 +1,13 @@
1
1
  module Jabe
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace Jabe
4
+
5
+ initializer "jabe.config" do |app|
6
+ app.config.assets.precompile += %w(
7
+ jabe/libs/dd_belatedpng.js
8
+ libs/jabe/modernizr-1.6.min.js
9
+ )
10
+ end
11
+
4
12
  end
5
13
  end
data/lib/jabe/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jabe
2
- VERSION = "0.6.4"
2
+ VERSION = "0.6.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jabe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2012-02-02 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &70351906080480 !ruby/object:Gem::Requirement
17
+ requirement: &70307639622140 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70351906080480
25
+ version_requirements: *70307639622140
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: devise
28
- requirement: &70351906079320 !ruby/object:Gem::Requirement
28
+ requirement: &70307639620460 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 2.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70351906079320
36
+ version_requirements: *70307639620460
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: friendly_id
39
- requirement: &70351906078540 !ruby/object:Gem::Requirement
39
+ requirement: &70307639618740 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 4.0.0
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *70351906078540
47
+ version_requirements: *70307639618740
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: gravtastic
50
- requirement: &70351906077680 !ruby/object:Gem::Requirement
50
+ requirement: &70307639618120 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 3.2.6
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *70351906077680
58
+ version_requirements: *70307639618120
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: haml
61
- requirement: &70351906076780 !ruby/object:Gem::Requirement
61
+ requirement: &70307639617400 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 3.1.4
67
67
  type: :runtime
68
68
  prerelease: false
69
- version_requirements: *70351906076780
69
+ version_requirements: *70307639617400
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: haml-rails
72
- requirement: &70351906070000 !ruby/object:Gem::Requirement
72
+ requirement: &70307639616620 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: 0.3.4
78
78
  type: :runtime
79
79
  prerelease: false
80
- version_requirements: *70351906070000
80
+ version_requirements: *70307639616620
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: kaminari
83
- requirement: &70351906069280 !ruby/object:Gem::Requirement
83
+ requirement: &70307639616040 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: 0.13.0
89
89
  type: :runtime
90
90
  prerelease: false
91
- version_requirements: *70351906069280
91
+ version_requirements: *70307639616040
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: RedCloth
94
- requirement: &70351906068180 !ruby/object:Gem::Requirement
94
+ requirement: &70307639615460 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ! '>='
@@ -99,10 +99,10 @@ dependencies:
99
99
  version: 4.2.9
100
100
  type: :runtime
101
101
  prerelease: false
102
- version_requirements: *70351906068180
102
+ version_requirements: *70307639615460
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: sass-rails
105
- requirement: &70351906067080 !ruby/object:Gem::Requirement
105
+ requirement: &70307639614880 !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
108
108
  - - ! '>='
@@ -110,10 +110,10 @@ dependencies:
110
110
  version: 3.1.0
111
111
  type: :runtime
112
112
  prerelease: false
113
- version_requirements: *70351906067080
113
+ version_requirements: *70307639614880
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: simple_form
116
- requirement: &70351906066220 !ruby/object:Gem::Requirement
116
+ requirement: &70307639614360 !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
119
119
  - - ! '>='
@@ -121,10 +121,10 @@ dependencies:
121
121
  version: 1.5.2
122
122
  type: :runtime
123
123
  prerelease: false
124
- version_requirements: *70351906066220
124
+ version_requirements: *70307639614360
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: sqlite3
127
- requirement: &70351906065680 !ruby/object:Gem::Requirement
127
+ requirement: &70307639613840 !ruby/object:Gem::Requirement
128
128
  none: false
129
129
  requirements:
130
130
  - - ! '>='
@@ -132,7 +132,7 @@ dependencies:
132
132
  version: '0'
133
133
  type: :development
134
134
  prerelease: false
135
- version_requirements: *70351906065680
135
+ version_requirements: *70307639613840
136
136
  description: Blog engine for Rails 3.1+
137
137
  email:
138
138
  - michael@pixels-and-bits.com
@@ -194,7 +194,6 @@ files:
194
194
  - config/initializers/acts_as_textiled.rb
195
195
  - config/initializers/devise.rb
196
196
  - config/initializers/gravtastic.rb
197
- - config/initializers/settings.rb
198
197
  - config/initializers/simple_form.rb
199
198
  - config/initializers/time_formats.rb
200
199
  - config/locales/simple_form.en.yml
@@ -225,7 +224,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
225
224
  version: '0'
226
225
  segments:
227
226
  - 0
228
- hash: -1850239723981714712
227
+ hash: 1315147156470958495
229
228
  required_rubygems_version: !ruby/object:Gem::Requirement
230
229
  none: false
231
230
  requirements:
@@ -234,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
233
  version: '0'
235
234
  segments:
236
235
  - 0
237
- hash: -1850239723981714712
236
+ hash: 1315147156470958495
238
237
  requirements: []
239
238
  rubyforge_project:
240
239
  rubygems_version: 1.8.10
@@ -1,5 +0,0 @@
1
- # begin
2
- # Jabe::SETTINGS = Jabe::Settings.first || Jabe::Settings.create
3
- # Jabe::SETTINGS.do_updates
4
- # rescue ActiveRecord::StatementInvalid
5
- # end