crayfish 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,7 +24,6 @@ module Crayfish
24
24
  module Rails
25
25
 
26
26
  class PDF
27
- extend ActiveSupport::Memoizable
28
27
 
29
28
  attr_reader :options
30
29
 
@@ -21,5 +21,5 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
 
23
23
  module Crayfish
24
- VERSION = "0.2.4"
24
+ VERSION = "0.2.5"
25
25
  end
data/lib/crayfish.rb CHANGED
@@ -44,6 +44,5 @@ class ActionView::Base
44
44
  end
45
45
 
46
46
  module ActionView
47
- Mime::Type.register "application/pdf", :pdf
48
47
  ActionView::Template.register_template_handler 'crayfish', Crayfish::Rails::Base
49
48
  end
@@ -0,0 +1,16 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 0) do
15
+
16
+ end
@@ -1720,6 +1720,29 @@ undefined local variable or method `aaa' for #<CrayfishActionViewTest::ActionVie
1720
1720
   (0.3ms) begin transaction
1721
1721
   (0.0ms) rollback transaction
1722
1722
   (0.0ms) begin transaction
1723
+ unknown node p in CrayHtml
1724
+  (0.0ms) rollback transaction
1725
+  (0.0ms) begin transaction
1726
+  (0.0ms) rollback transaction
1727
+  (0.0ms) begin transaction
1728
+  (0.0ms) rollback transaction
1729
+  (0.0ms) begin transaction
1730
+  (0.0ms) rollback transaction
1731
+  (0.0ms) begin transaction
1732
+  (0.0ms) rollback transaction
1733
+  (0.0ms) begin transaction
1734
+  (0.0ms) rollback transaction
1735
+  (0.0ms) begin transaction
1736
+  (0.0ms) rollback transaction
1737
+  (0.0ms) begin transaction
1738
+  (0.0ms) rollback transaction
1739
+  (0.0ms) begin transaction
1740
+  (0.0ms) rollback transaction
1741
+  (0.0ms) begin transaction
1742
+  (0.0ms) rollback transaction
1743
+  (0.3ms) begin transaction
1744
+  (0.0ms) rollback transaction
1745
+  (0.0ms) begin transaction
1723
1746
  unknown node p in CrayHtml
1724
1747
   (0.0ms) rollback transaction
1725
1748
   (0.0ms) begin transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crayfish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-14 00:00:00.000000000Z
12
+ date: 2012-10-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70128930912640 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70128930912640
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: prawn
27
- requirement: &70128930893620 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70128930893620
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: nokogiri
38
- requirement: &70128930892100 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '0'
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *70128930892100
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: sqlite3
49
- requirement: &70128930890080 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ! '>='
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: '0'
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *70128930890080
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: mocha
60
- requirement: &70128930887780 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ! '>='
@@ -65,7 +85,12 @@ dependencies:
65
85
  version: '0'
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *70128930887780
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
69
94
  description: Crayfish - PDF templating for Rails
70
95
  email:
71
96
  - patrick.hanevold@gmail.com
@@ -109,6 +134,7 @@ files:
109
134
  - test/dummy/config/locales/en.yml
110
135
  - test/dummy/config/routes.rb
111
136
  - test/dummy/config.ru
137
+ - test/dummy/db/schema.rb
112
138
  - test/dummy/db/test.sqlite3
113
139
  - test/dummy/log/test.log
114
140
  - test/dummy/public/404.html
@@ -133,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
159
  version: '0'
134
160
  segments:
135
161
  - 0
136
- hash: -1425163839330226270
162
+ hash: 454509455865252440
137
163
  required_rubygems_version: !ruby/object:Gem::Requirement
138
164
  none: false
139
165
  requirements:
@@ -142,10 +168,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
168
  version: '0'
143
169
  segments:
144
170
  - 0
145
- hash: -1425163839330226270
171
+ hash: 454509455865252440
146
172
  requirements: []
147
173
  rubyforge_project:
148
- rubygems_version: 1.8.15
174
+ rubygems_version: 1.8.24
149
175
  signing_key:
150
176
  specification_version: 3
151
177
  summary: Crayfish - PDF templating for Rails
@@ -175,6 +201,7 @@ test_files:
175
201
  - test/dummy/config/locales/en.yml
176
202
  - test/dummy/config/routes.rb
177
203
  - test/dummy/config.ru
204
+ - test/dummy/db/schema.rb
178
205
  - test/dummy/db/test.sqlite3
179
206
  - test/dummy/log/test.log
180
207
  - test/dummy/public/404.html