dryml 1.3.0.RC → 1.3.0.RC1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/dryml.gemspec +1 -0
- data/ext/mkrf_conf.rb +9 -0
- data/lib/dryml/template_environment.rb +2 -2
- data/lib/dryml.rb +1 -0
- metadata +6 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.0.
|
1
|
+
1.3.0.RC1
|
data/dryml.gemspec
CHANGED
data/ext/mkrf_conf.rb
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
|
3
|
+
# the whole reason this file exists: to return an error if openssl
|
4
|
+
# isn't installed.
|
5
|
+
require 'openssl'
|
6
|
+
|
7
|
+
f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w") # create dummy rakefile to indicate success
|
8
|
+
f.write("task :default\n")
|
9
|
+
f.close
|
@@ -144,7 +144,7 @@ module Dryml
|
|
144
144
|
|
145
145
|
id = if (typed_id = object.try.typed_id)
|
146
146
|
typed_id
|
147
|
-
elsif object == this
|
147
|
+
elsif object == @this
|
148
148
|
"this"
|
149
149
|
end
|
150
150
|
attribute ? "#{id}:#{attribute}" : id
|
@@ -162,7 +162,7 @@ module Dryml
|
|
162
162
|
|
163
163
|
|
164
164
|
def refresh_part(encoded_context, session, dom_id)
|
165
|
-
context = Dryml::PartContext.for_refresh(encoded_context, this, session)
|
165
|
+
context = Dryml::PartContext.for_refresh(encoded_context, @this, session)
|
166
166
|
|
167
167
|
with_part_context(context) do
|
168
168
|
send("#{context.part_name}_part", *context.locals)
|
data/lib/dryml.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: dryml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 1.3.0.
|
5
|
+
version: 1.3.0.RC1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Tom Locke
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05
|
13
|
+
date: 2011-07-05 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 1.3.0.
|
35
|
+
version: 1.3.0.RC1
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
@@ -50,8 +50,8 @@ description: The Don't Repeat Yourself Markup Language
|
|
50
50
|
email: tom@tomlocke.com
|
51
51
|
executables: []
|
52
52
|
|
53
|
-
extensions:
|
54
|
-
|
53
|
+
extensions:
|
54
|
+
- ext/mkrf_conf.rb
|
55
55
|
extra_rdoc_files: []
|
56
56
|
|
57
57
|
files:
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- TODO.txt
|
63
63
|
- VERSION
|
64
64
|
- dryml.gemspec
|
65
|
+
- ext/mkrf_conf.rb
|
65
66
|
- lib/dryml.rb
|
66
67
|
- lib/dryml/dryml_builder.rb
|
67
68
|
- lib/dryml/dryml_doc.rb
|