handlebars-rails 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,142 +1,146 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: handlebars-rails
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 1
8
- - 1
9
- version: 0.1.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - James A. Rosen
13
9
  - Yehuda Katz
10
+ - Charles Lowell
14
11
  autorequire:
15
12
  bindir: bin
16
13
  cert_chain: []
17
-
18
- date: 2011-01-06 00:00:00 -08:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
14
+ date: 2013-01-08 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
22
17
  name: rails
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
25
19
  none: false
26
- requirements:
20
+ requirements:
27
21
  - - ~>
28
- - !ruby/object:Gem::Version
29
- segments:
30
- - 3
31
- - 0
32
- version: "3.0"
22
+ - !ruby/object:Gem::Version
23
+ version: '3.0'
33
24
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: therubyracer
37
25
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
26
+ version_requirements: !ruby/object:Gem::Requirement
39
27
  none: false
40
- requirements:
28
+ requirements:
41
29
  - - ~>
42
- - !ruby/object:Gem::Version
43
- segments:
44
- - 0
45
- - 8
46
- - 0
47
- version: 0.8.0
30
+ - !ruby/object:Gem::Version
31
+ version: '3.0'
32
+ - !ruby/object:Gem::Dependency
33
+ name: handlebars
34
+ requirement: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ~>
38
+ - !ruby/object:Gem::Version
39
+ version: 0.3.2
48
40
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: mocha
52
41
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
42
+ version_requirements: !ruby/object:Gem::Requirement
54
43
  none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- segments:
59
- - 0
60
- version: "0"
61
- type: :development
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 0.3.2
48
+ - !ruby/object:Gem::Dependency
64
49
  name: rake
65
- prerelease: false
66
- requirement: &id004 !ruby/object:Gem::Requirement
50
+ requirement: !ruby/object:Gem::Requirement
67
51
  none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- segments:
72
- - 0
73
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
74
56
  type: :development
75
- version_requirements: *id004
76
- - !ruby/object:Gem::Dependency
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ - !ruby/object:Gem::Dependency
77
65
  name: redgreen
66
+ requirement: !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - ~>
70
+ - !ruby/object:Gem::Version
71
+ version: '1.2'
72
+ type: :development
78
73
  prerelease: false
79
- requirement: &id005 !ruby/object:Gem::Requirement
74
+ version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ~>
78
+ - !ruby/object:Gem::Version
79
+ version: '1.2'
80
+ - !ruby/object:Gem::Dependency
81
+ name: rspec
82
+ requirement: !ruby/object:Gem::Requirement
80
83
  none: false
81
- requirements:
84
+ requirements:
82
85
  - - ~>
83
- - !ruby/object:Gem::Version
84
- segments:
85
- - 1
86
- - 2
87
- version: "1.2"
86
+ - !ruby/object:Gem::Version
87
+ version: '2.7'
88
88
  type: :development
89
- version_requirements: *id005
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ none: false
92
+ requirements:
93
+ - - ~>
94
+ - !ruby/object:Gem::Version
95
+ version: '2.7'
90
96
  description: Use Handlebars.js client- and server-side
91
97
  email: james.a.rosen@gmail.com
92
98
  executables: []
93
-
94
99
  extensions: []
95
-
96
100
  extra_rdoc_files: []
97
-
98
- files:
99
- - .rvmrc
101
+ files:
102
+ - .gitignore
100
103
  - Gemfile
101
104
  - LICENSE
102
105
  - README.md
106
+ - Rakefile
103
107
  - TODO.markdown
104
108
  - handlebars-rails.gemspec
105
109
  - lib/handlebars-rails.rb
106
- - lib/handlebars-rails/v8.rb
110
+ - lib/handlebars-rails/template_handler.rb
111
+ - lib/handlebars-rails/tilt.rb
107
112
  - lib/handlebars-rails/version.rb
108
- has_rdoc: true
109
- homepage: http://github.com/jamesarosen/arturo
113
+ - spec/app/assets/javascripts/templates.js
114
+ - spec/app/views/foobars/_partial.hbs
115
+ - spec/app/views/foobars/whole.hbs
116
+ - spec/precompile_spec.rb
117
+ - spec/render_spec.rb
118
+ - spec/spec_helper.rb
119
+ - spec/template.rb
120
+ - spec/vendor/javascripts/handlebars.js
121
+ homepage: http://github.com/jamesarosen/handlebars-rails
110
122
  licenses: []
111
-
112
123
  post_install_message:
113
124
  rdoc_options: []
114
-
115
- require_paths:
125
+ require_paths:
116
126
  - .
117
127
  - lib
118
- required_ruby_version: !ruby/object:Gem::Requirement
128
+ required_ruby_version: !ruby/object:Gem::Requirement
119
129
  none: false
120
- requirements:
121
- - - ">="
122
- - !ruby/object:Gem::Version
123
- segments:
124
- - 0
125
- version: "0"
126
- required_rubygems_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ required_rubygems_version: !ruby/object:Gem::Requirement
127
135
  none: false
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- segments:
132
- - 0
133
- version: "0"
136
+ requirements:
137
+ - - ! '>='
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
134
140
  requirements: []
135
-
136
141
  rubyforge_project:
137
- rubygems_version: 1.3.7
142
+ rubygems_version: 1.8.24
138
143
  signing_key:
139
144
  specification_version: 2
140
145
  summary: Rails Template Handler for Handlebars
141
146
  test_files: []
142
-
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm 1.9.2@railshbs
@@ -1,29 +0,0 @@
1
- require 'v8'
2
-
3
- # Monkey patches due to bugs in RubyRacer
4
- class V8::JSError
5
- def initialize(try, to)
6
- @to = to
7
- begin
8
- super(initialize_unsafe(try))
9
- rescue Exception => e
10
- # Original code does not make an Array here
11
- @boundaries = [Boundary.new(:rbframes => e.backtrace)]
12
- @value = e
13
- super("BUG! please report. JSError#initialize failed!: #{e.message}")
14
- end
15
- end
16
-
17
- def parse_js_frames(try)
18
- raw = @to.rb(try.StackTrace())
19
- if raw && !raw.empty?
20
- raw.split("\n")[1..-1].tap do |frames|
21
- # Original code uses strip!, and the frames are not guaranteed to be strippable
22
- frames.each {|frame| frame.strip.chomp!(",")}
23
- end
24
- else
25
- []
26
- end
27
- end
28
- end
29
-