fume 0.8.0b → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.0b
1
+ 0.8.0
data/fume.gemspec CHANGED
@@ -18,11 +18,11 @@ Gem::Specification.new do |s|
18
18
 
19
19
 
20
20
  # rails
21
- s.add_runtime_dependency "rails", "~> 3.1.0"
22
- s.add_runtime_dependency "rails-i18n", "~> 0.1.6"
21
+ s.add_runtime_dependency "rails", "~> 3.1.3"
22
+ s.add_runtime_dependency "rails-i18n", "~> 0.2.0"
23
23
 
24
24
  # require library
25
- s.add_runtime_dependency "hashie", "~> 1.1.0"
25
+ s.add_runtime_dependency "hashie", "~> 1.2.0"
26
26
 
27
27
  # library
28
28
  # s.add_runtime_dependency "timeliness", "~> 0.3.4"
@@ -54,7 +54,7 @@ module Fume
54
54
  if source.include?("://")
55
55
  source
56
56
  else
57
- request.protocol + request.host_with_port + url_for("#{controller.config.relative_url_root}#{source}")
57
+ request.protocol + request.host_with_port + public_path(source)
58
58
  end
59
59
  end
60
60
 
@@ -62,7 +62,8 @@ module Fume
62
62
  if source.include?("://")
63
63
  source
64
64
  else
65
- url_for("#{controller.config.relative_url_root}#{source}")
65
+ url = url_for("#{source}")
66
+ "#{request.script_name}#{url}"
66
67
  end
67
68
  end
68
69
  end
@@ -17,13 +17,6 @@ module Fume
17
17
 
18
18
  module InstanceMethods
19
19
  protected
20
- def render_cache_by_scope(scope, options = {}, &block)
21
- last_updated_at = scope.last_updated_at
22
- sql = scope.to_sql
23
- key = { :sql => sql, :last_updated_at => last_updated_at }
24
- render_cache(key, options, &block)
25
- end
26
-
27
20
  def render_cache(key, options = {})
28
21
  if self.class.perform_caching
29
22
  key = build_render_cache_key(key)
metadata CHANGED
@@ -1,52 +1,52 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fume
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0b
5
- prerelease: 5
4
+ version: 0.8.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sunteya
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-06 00:00:00.000000000Z
12
+ date: 2011-12-08 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70350325310300 !ruby/object:Gem::Requirement
16
+ requirement: &70191483097260 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 3.1.0
21
+ version: 3.1.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70350325310300
24
+ version_requirements: *70191483097260
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rails-i18n
27
- requirement: &70350325309560 !ruby/object:Gem::Requirement
27
+ requirement: &70191483096780 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: 0.1.6
32
+ version: 0.2.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70350325309560
35
+ version_requirements: *70191483096780
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: hashie
38
- requirement: &70350325308840 !ruby/object:Gem::Requirement
38
+ requirement: &70191483096320 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
- version: 1.1.0
43
+ version: 1.2.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70350325308840
46
+ version_requirements: *70191483096320
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: version
49
- requirement: &70350325308220 !ruby/object:Gem::Requirement
49
+ requirement: &70191483095940 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70350325308220
57
+ version_requirements: *70191483095940
58
58
  description: a simple rails scaffold.
59
59
  email:
60
60
  - Sunteya@gmail.com
@@ -106,13 +106,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  segments:
108
108
  - 0
109
- hash: -449567901982203045
109
+ hash: -2411944253724978482
110
110
  required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  none: false
112
112
  requirements:
113
- - - ! '>'
113
+ - - ! '>='
114
114
  - !ruby/object:Gem::Version
115
- version: 1.3.1
115
+ version: '0'
116
+ segments:
117
+ - 0
118
+ hash: -2411944253724978482
116
119
  requirements: []
117
120
  rubyforge_project:
118
121
  rubygems_version: 1.8.7