wisepdf 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +4 -0
- data/Gemfile +3 -1
- data/Gemfile.lock +3 -3
- data/README.md +2 -0
- data/VERSION +1 -1
- data/generators/{pdf/templates/configure_pdf.rb → wisepdf/templates/configure_wisepdf.rb} +1 -1
- data/generators/wisepdf/wisepdf_generator.rb +7 -0
- data/lib/generators/wisepdf_generator.rb +9 -0
- data/lib/wisepdf/rails/engine.rb +5 -1
- data/lib/wisepdf/writer.rb +100 -111
- data/lib/wisepdf.rb +1 -4
- data/test/dummy/config/initializers/session_store.rb +1 -1
- data/test/dummy/config/initializers/wrap_parameters.rb +1 -1
- data/test/dummy/config/routes.rb +0 -56
- data/wisepdf.gemspec +12 -9
- metadata +29 -18
- data/generators/pdf/pdf_generator.rb +0 -7
- data/lib/generators/pdf_generator.rb +0 -9
- data/test/dummy/log/test.log +0 -274
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -82,14 +82,13 @@ GEM
|
|
82
82
|
rack (~> 1.0)
|
83
83
|
tilt (~> 1.1, != 1.3.0)
|
84
84
|
sqlite3 (1.3.5)
|
85
|
-
sqlite3-ruby (1.3.3)
|
86
|
-
sqlite3 (>= 1.3.3)
|
87
85
|
thor (0.14.6)
|
88
86
|
tilt (1.3.3)
|
89
87
|
treetop (1.4.10)
|
90
88
|
polyglot
|
91
89
|
polyglot (>= 0.3.1)
|
92
90
|
tzinfo (0.3.32)
|
91
|
+
wkhtmltopdf-binary (0.9.5.3)
|
93
92
|
|
94
93
|
PLATFORMS
|
95
94
|
ruby
|
@@ -99,4 +98,5 @@ DEPENDENCIES
|
|
99
98
|
jeweler (~> 1.6.4)
|
100
99
|
rails (>= 3.0.0)
|
101
100
|
shoulda
|
102
|
-
sqlite3
|
101
|
+
sqlite3
|
102
|
+
wkhtmltopdf-binary
|
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
@@ -0,0 +1,9 @@
|
|
1
|
+
if defined?(Rails) && Rails::VERSION::MAJOR > 2
|
2
|
+
# Rails3 generator invoked with 'rails generate wisepdf'
|
3
|
+
class WisepdfGenerator < Rails::Generators::Base
|
4
|
+
source_root(File.expand_path(File.dirname(__FILE__) + "/../../generators/pdf/templates"))
|
5
|
+
def copy_initializer
|
6
|
+
copy_file 'configure_wisepdf.rb', 'config/initializers/configure_wisepdf.rb'
|
7
|
+
end
|
8
|
+
end
|
9
|
+
end
|
data/lib/wisepdf/rails/engine.rb
CHANGED
@@ -3,7 +3,11 @@ module Wisepdf
|
|
3
3
|
class Engine < ::Rails::Engine
|
4
4
|
initializer "wicked_pdf.register" do
|
5
5
|
ActionController::Base.send :include, Render
|
6
|
-
|
6
|
+
if ::Rails.configuration.assets.enabled
|
7
|
+
ActionView::Base.send :include, Helper::Assets
|
8
|
+
else
|
9
|
+
ActionView::Base.send :include, Helper::Legacy
|
10
|
+
end
|
7
11
|
end
|
8
12
|
end
|
9
13
|
end
|
data/lib/wisepdf/writer.rb
CHANGED
@@ -47,131 +47,120 @@ module Wisepdf
|
|
47
47
|
raise Wisepdf::NoExecutableError.new(@wkhtmltopdf) if @wkhtmltopdf.nil? || !File.exists?(@wkhtmltopdf)
|
48
48
|
end
|
49
49
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
#
|
57
|
-
# def on_windows?
|
58
|
-
# RbConfig::CONFIG['target_os'] == 'mingw32'
|
59
|
-
# end
|
60
|
-
|
61
|
-
def print_command(cmd)
|
62
|
-
puts "*"*15
|
63
|
-
puts cmd
|
64
|
-
puts "*"*15
|
65
|
-
end
|
50
|
+
private
|
51
|
+
def print_command(cmd)
|
52
|
+
puts "*"*15
|
53
|
+
puts cmd
|
54
|
+
puts "*"*15
|
55
|
+
end
|
66
56
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
57
|
+
def parse_options(options)
|
58
|
+
[
|
59
|
+
parse_header_footer(:header => options.delete(:header),
|
60
|
+
:footer => options.delete(:footer),
|
61
|
+
:layout => options[:layout]),
|
62
|
+
parse_toc(options.delete(:toc)),
|
63
|
+
parse_outline(options.delete(:outline)),
|
64
|
+
parse_margins(options.delete(:margin)),
|
65
|
+
parse_others(options),
|
66
|
+
parse_basic_auth(options)
|
67
|
+
].join(' ')
|
68
|
+
end
|
79
69
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
end
|
70
|
+
def parse_basic_auth(options)
|
71
|
+
if options[:basic_auth]
|
72
|
+
user, passwd = Base64.decode64(options[:basic_auth]).split(":")
|
73
|
+
"--username '#{user}' --password '#{passwd}'"
|
74
|
+
else
|
75
|
+
""
|
87
76
|
end
|
77
|
+
end
|
88
78
|
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
end
|
93
|
-
"--#{name.gsub('_', '-')} " + case type
|
94
|
-
when :boolean then ""
|
95
|
-
when :numeric then value.to_s
|
96
|
-
when :name_value then value.to_s
|
97
|
-
else "\"#{value}\""
|
98
|
-
end + " "
|
79
|
+
def make_option(name, value, type=:string)
|
80
|
+
if value.is_a?(Array)
|
81
|
+
return value.collect { |v| make_option(name, v, type) }.join('')
|
99
82
|
end
|
83
|
+
"--#{name.gsub('_', '-')} " + case type
|
84
|
+
when :boolean then ""
|
85
|
+
when :numeric then value.to_s
|
86
|
+
when :name_value then value.to_s
|
87
|
+
else "\"#{value}\""
|
88
|
+
end + " "
|
89
|
+
end
|
100
90
|
|
101
|
-
|
102
|
-
|
103
|
-
|
91
|
+
def make_options(options, names, prefix="", type=:string)
|
92
|
+
names.collect {|o| make_option("#{prefix.blank? ? "" : prefix + "-"}#{o.to_s}", options[o], type) unless options[o].blank?}.join
|
93
|
+
end
|
104
94
|
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
end
|
95
|
+
def parse_header_footer(options)
|
96
|
+
r=""
|
97
|
+
[:header, :footer].collect do |hf|
|
98
|
+
unless options[hf].blank?
|
99
|
+
opt_hf = options[hf]
|
100
|
+
r += make_options(opt_hf, [:center, :font_name, :left, :right], "#{hf.to_s}")
|
101
|
+
r += make_options(opt_hf, [:font_size, :spacing], "#{hf.to_s}", :numeric)
|
102
|
+
r += make_options(opt_hf, [:line], "#{hf.to_s}", :boolean)
|
103
|
+
unless opt_hf[:html].blank?
|
104
|
+
r += make_option("#{hf.to_s}-html", opt_hf[:html][:url]) unless opt_hf[:html][:url].blank?
|
116
105
|
end
|
117
|
-
end unless options.blank?
|
118
|
-
r
|
119
|
-
end
|
120
|
-
|
121
|
-
def parse_toc(options)
|
122
|
-
r = 'toc ' unless options.nil?
|
123
|
-
unless options.blank?
|
124
|
-
r += make_options(options, [ :level_indentation, :header_text], "toc")
|
125
|
-
r += make_options(options, [ :text_size_shrink], "toc", :numeric)
|
126
|
-
r += make_options(options, [ :disable_toc_links, :disable_dotted_lines], "", :boolean)
|
127
106
|
end
|
128
|
-
|
129
|
-
|
107
|
+
end unless options.blank?
|
108
|
+
r
|
109
|
+
end
|
130
110
|
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
111
|
+
def parse_toc(options)
|
112
|
+
r = 'toc ' unless options.nil?
|
113
|
+
unless options.blank?
|
114
|
+
r += make_options(options, [ :level_indentation, :header_text], "toc")
|
115
|
+
r += make_options(options, [ :text_size_shrink], "toc", :numeric)
|
116
|
+
r += make_options(options, [ :disable_toc_links, :disable_dotted_lines], "", :boolean)
|
136
117
|
end
|
118
|
+
return r
|
119
|
+
end
|
137
120
|
|
138
|
-
|
139
|
-
|
121
|
+
def parse_outline(options)
|
122
|
+
unless options.blank?
|
123
|
+
r = make_options(options, [:outline], "", :boolean)
|
124
|
+
r +=make_options(options, [:outline_depth], "", :numeric)
|
140
125
|
end
|
126
|
+
end
|
141
127
|
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
:page_size,
|
146
|
-
:page_width,
|
147
|
-
:page_height,
|
148
|
-
:proxy,
|
149
|
-
:username,
|
150
|
-
:password,
|
151
|
-
:cover,
|
152
|
-
:dpi,
|
153
|
-
:encoding,
|
154
|
-
:user_style_sheet])
|
155
|
-
r +=make_options(options, [ :cookie,
|
156
|
-
:post], "", :name_value)
|
157
|
-
r +=make_options(options, [ :redirect_delay,
|
158
|
-
:zoom,
|
159
|
-
:page_offset,
|
160
|
-
:javascript_delay], "", :numeric)
|
161
|
-
r +=make_options(options, [ :book,
|
162
|
-
:default_header,
|
163
|
-
:disable_javascript,
|
164
|
-
:greyscale,
|
165
|
-
:lowquality,
|
166
|
-
:enable_plugins,
|
167
|
-
:disable_internal_links,
|
168
|
-
:disable_external_links,
|
169
|
-
:print_media_type,
|
170
|
-
:disable_smart_shrinking,
|
171
|
-
:use_xserver,
|
172
|
-
:no_background], "", :boolean)
|
173
|
-
end
|
174
|
-
end
|
128
|
+
def parse_margins(options)
|
129
|
+
make_options(options, [:top, :bottom, :left, :right], "margin", :numeric) unless options.blank?
|
130
|
+
end
|
175
131
|
|
132
|
+
def parse_others(options)
|
133
|
+
unless options.blank?
|
134
|
+
r = make_options(options, [ :orientation,
|
135
|
+
:page_size,
|
136
|
+
:page_width,
|
137
|
+
:page_height,
|
138
|
+
:proxy,
|
139
|
+
:username,
|
140
|
+
:password,
|
141
|
+
:cover,
|
142
|
+
:dpi,
|
143
|
+
:encoding,
|
144
|
+
:user_style_sheet])
|
145
|
+
r +=make_options(options, [ :cookie,
|
146
|
+
:post], "", :name_value)
|
147
|
+
r +=make_options(options, [ :redirect_delay,
|
148
|
+
:zoom,
|
149
|
+
:page_offset,
|
150
|
+
:javascript_delay], "", :numeric)
|
151
|
+
r +=make_options(options, [ :book,
|
152
|
+
:default_header,
|
153
|
+
:disable_javascript,
|
154
|
+
:greyscale,
|
155
|
+
:lowquality,
|
156
|
+
:enable_plugins,
|
157
|
+
:disable_internal_links,
|
158
|
+
:disable_external_links,
|
159
|
+
:print_media_type,
|
160
|
+
:disable_smart_shrinking,
|
161
|
+
:use_xserver,
|
162
|
+
:no_background], "", :boolean)
|
163
|
+
end
|
164
|
+
end
|
176
165
|
end
|
177
166
|
end
|
data/lib/wisepdf.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
|
-
Dummy::Application.config.session_store :cookie_store, key
|
3
|
+
Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
|
4
4
|
|
5
5
|
# Use the database for sessions instead of the cookie-based default,
|
6
6
|
# which shouldn't be used to store highly confidential information
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
7
|
ActiveSupport.on_load(:action_controller) do
|
8
|
-
wrap_parameters format
|
8
|
+
wrap_parameters :format => [:json]
|
9
9
|
end
|
10
10
|
|
11
11
|
# Disable root element in JSON by default.
|
data/test/dummy/config/routes.rb
CHANGED
@@ -1,58 +1,2 @@
|
|
1
1
|
Dummy::Application.routes.draw do
|
2
|
-
# The priority is based upon order of creation:
|
3
|
-
# first created -> highest priority.
|
4
|
-
|
5
|
-
# Sample of regular route:
|
6
|
-
# match 'products/:id' => 'catalog#view'
|
7
|
-
# Keep in mind you can assign values other than :controller and :action
|
8
|
-
|
9
|
-
# Sample of named route:
|
10
|
-
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
11
|
-
# This route can be invoked with purchase_url(:id => product.id)
|
12
|
-
|
13
|
-
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
14
|
-
# resources :products
|
15
|
-
|
16
|
-
# Sample resource route with options:
|
17
|
-
# resources :products do
|
18
|
-
# member do
|
19
|
-
# get 'short'
|
20
|
-
# post 'toggle'
|
21
|
-
# end
|
22
|
-
#
|
23
|
-
# collection do
|
24
|
-
# get 'sold'
|
25
|
-
# end
|
26
|
-
# end
|
27
|
-
|
28
|
-
# Sample resource route with sub-resources:
|
29
|
-
# resources :products do
|
30
|
-
# resources :comments, :sales
|
31
|
-
# resource :seller
|
32
|
-
# end
|
33
|
-
|
34
|
-
# Sample resource route with more complex sub-resources
|
35
|
-
# resources :products do
|
36
|
-
# resources :comments
|
37
|
-
# resources :sales do
|
38
|
-
# get 'recent', :on => :collection
|
39
|
-
# end
|
40
|
-
# end
|
41
|
-
|
42
|
-
# Sample resource route within a namespace:
|
43
|
-
# namespace :admin do
|
44
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
45
|
-
# # (app/controllers/admin/products_controller.rb)
|
46
|
-
# resources :products
|
47
|
-
# end
|
48
|
-
|
49
|
-
# You can have the root of your site routed with "root"
|
50
|
-
# just remember to delete public/index.html.
|
51
|
-
# root :to => 'welcome#index'
|
52
|
-
|
53
|
-
# See how all your routes lay out with "rake routes"
|
54
|
-
|
55
|
-
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
56
|
-
# Note: This route will make all actions in every controller accessible via GET requests.
|
57
|
-
# match ':controller(/:action(/:id))(.:format)'
|
58
2
|
end
|
data/wisepdf.gemspec
CHANGED
@@ -5,26 +5,27 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "wisepdf"
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Igor Alexandrov"]
|
12
|
-
s.date = "2012-03-
|
12
|
+
s.date = "2012-03-28"
|
13
13
|
s.description = "wisepdf uses the shell utility wkhtmltopdf to serve a PDF file to a user from HTML. In other words, rather than dealing with a PDF generation DSL of some sort, you simply write an HTML view as you would normally, and let pdf take care of the hard stuff."
|
14
14
|
s.email = "igor.alexandrov@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"README.md"
|
17
17
|
]
|
18
18
|
s.files = [
|
19
|
+
".travis.yml",
|
19
20
|
"Gemfile",
|
20
21
|
"Gemfile.lock",
|
21
22
|
"MIT-LICENSE",
|
22
23
|
"README.md",
|
23
24
|
"Rakefile",
|
24
25
|
"VERSION",
|
25
|
-
"generators/
|
26
|
-
"generators/
|
27
|
-
"lib/generators/
|
26
|
+
"generators/wisepdf/templates/configure_wisepdf.rb",
|
27
|
+
"generators/wisepdf/wisepdf_generator.rb",
|
28
|
+
"lib/generators/wisepdf_generator.rb",
|
28
29
|
"lib/wisepdf.rb",
|
29
30
|
"lib/wisepdf/configuration.rb",
|
30
31
|
"lib/wisepdf/errors.rb",
|
@@ -67,7 +68,6 @@ Gem::Specification.new do |s|
|
|
67
68
|
"test/dummy/config/routes.rb",
|
68
69
|
"test/dummy/lib/assets/.gitkeep",
|
69
70
|
"test/dummy/log/.gitkeep",
|
70
|
-
"test/dummy/log/test.log",
|
71
71
|
"test/dummy/public/404.html",
|
72
72
|
"test/dummy/public/422.html",
|
73
73
|
"test/dummy/public/500.html",
|
@@ -98,20 +98,23 @@ Gem::Specification.new do |s|
|
|
98
98
|
|
99
99
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
100
100
|
s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
|
101
|
-
s.add_development_dependency(%q<sqlite3
|
101
|
+
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
102
|
+
s.add_development_dependency(%q<wkhtmltopdf-binary>, [">= 0"])
|
102
103
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
103
104
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
104
105
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
105
106
|
else
|
106
107
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
107
|
-
s.add_dependency(%q<sqlite3
|
108
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
109
|
+
s.add_dependency(%q<wkhtmltopdf-binary>, [">= 0"])
|
108
110
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
109
111
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
110
112
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
111
113
|
end
|
112
114
|
else
|
113
115
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
114
|
-
s.add_dependency(%q<sqlite3
|
116
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
117
|
+
s.add_dependency(%q<wkhtmltopdf-binary>, [">= 0"])
|
115
118
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
116
119
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
117
120
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wisepdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
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-03-
|
12
|
+
date: 2012-03-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70198037665340 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70198037665340
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
-
name: sqlite3
|
27
|
-
requirement: &
|
26
|
+
name: sqlite3
|
27
|
+
requirement: &70198037662120 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,21 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70198037662120
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: wkhtmltopdf-binary
|
38
|
+
requirement: &70198037672040 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70198037672040
|
36
47
|
- !ruby/object:Gem::Dependency
|
37
48
|
name: shoulda
|
38
|
-
requirement: &
|
49
|
+
requirement: &70198037686120 !ruby/object:Gem::Requirement
|
39
50
|
none: false
|
40
51
|
requirements:
|
41
52
|
- - ! '>='
|
@@ -43,10 +54,10 @@ dependencies:
|
|
43
54
|
version: '0'
|
44
55
|
type: :development
|
45
56
|
prerelease: false
|
46
|
-
version_requirements: *
|
57
|
+
version_requirements: *70198037686120
|
47
58
|
- !ruby/object:Gem::Dependency
|
48
59
|
name: bundler
|
49
|
-
requirement: &
|
60
|
+
requirement: &70198037697280 !ruby/object:Gem::Requirement
|
50
61
|
none: false
|
51
62
|
requirements:
|
52
63
|
- - ~>
|
@@ -54,10 +65,10 @@ dependencies:
|
|
54
65
|
version: 1.0.0
|
55
66
|
type: :development
|
56
67
|
prerelease: false
|
57
|
-
version_requirements: *
|
68
|
+
version_requirements: *70198037697280
|
58
69
|
- !ruby/object:Gem::Dependency
|
59
70
|
name: jeweler
|
60
|
-
requirement: &
|
71
|
+
requirement: &70198037693300 !ruby/object:Gem::Requirement
|
61
72
|
none: false
|
62
73
|
requirements:
|
63
74
|
- - ~>
|
@@ -65,7 +76,7 @@ dependencies:
|
|
65
76
|
version: 1.6.4
|
66
77
|
type: :development
|
67
78
|
prerelease: false
|
68
|
-
version_requirements: *
|
79
|
+
version_requirements: *70198037693300
|
69
80
|
description: wisepdf uses the shell utility wkhtmltopdf to serve a PDF file to a user
|
70
81
|
from HTML. In other words, rather than dealing with a PDF generation DSL of some
|
71
82
|
sort, you simply write an HTML view as you would normally, and let pdf take care
|
@@ -76,15 +87,16 @@ extensions: []
|
|
76
87
|
extra_rdoc_files:
|
77
88
|
- README.md
|
78
89
|
files:
|
90
|
+
- .travis.yml
|
79
91
|
- Gemfile
|
80
92
|
- Gemfile.lock
|
81
93
|
- MIT-LICENSE
|
82
94
|
- README.md
|
83
95
|
- Rakefile
|
84
96
|
- VERSION
|
85
|
-
- generators/
|
86
|
-
- generators/
|
87
|
-
- lib/generators/
|
97
|
+
- generators/wisepdf/templates/configure_wisepdf.rb
|
98
|
+
- generators/wisepdf/wisepdf_generator.rb
|
99
|
+
- lib/generators/wisepdf_generator.rb
|
88
100
|
- lib/wisepdf.rb
|
89
101
|
- lib/wisepdf/configuration.rb
|
90
102
|
- lib/wisepdf/errors.rb
|
@@ -127,7 +139,6 @@ files:
|
|
127
139
|
- test/dummy/config/routes.rb
|
128
140
|
- test/dummy/lib/assets/.gitkeep
|
129
141
|
- test/dummy/log/.gitkeep
|
130
|
-
- test/dummy/log/test.log
|
131
142
|
- test/dummy/public/404.html
|
132
143
|
- test/dummy/public/422.html
|
133
144
|
- test/dummy/public/500.html
|
@@ -161,7 +172,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
161
172
|
version: '0'
|
162
173
|
segments:
|
163
174
|
- 0
|
164
|
-
hash:
|
175
|
+
hash: -909150649677185423
|
165
176
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
177
|
none: false
|
167
178
|
requirements:
|
@@ -1,9 +0,0 @@
|
|
1
|
-
if defined?(Rails) && Rails::VERSION::MAJOR > 2
|
2
|
-
# Rails3 generator invoked with 'rails generate pdf'
|
3
|
-
class PdfGenerator < Rails::Generators::Base
|
4
|
-
source_root(File.expand_path(File.dirname(__FILE__) + "/../../generators/pdf/templates"))
|
5
|
-
def copy_initializer
|
6
|
-
copy_file 'configure_pdf.rb', 'config/initializers/configure_pdf.rb'
|
7
|
-
end
|
8
|
-
end
|
9
|
-
end
|
data/test/dummy/log/test.log
DELETED
@@ -1,274 +0,0 @@
|
|
1
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
3
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
4
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
5
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
7
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
8
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
9
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
10
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
11
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
13
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
14
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
15
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
17
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
18
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
19
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
21
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
22
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
23
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
24
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
25
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
26
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
27
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
29
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
30
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
31
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
33
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
34
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
35
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
37
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
39
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
40
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
41
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
43
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
45
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
47
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
48
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
49
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
50
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
51
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
52
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
53
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
54
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
55
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
56
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
57
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
58
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
59
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
60
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
61
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
62
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
63
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
64
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
65
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
66
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
67
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
69
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
71
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
72
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
73
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
74
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
75
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
76
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
77
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
78
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
79
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
80
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
81
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
82
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
83
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
84
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
85
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
86
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
87
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
88
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
89
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
90
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
91
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
92
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
93
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
94
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
95
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
96
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
97
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
98
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
99
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
100
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
101
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
102
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
103
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
104
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
105
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
106
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
107
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
108
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
109
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
110
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
111
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
112
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
113
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
114
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
115
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
116
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
117
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
118
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
119
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
120
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
121
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
122
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
123
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
124
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
125
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
126
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
127
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
128
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
129
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
130
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
131
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
132
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
133
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
134
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
135
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
136
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
137
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
138
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
139
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
140
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
141
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
142
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
143
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
144
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
145
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
146
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
147
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
148
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
149
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
150
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
151
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
152
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
153
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
154
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
155
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
156
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
157
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
158
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
159
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
160
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
161
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
162
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
163
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
164
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
165
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
166
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
167
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
168
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
169
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
170
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
171
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
172
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
173
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
174
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
175
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
176
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
177
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
178
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
179
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
180
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
181
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
182
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
183
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
184
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
185
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
186
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
187
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
188
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
189
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
190
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
191
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
192
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
193
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
194
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
195
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
196
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
197
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
198
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
199
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
200
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
201
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
202
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
203
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
204
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
205
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
206
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
207
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
208
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
209
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
210
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
211
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
212
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
213
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
214
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
215
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
216
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
217
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
218
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
219
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
220
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
221
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
222
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
223
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
224
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
225
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
226
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
227
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
228
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
229
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
230
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
231
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
232
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
233
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
234
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
235
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
236
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
237
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
238
|
-
Compiled wisepdf.js (0ms) (pid 6915)
|
239
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
240
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
241
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
242
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
243
|
-
Compiled wisepdf.css (0ms) (pid 6915)
|
244
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
245
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
246
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
247
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
248
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
249
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
250
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
251
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
252
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
253
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
254
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
255
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
256
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
257
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
258
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
259
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
260
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
261
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
262
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
263
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
264
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
265
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
266
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
267
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
268
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
269
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
270
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
271
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
272
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
273
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
274
|
-
[1m[35m (0.0ms)[0m rollback transaction
|