gumdrop 0.2.8 → 0.2.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
+ # v0.2.9
2
+ - Added ability to force absolute url's from uri helper. set force_absolute in template
3
+
1
4
  # v0.2.8
2
5
  - Added better support for site reloading in server
3
6
 
@@ -11,10 +11,10 @@ module Gumdrop
11
11
 
12
12
  def uri(path)
13
13
  path= path[1..-1] if path.starts_with?('/')
14
- if Gumdrop.config.relative_paths
15
- "#{'../'*@state['current_depth']}#{path}"
16
- else
14
+ if !Gumdrop.config.relative_paths or Context.force_absolute
17
15
  "/#{path}"
16
+ else
17
+ "#{'../'*@state['current_depth']}#{path}"
18
18
  end
19
19
  end
20
20
 
@@ -1,5 +1,5 @@
1
1
  module Gumdrop
2
2
 
3
- VERSION = "0.2.8" unless defined?(::Gumdrop::VERSION)
3
+ VERSION = "0.2.9" unless defined?(::Gumdrop::VERSION)
4
4
 
5
5
  end
metadata CHANGED
@@ -1,109 +1,89 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gumdrop
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 2
8
- - 8
9
- version: 0.2.8
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.9
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Matt McCray
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2011-07-22 00:00:00 -05:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2011-07-22 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: sinatra
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70124108508740 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
31
22
  type: :runtime
32
- version_requirements: *id001
33
- - !ruby/object:Gem::Dependency
34
- name: tilt
35
23
  prerelease: false
36
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70124108508740
25
+ - !ruby/object:Gem::Dependency
26
+ name: tilt
27
+ requirement: &70124108508220 !ruby/object:Gem::Requirement
37
28
  none: false
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- segments:
42
- - 0
43
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
44
33
  type: :runtime
45
- version_requirements: *id002
46
- - !ruby/object:Gem::Dependency
47
- name: active_support
48
34
  prerelease: false
49
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70124108508220
36
+ - !ruby/object:Gem::Dependency
37
+ name: active_support
38
+ requirement: &70124108507760 !ruby/object:Gem::Requirement
50
39
  none: false
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- segments:
55
- - 0
56
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
57
44
  type: :runtime
58
- version_requirements: *id003
59
- - !ruby/object:Gem::Dependency
60
- name: trollop
61
45
  prerelease: false
62
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70124108507760
47
+ - !ruby/object:Gem::Dependency
48
+ name: trollop
49
+ requirement: &70124108507240 !ruby/object:Gem::Requirement
63
50
  none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- segments:
68
- - 0
69
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
70
55
  type: :runtime
71
- version_requirements: *id004
72
- - !ruby/object:Gem::Dependency
73
- name: haml
74
56
  prerelease: false
75
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *70124108507240
58
+ - !ruby/object:Gem::Dependency
59
+ name: haml
60
+ requirement: &70124108506800 !ruby/object:Gem::Requirement
76
61
  none: false
77
- requirements:
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- segments:
81
- - 0
82
- version: "0"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
83
66
  type: :runtime
84
- version_requirements: *id005
85
- - !ruby/object:Gem::Dependency
86
- name: sass
87
67
  prerelease: false
88
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *70124108506800
69
+ - !ruby/object:Gem::Dependency
70
+ name: sass
71
+ requirement: &70124108506300 !ruby/object:Gem::Requirement
89
72
  none: false
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- segments:
94
- - 0
95
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
96
77
  type: :runtime
97
- version_requirements: *id006
78
+ prerelease: false
79
+ version_requirements: *70124108506300
98
80
  description: A simple cms/prototyping tool.
99
81
  email: matt@elucidata.net
100
- executables:
82
+ executables:
101
83
  - gumdrop
102
84
  extensions: []
103
-
104
85
  extra_rdoc_files: []
105
-
106
- files:
86
+ files:
107
87
  - .gitignore
108
88
  - ChangeLog.md
109
89
  - Gemfile
@@ -161,37 +141,28 @@ files:
161
141
  - lib/gumdrop/utils.rb
162
142
  - lib/gumdrop/version.rb
163
143
  - lib/gumdrop/view_helpers.rb
164
- has_rdoc: true
165
144
  homepage: https://github.com/darthapo/gumdrop
166
145
  licenses: []
167
-
168
146
  post_install_message:
169
147
  rdoc_options: []
170
-
171
- require_paths:
148
+ require_paths:
172
149
  - lib
173
- required_ruby_version: !ruby/object:Gem::Requirement
150
+ required_ruby_version: !ruby/object:Gem::Requirement
174
151
  none: false
175
- requirements:
176
- - - ">="
177
- - !ruby/object:Gem::Version
178
- segments:
179
- - 0
180
- version: "0"
181
- required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ! '>='
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ required_rubygems_version: !ruby/object:Gem::Requirement
182
157
  none: false
183
- requirements:
184
- - - ">="
185
- - !ruby/object:Gem::Version
186
- segments:
187
- - 0
188
- version: "0"
158
+ requirements:
159
+ - - ! '>='
160
+ - !ruby/object:Gem::Version
161
+ version: '0'
189
162
  requirements: []
190
-
191
163
  rubyforge_project: gumdrop
192
- rubygems_version: 1.3.7
164
+ rubygems_version: 1.8.6
193
165
  signing_key:
194
166
  specification_version: 3
195
167
  summary: A simple cms/prototyping tool.
196
168
  test_files: []
197
-