dryml 1.1.0.pre3 → 1.1.0.pre4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -7,7 +7,11 @@ $:.unshift File.join(File.expand_path(File.dirname(__FILE__)), '/../hobosupport/
7
7
  require 'dryml' # to get VERSION
8
8
 
9
9
  RUBY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"')
10
- RUBYDOCTEST = ENV['RUBYDOCTEST'] || "#{RUBY} -S rubydoctest"
10
+ if defined?(Bundler)
11
+ RUBYDOCTEST = 'bundle exec rubydoctest'
12
+ else
13
+ RUBYDOCTEST = ENV['RUBYDOCTEST'] || "#{RUBY} -S rubydoctest"
14
+ end
11
15
 
12
16
  desc "Default Task"
13
17
  task :default => [ :test ]
@@ -42,6 +46,3 @@ Jeweler::Tasks.new do |gemspec|
42
46
  gemspec.add_dependency("actionpack", [">= 2.2.2", "< 3.0.0"])
43
47
  end
44
48
  Jeweler::GemcutterTasks.new
45
- Jeweler::RubyforgeTasks.new do |rubyforge|
46
- rubyforge.doc_task = false
47
- end
data/dryml.gemspec ADDED
@@ -0,0 +1,71 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{dryml}
8
+ s.version = "1.1.0.pre4"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Tom Locke"]
12
+ s.date = %q{2011-02-25}
13
+ s.email = %q{tom@tomlocke.com}
14
+ s.extra_rdoc_files = [
15
+ "README"
16
+ ]
17
+ s.files = [
18
+ "CHANGES.txt",
19
+ "LICENSE.txt",
20
+ "README",
21
+ "Rakefile",
22
+ "TODO.txt",
23
+ "dryml.gemspec",
24
+ "lib/dryml.rb",
25
+ "lib/dryml/dryml_builder.rb",
26
+ "lib/dryml/dryml_doc.rb",
27
+ "lib/dryml/dryml_generator.rb",
28
+ "lib/dryml/dryml_support_controller.rb",
29
+ "lib/dryml/helper.rb",
30
+ "lib/dryml/parser.rb",
31
+ "lib/dryml/parser/attribute.rb",
32
+ "lib/dryml/parser/base_parser.rb",
33
+ "lib/dryml/parser/document.rb",
34
+ "lib/dryml/parser/element.rb",
35
+ "lib/dryml/parser/elements.rb",
36
+ "lib/dryml/parser/source.rb",
37
+ "lib/dryml/parser/text.rb",
38
+ "lib/dryml/parser/tree_parser.rb",
39
+ "lib/dryml/part_context.rb",
40
+ "lib/dryml/scoped_variables.rb",
41
+ "lib/dryml/static_tags",
42
+ "lib/dryml/tag_parameters.rb",
43
+ "lib/dryml/taglib.rb",
44
+ "lib/dryml/template.rb",
45
+ "lib/dryml/template_environment.rb",
46
+ "lib/dryml/template_handler.rb",
47
+ "taglibs/core.dryml",
48
+ "test/dryml.rdoctest"
49
+ ]
50
+ s.homepage = %q{http://hobocentral.net/}
51
+ s.require_paths = ["lib"]
52
+ s.rubyforge_project = %q{hobo}
53
+ s.rubygems_version = %q{1.4.2}
54
+ s.summary = %q{The web app builder for Rails}
55
+
56
+ if s.respond_to? :specification_version then
57
+ s.specification_version = 3
58
+
59
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
+ s.add_runtime_dependency(%q<hobosupport>, ["= 1.1.0.pre4"])
61
+ s.add_runtime_dependency(%q<actionpack>, [">= 2.2.2", "< 3.0.0"])
62
+ else
63
+ s.add_dependency(%q<hobosupport>, ["= 1.1.0.pre4"])
64
+ s.add_dependency(%q<actionpack>, [">= 2.2.2", "< 3.0.0"])
65
+ end
66
+ else
67
+ s.add_dependency(%q<hobosupport>, ["= 1.1.0.pre4"])
68
+ s.add_dependency(%q<actionpack>, [">= 2.2.2", "< 3.0.0"])
69
+ end
70
+ end
71
+
@@ -121,7 +121,7 @@
121
121
  def restore_locals(locals)
122
122
  locals.map do |l|
123
123
  if l.is_a?(TypedId)
124
- Hobo::Model.find_by_typed_id(this_id)
124
+ Hobo::Model.find_by_typed_id(l)
125
125
  else
126
126
  l
127
127
  end
data/lib/dryml.rb CHANGED
@@ -25,7 +25,7 @@ end
25
25
  # The Don't Repeat Yourself Markup Language
26
26
  module Dryml
27
27
 
28
- VERSION = "1.1.0.pre3"
28
+ VERSION = "1.1.0.pre4"
29
29
 
30
30
  class DrymlSyntaxError < RuntimeError; end
31
31
 
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dryml
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1876988186
5
- prerelease: true
4
+ hash: 1923831953
5
+ prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
9
  - 0
10
- - pre3
11
- version: 1.1.0.pre3
10
+ - pre
11
+ - 4
12
+ version: 1.1.0.pre4
12
13
  platform: ruby
13
14
  authors:
14
15
  - Tom Locke
@@ -16,7 +17,7 @@ autorequire:
16
17
  bindir: bin
17
18
  cert_chain: []
18
19
 
19
- date: 2011-01-16 00:00:00 -05:00
20
+ date: 2011-02-25 00:00:00 -05:00
20
21
  default_executable:
21
22
  dependencies:
22
23
  - !ruby/object:Gem::Dependency
@@ -27,13 +28,14 @@ dependencies:
27
28
  requirements:
28
29
  - - "="
29
30
  - !ruby/object:Gem::Version
30
- hash: -1876988186
31
+ hash: 1923831953
31
32
  segments:
32
33
  - 1
33
34
  - 1
34
35
  - 0
35
- - pre3
36
- version: 1.1.0.pre3
36
+ - pre
37
+ - 4
38
+ version: 1.1.0.pre4
37
39
  type: :runtime
38
40
  version_requirements: *id001
39
41
  - !ruby/object:Gem::Dependency
@@ -66,14 +68,15 @@ executables: []
66
68
 
67
69
  extensions: []
68
70
 
69
- extra_rdoc_files: []
70
-
71
+ extra_rdoc_files:
72
+ - README
71
73
  files:
72
74
  - CHANGES.txt
73
75
  - LICENSE.txt
74
76
  - README
75
77
  - Rakefile
76
78
  - TODO.txt
79
+ - dryml.gemspec
77
80
  - lib/dryml.rb
78
81
  - lib/dryml/dryml_builder.rb
79
82
  - lib/dryml/dryml_doc.rb
@@ -104,8 +107,8 @@ homepage: http://hobocentral.net/
104
107
  licenses: []
105
108
 
106
109
  post_install_message:
107
- rdoc_options:
108
- - --charset=UTF-8
110
+ rdoc_options: []
111
+
109
112
  require_paths:
110
113
  - lib
111
114
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -131,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
134
  requirements: []
132
135
 
133
136
  rubyforge_project: hobo
134
- rubygems_version: 1.3.7
137
+ rubygems_version: 1.4.2
135
138
  signing_key:
136
139
  specification_version: 3
137
140
  summary: The web app builder for Rails