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 CHANGED
@@ -1 +1 @@
1
- 1.3.0.RC
1
+ 1.3.0.RC1
data/dryml.gemspec CHANGED
@@ -25,4 +25,5 @@ Gem::Specification.new do |s|
25
25
  s.rdoc_options = ["--charset=UTF-8"]
26
26
  s.require_paths = ["lib"]
27
27
 
28
+ s.extensions = 'ext/mkrf_conf.rb'
28
29
  end
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
@@ -6,6 +6,7 @@
6
6
 
7
7
  require 'hobo_support'
8
8
  require 'action_pack'
9
+ require 'openssl'
9
10
 
10
11
  ActiveSupport::Dependencies.autoload_paths |= [File.dirname(__FILE__)]
11
12
 
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.RC
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-10 00:00:00 -04:00
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.RC
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