dryml 1.4.0.pre7 → 1.4.0.pre8

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rake'
2
2
  require 'rdoc/task'
3
3
  require 'rake/testtask'
4
4
 
5
- RUBY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"')
5
+ RUBY = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"')
6
6
  RUBYDOCTEST = ENV['RUBYDOCTEST'] || "#{RUBY} -S rubydoctest"
7
7
 
8
8
  # --- Testing --- #
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0.pre7
1
+ 1.4.0.pre8
@@ -98,9 +98,9 @@
98
98
  def parse_this_id(page_this)
99
99
  if this_id.nil? || this_id =="nil"
100
100
  nil
101
- elsif this_id == "this" || this_id == page_this.typed_id
101
+ elsif this_id == "this" || this_id == page_this._?.typed_id
102
102
  self.this = page_this
103
- elsif this_id =~ /^this:(.*)/ || (page_this.typed_id && this_id =~ /^#{page_this.typed_id}:(.*)/)
103
+ elsif this_id =~ /^this:(.*)/ || (page_this._?.typed_id && this_id =~ /^#{page_this._?.typed_id}:(.*)/)
104
104
  self.this = page_this
105
105
  self.this_field = $1
106
106
  else
@@ -94,7 +94,7 @@ module Dryml
94
94
 
95
95
 
96
96
  def this_field_reflection
97
- this.try.proxy_reflection ||
97
+ this.try.proxy_association._?.reflection ||
98
98
  (this_parent && this_field && this_parent.class.respond_to?(:reflections) && this_parent.class.reflections[this_field.to_sym])
99
99
  end
100
100
 
metadata CHANGED
@@ -1,81 +1,103 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dryml
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.0.pre8
4
5
  prerelease: 6
5
- version: 1.4.0.pre7
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Tom Locke
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2012-07-05 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2012-08-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: actionpack
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
18
+ requirements:
21
19
  - - ~>
22
- - !ruby/object:Gem::Version
20
+ - !ruby/object:Gem::Version
23
21
  version: 3.1.0
24
22
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: hobo_support
28
23
  prerelease: false
29
- 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: 3.1.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: hobo_support
32
+ requirement: !ruby/object:Gem::Requirement
30
33
  none: false
31
- requirements:
32
- - - "="
33
- - !ruby/object:Gem::Version
34
- version: 1.4.0.pre7
34
+ requirements:
35
+ - - '='
36
+ - !ruby/object:Gem::Version
37
+ version: 1.4.0.pre8
35
38
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: rubydoctest
39
39
  prerelease: false
40
- 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: 1.4.0.pre8
46
+ - !ruby/object:Gem::Dependency
47
+ name: rubydoctest
48
+ requirement: !ruby/object:Gem::Requirement
41
49
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
45
53
  version: 1.1.3
46
54
  type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: cucumber
50
55
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 1.1.3
62
+ - !ruby/object:Gem::Dependency
63
+ name: cucumber
64
+ requirement: !ruby/object:Gem::Requirement
52
65
  none: false
53
- requirements:
66
+ requirements:
54
67
  - - ~>
55
- - !ruby/object:Gem::Version
68
+ - !ruby/object:Gem::Version
56
69
  version: 1.1.0
57
70
  type: :development
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
60
- name: aruba
61
71
  prerelease: false
62
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
63
73
  none: false
64
- requirements:
74
+ requirements:
65
75
  - - ~>
66
- - !ruby/object:Gem::Version
76
+ - !ruby/object:Gem::Version
77
+ version: 1.1.0
78
+ - !ruby/object:Gem::Dependency
79
+ name: aruba
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
67
85
  version: 0.4.6
68
86
  type: :development
69
- version_requirements: *id005
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.4.6
70
94
  description: The Don't Repeat Yourself Markup Language
71
95
  email: tom@tomlocke.com
72
96
  executables: []
73
-
74
- extensions:
97
+ extensions:
75
98
  - ext/mkrf_conf.rb
76
99
  extra_rdoc_files: []
77
-
78
- files:
100
+ files:
79
101
  - CHANGES.txt
80
102
  - Gemfile
81
103
  - LICENSE.txt
@@ -141,31 +163,28 @@ files:
141
163
  - test/dryml.rdoctest
142
164
  homepage: http://hobocentral.net
143
165
  licenses: []
144
-
145
166
  post_install_message:
146
- rdoc_options:
167
+ rdoc_options:
147
168
  - --charset=UTF-8
148
- require_paths:
169
+ require_paths:
149
170
  - lib
150
- required_ruby_version: !ruby/object:Gem::Requirement
171
+ required_ruby_version: !ruby/object:Gem::Requirement
151
172
  none: false
152
- requirements:
153
- - - ">="
154
- - !ruby/object:Gem::Version
155
- version: "0"
156
- required_rubygems_version: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - ! '>='
175
+ - !ruby/object:Gem::Version
176
+ version: '0'
177
+ required_rubygems_version: !ruby/object:Gem::Requirement
157
178
  none: false
158
- requirements:
159
- - - ">="
160
- - !ruby/object:Gem::Version
179
+ requirements:
180
+ - - ! '>='
181
+ - !ruby/object:Gem::Version
161
182
  version: 1.3.6
162
183
  requirements: []
163
-
164
184
  rubyforge_project: hobo
165
- rubygems_version: 1.8.21
185
+ rubygems_version: 1.8.24
166
186
  signing_key:
167
187
  specification_version: 3
168
188
  summary: The Don't Repeat Yourself Markup Language
169
189
  test_files: []
170
-
171
190
  has_rdoc: