hobo 2.0.0.pre8 → 2.0.0.pre9

Sign up to get free protection for your applications and to get access to all the features.
@@ -908,6 +908,10 @@ environment no longer automatically imports ActionView::Helpers.
908
908
  All application helpers are now available in the template
909
909
  environment.
910
910
 
911
+ ### MarkdownString
912
+
913
+ MarkdownString will now use Kramdown, RDiscount or Maruku in preference to Bluecloth if they are availble in your bundle.
914
+
911
915
  ## Attribute Whitelist
912
916
  {.todo}
913
917
 
@@ -908,6 +908,10 @@ environment no longer automatically imports ActionView::Helpers.
908
908
  All application helpers are now available in the template
909
909
  environment.
910
910
 
911
+ ### MarkdownString
912
+
913
+ MarkdownString will now use Kramdown, RDiscount or Maruku in preference to Bluecloth if they are availble in your bundle.
914
+
911
915
  ## Attribute Whitelist
912
916
  {.todo}
913
917
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0.pre8
1
+ 2.0.0.pre9
@@ -126,19 +126,11 @@ module HoboRouteHelper
126
126
  base_url = url = polymorphic_path(poly, params)
127
127
  # validate URL, since polymorphic URL may return a URL for a
128
128
  # different method
129
- # use starts_with because recognize path may return new_for_owner, for example
130
129
  if Rails.application.config.action_controller.relative_url_root
131
130
  base_url = url.gsub(/^#{Rails.application.config.action_controller.relative_url_root}/, "")
132
131
  end
133
132
  recognized_params = Rails.application.routes.recognize_path(base_url, {:method => options[:method]})
134
- if recognized_params[:action] == action.to_s
135
- url
136
- else
137
- # we get here if the action name is modified: do_signup, etc.
138
- recognized_params[:action] = action
139
- url2 = url_for(recognized_params)
140
- url==url2 ? url : nil
141
- end
133
+ url
142
134
  rescue NoMethodError => e # raised if polymorphic_url fails
143
135
  nil
144
136
  rescue ArgumentError => e # raised from polymorphic_url
metadata CHANGED
@@ -1,177 +1,167 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: hobo
3
- version: !ruby/object:Gem::Version
4
- hash: -182171504
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0.pre9
5
5
  prerelease: 6
6
- segments:
7
- - 2
8
- - 0
9
- - 0
10
- - pre
11
- - 8
12
- version: 2.0.0.pre8
13
6
  platform: ruby
14
- authors:
7
+ authors:
15
8
  - Tom Locke
16
9
  autorequire:
17
10
  bindir: bin
18
11
  cert_chain: []
19
-
20
- date: 2013-02-04 00:00:00 Z
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
12
+ date: 2013-02-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
23
15
  name: hobo_support
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
26
17
  none: false
27
- requirements:
28
- - - "="
29
- - !ruby/object:Gem::Version
30
- hash: -182171504
31
- segments:
32
- - 2
33
- - 0
34
- - 0
35
- - pre
36
- - 8
37
- version: 2.0.0.pre8
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.0.0.pre9
38
22
  type: :runtime
39
- version_requirements: *id001
40
- - !ruby/object:Gem::Dependency
41
- name: hobo_fields
42
23
  prerelease: false
43
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 2.0.0.pre9
30
+ - !ruby/object:Gem::Dependency
31
+ name: hobo_fields
32
+ requirement: !ruby/object:Gem::Requirement
44
33
  none: false
45
- requirements:
46
- - - "="
47
- - !ruby/object:Gem::Version
48
- hash: -182171504
49
- segments:
50
- - 2
51
- - 0
52
- - 0
53
- - pre
54
- - 8
55
- version: 2.0.0.pre8
34
+ requirements:
35
+ - - '='
36
+ - !ruby/object:Gem::Version
37
+ version: 2.0.0.pre9
56
38
  type: :runtime
57
- version_requirements: *id002
58
- - !ruby/object:Gem::Dependency
59
- name: dryml
60
39
  prerelease: false
61
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - '='
44
+ - !ruby/object:Gem::Version
45
+ version: 2.0.0.pre9
46
+ - !ruby/object:Gem::Dependency
47
+ name: dryml
48
+ requirement: !ruby/object:Gem::Requirement
62
49
  none: false
63
- requirements:
64
- - - "="
65
- - !ruby/object:Gem::Version
66
- hash: -182171504
67
- segments:
68
- - 2
69
- - 0
70
- - 0
71
- - pre
72
- - 8
73
- version: 2.0.0.pre8
50
+ requirements:
51
+ - - '='
52
+ - !ruby/object:Gem::Version
53
+ version: 2.0.0.pre9
74
54
  type: :runtime
75
- version_requirements: *id003
76
- - !ruby/object:Gem::Dependency
77
- name: will_paginate
78
55
  prerelease: false
79
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
80
57
  none: false
81
- requirements:
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 2.0.0.pre9
62
+ - !ruby/object:Gem::Dependency
63
+ name: will_paginate
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
82
67
  - - ~>
83
- - !ruby/object:Gem::Version
84
- hash: 7
85
- segments:
86
- - 3
87
- - 0
88
- - 0
68
+ - !ruby/object:Gem::Version
89
69
  version: 3.0.0
90
70
  type: :runtime
91
- version_requirements: *id004
92
- - !ruby/object:Gem::Dependency
93
- name: rubydoctest
94
71
  prerelease: false
95
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 3.0.0
78
+ - !ruby/object:Gem::Dependency
79
+ name: rubydoctest
80
+ requirement: !ruby/object:Gem::Requirement
96
81
  none: false
97
- requirements:
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- hash: 21
101
- segments:
102
- - 1
103
- - 1
104
- - 3
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
105
85
  version: 1.1.3
106
86
  type: :development
107
- version_requirements: *id005
108
- - !ruby/object:Gem::Dependency
109
- name: shoulda
110
87
  prerelease: false
111
- requirement: &id006 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
112
89
  none: false
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- hash: 3
117
- segments:
118
- - 0
119
- version: "0"
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: 1.1.3
94
+ - !ruby/object:Gem::Dependency
95
+ name: shoulda
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
120
102
  type: :development
121
- version_requirements: *id006
122
- - !ruby/object:Gem::Dependency
123
- name: irt
124
103
  prerelease: false
125
- requirement: &id007 !ruby/object:Gem::Requirement
104
+ version_requirements: !ruby/object:Gem::Requirement
126
105
  none: false
127
- requirements:
128
- - - "="
129
- - !ruby/object:Gem::Version
130
- hash: 9
131
- segments:
132
- - 1
133
- - 2
134
- - 11
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: irt
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
135
117
  version: 1.2.11
136
118
  type: :development
137
- version_requirements: *id007
138
- - !ruby/object:Gem::Dependency
139
- name: mocha
140
119
  prerelease: false
141
- requirement: &id008 !ruby/object:Gem::Requirement
120
+ version_requirements: !ruby/object:Gem::Requirement
142
121
  none: false
143
- requirements:
144
- - - ">="
145
- - !ruby/object:Gem::Version
146
- hash: 3
147
- segments:
148
- - 0
149
- version: "0"
122
+ requirements:
123
+ - - '='
124
+ - !ruby/object:Gem::Version
125
+ version: 1.2.11
126
+ - !ruby/object:Gem::Dependency
127
+ name: mocha
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
150
134
  type: :development
151
- version_requirements: *id008
152
- - !ruby/object:Gem::Dependency
153
- name: yard
154
135
  prerelease: false
155
- requirement: &id009 !ruby/object:Gem::Requirement
136
+ version_requirements: !ruby/object:Gem::Requirement
156
137
  none: false
157
- requirements:
158
- - - ">="
159
- - !ruby/object:Gem::Version
160
- hash: 3
161
- segments:
162
- - 0
163
- version: "0"
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: yard
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
164
150
  type: :development
165
- version_requirements: *id009
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
166
158
  description: The web app builder for Rails
167
159
  email: tom@tomlocke.com
168
- executables:
160
+ executables:
169
161
  - hobo
170
162
  extensions: []
171
-
172
163
  extra_rdoc_files: []
173
-
174
- files:
164
+ files:
175
165
  - CHANGES-1.1.txt
176
166
  - CHANGES-1.3.txt
177
167
  - CHANGES-1.4.txt
@@ -377,39 +367,28 @@ files:
377
367
  - test/permissions/test_permissions.rb
378
368
  homepage: http://hobocentral.net
379
369
  licenses: []
380
-
381
370
  post_install_message:
382
- rdoc_options:
371
+ rdoc_options:
383
372
  - --charset=UTF-8
384
- require_paths:
373
+ require_paths:
385
374
  - lib
386
- required_ruby_version: !ruby/object:Gem::Requirement
375
+ required_ruby_version: !ruby/object:Gem::Requirement
387
376
  none: false
388
- requirements:
389
- - - ">="
390
- - !ruby/object:Gem::Version
391
- hash: 3
392
- segments:
393
- - 0
394
- version: "0"
395
- required_rubygems_version: !ruby/object:Gem::Requirement
377
+ requirements:
378
+ - - ! '>='
379
+ - !ruby/object:Gem::Version
380
+ version: '0'
381
+ required_rubygems_version: !ruby/object:Gem::Requirement
396
382
  none: false
397
- requirements:
398
- - - ">="
399
- - !ruby/object:Gem::Version
400
- hash: 23
401
- segments:
402
- - 1
403
- - 3
404
- - 6
383
+ requirements:
384
+ - - ! '>='
385
+ - !ruby/object:Gem::Version
405
386
  version: 1.3.6
406
387
  requirements: []
407
-
408
388
  rubyforge_project: hobo
409
- rubygems_version: 1.8.25
389
+ rubygems_version: 1.8.24
410
390
  signing_key:
411
391
  specification_version: 3
412
392
  summary: The web app builder for Rails
413
393
  test_files: []
414
-
415
394
  has_rdoc: