lease 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +88 -86
- data/README.md +1 -1
- data/app/models/lease/envelope.rb +1 -1
- data/lease.gemspec +1 -1
- data/lib/lease/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 748867c309b8a1c275156dd4938d688d1faf1724bf6fa783924ea649ad64b5da
|
4
|
+
data.tar.gz: f059df7df4087da32b100e694421b97d5635d68e784dbe19f30a8382ddab3df5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad9ebe1416e1a754cd158cf861385800de23ebda58eec71956d1db468a1d95657444d54a124c612af995286eb9bd3a0d68f5e58f6c4a4e6aa1c4b84c3129a3cd
|
7
|
+
data.tar.gz: bbc421c10f086256b183984fc20ac5958075a93b7b1d855fa762bc539f19aba40859f6b8c05b97e6b91fbb255291f89ae80e23958f3d7997dac84ab2bf87cd82
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lease (0.1.
|
4
|
+
lease (0.1.3)
|
5
5
|
carrierwave (~> 1.0)
|
6
6
|
rails (~> 5)
|
7
7
|
wicked_pdf (~> 1.1.0)
|
@@ -10,78 +10,78 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actioncable (5.2.
|
14
|
-
actionpack (= 5.2.
|
13
|
+
actioncable (5.2.4.1)
|
14
|
+
actionpack (= 5.2.4.1)
|
15
15
|
nio4r (~> 2.0)
|
16
16
|
websocket-driver (>= 0.6.1)
|
17
|
-
actionmailer (5.2.
|
18
|
-
actionpack (= 5.2.
|
19
|
-
actionview (= 5.2.
|
20
|
-
activejob (= 5.2.
|
17
|
+
actionmailer (5.2.4.1)
|
18
|
+
actionpack (= 5.2.4.1)
|
19
|
+
actionview (= 5.2.4.1)
|
20
|
+
activejob (= 5.2.4.1)
|
21
21
|
mail (~> 2.5, >= 2.5.4)
|
22
22
|
rails-dom-testing (~> 2.0)
|
23
|
-
actionpack (5.2.
|
24
|
-
actionview (= 5.2.
|
25
|
-
activesupport (= 5.2.
|
26
|
-
rack (~> 2.0)
|
23
|
+
actionpack (5.2.4.1)
|
24
|
+
actionview (= 5.2.4.1)
|
25
|
+
activesupport (= 5.2.4.1)
|
26
|
+
rack (~> 2.0, >= 2.0.8)
|
27
27
|
rack-test (>= 0.6.3)
|
28
28
|
rails-dom-testing (~> 2.0)
|
29
29
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
30
|
-
actionview (5.2.
|
31
|
-
activesupport (= 5.2.
|
30
|
+
actionview (5.2.4.1)
|
31
|
+
activesupport (= 5.2.4.1)
|
32
32
|
builder (~> 3.1)
|
33
33
|
erubi (~> 1.4)
|
34
34
|
rails-dom-testing (~> 2.0)
|
35
35
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
36
|
-
activejob (5.2.
|
37
|
-
activesupport (= 5.2.
|
36
|
+
activejob (5.2.4.1)
|
37
|
+
activesupport (= 5.2.4.1)
|
38
38
|
globalid (>= 0.3.6)
|
39
|
-
activemodel (5.2.
|
40
|
-
activesupport (= 5.2.
|
41
|
-
activerecord (5.2.
|
42
|
-
activemodel (= 5.2.
|
43
|
-
activesupport (= 5.2.
|
39
|
+
activemodel (5.2.4.1)
|
40
|
+
activesupport (= 5.2.4.1)
|
41
|
+
activerecord (5.2.4.1)
|
42
|
+
activemodel (= 5.2.4.1)
|
43
|
+
activesupport (= 5.2.4.1)
|
44
44
|
arel (>= 9.0)
|
45
|
-
activestorage (5.2.
|
46
|
-
actionpack (= 5.2.
|
47
|
-
activerecord (= 5.2.
|
45
|
+
activestorage (5.2.4.1)
|
46
|
+
actionpack (= 5.2.4.1)
|
47
|
+
activerecord (= 5.2.4.1)
|
48
48
|
marcel (~> 0.3.1)
|
49
|
-
activesupport (5.2.
|
49
|
+
activesupport (5.2.4.1)
|
50
50
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
51
51
|
i18n (>= 0.7, < 2)
|
52
52
|
minitest (~> 5.1)
|
53
53
|
tzinfo (~> 1.1)
|
54
54
|
arel (9.0.0)
|
55
|
-
builder (3.2.
|
55
|
+
builder (3.2.4)
|
56
56
|
carrierwave (1.3.1)
|
57
57
|
activemodel (>= 4.0.0)
|
58
58
|
activesupport (>= 4.0.0)
|
59
59
|
mime-types (>= 1.16)
|
60
60
|
coderay (1.1.2)
|
61
|
-
concurrent-ruby (1.1.
|
62
|
-
coveralls (0.8.
|
61
|
+
concurrent-ruby (1.1.6)
|
62
|
+
coveralls (0.8.23)
|
63
63
|
json (>= 1.8, < 3)
|
64
64
|
simplecov (~> 0.16.1)
|
65
65
|
term-ansicolor (~> 1.3)
|
66
|
-
thor (
|
66
|
+
thor (>= 0.19.4, < 2.0)
|
67
67
|
tins (~> 1.6)
|
68
|
-
crass (1.0.
|
68
|
+
crass (1.0.6)
|
69
69
|
diff-lcs (1.3)
|
70
|
-
docile (1.3.
|
71
|
-
erubi (1.
|
70
|
+
docile (1.3.2)
|
71
|
+
erubi (1.9.0)
|
72
72
|
factory_bot (4.11.1)
|
73
73
|
activesupport (>= 3.0.0)
|
74
74
|
factory_bot_rails (4.11.1)
|
75
75
|
factory_bot (~> 4.11.1)
|
76
76
|
railties (>= 3.0.0)
|
77
|
-
faker (
|
78
|
-
i18n (>=
|
77
|
+
faker (2.10.2)
|
78
|
+
i18n (>= 1.6, < 2)
|
79
79
|
globalid (0.4.2)
|
80
80
|
activesupport (>= 4.2.0)
|
81
|
-
i18n (1.
|
81
|
+
i18n (1.8.2)
|
82
82
|
concurrent-ruby (~> 1.0)
|
83
|
-
json (2.
|
84
|
-
loofah (2.
|
83
|
+
json (2.3.0)
|
84
|
+
loofah (2.4.0)
|
85
85
|
crass (~> 1.0.2)
|
86
86
|
nokogiri (>= 1.5.9)
|
87
87
|
mail (2.7.1)
|
@@ -89,91 +89,93 @@ GEM
|
|
89
89
|
marcel (0.3.3)
|
90
90
|
mimemagic (~> 0.3.2)
|
91
91
|
method_source (0.9.2)
|
92
|
-
mime-types (3.
|
92
|
+
mime-types (3.3.1)
|
93
93
|
mime-types-data (~> 3.2015)
|
94
|
-
mime-types-data (3.2019.
|
95
|
-
mimemagic (0.3.
|
96
|
-
mini_mime (1.0.
|
94
|
+
mime-types-data (3.2019.1009)
|
95
|
+
mimemagic (0.3.4)
|
96
|
+
mini_mime (1.0.2)
|
97
97
|
mini_portile2 (2.4.0)
|
98
|
-
minitest (5.
|
99
|
-
nio4r (2.
|
100
|
-
nokogiri (1.10.
|
98
|
+
minitest (5.14.0)
|
99
|
+
nio4r (2.5.2)
|
100
|
+
nokogiri (1.10.9)
|
101
101
|
mini_portile2 (~> 2.4.0)
|
102
|
-
pry (0.
|
102
|
+
pry (0.12.2)
|
103
103
|
coderay (~> 1.1.0)
|
104
104
|
method_source (~> 0.9.0)
|
105
|
-
rack (2.
|
105
|
+
rack (2.2.2)
|
106
106
|
rack-test (1.1.0)
|
107
107
|
rack (>= 1.0, < 3)
|
108
|
-
rails (5.2.
|
109
|
-
actioncable (= 5.2.
|
110
|
-
actionmailer (= 5.2.
|
111
|
-
actionpack (= 5.2.
|
112
|
-
actionview (= 5.2.
|
113
|
-
activejob (= 5.2.
|
114
|
-
activemodel (= 5.2.
|
115
|
-
activerecord (= 5.2.
|
116
|
-
activestorage (= 5.2.
|
117
|
-
activesupport (= 5.2.
|
108
|
+
rails (5.2.4.1)
|
109
|
+
actioncable (= 5.2.4.1)
|
110
|
+
actionmailer (= 5.2.4.1)
|
111
|
+
actionpack (= 5.2.4.1)
|
112
|
+
actionview (= 5.2.4.1)
|
113
|
+
activejob (= 5.2.4.1)
|
114
|
+
activemodel (= 5.2.4.1)
|
115
|
+
activerecord (= 5.2.4.1)
|
116
|
+
activestorage (= 5.2.4.1)
|
117
|
+
activesupport (= 5.2.4.1)
|
118
118
|
bundler (>= 1.3.0)
|
119
|
-
railties (= 5.2.
|
119
|
+
railties (= 5.2.4.1)
|
120
120
|
sprockets-rails (>= 2.0.0)
|
121
121
|
rails-dom-testing (2.0.3)
|
122
122
|
activesupport (>= 4.2.0)
|
123
123
|
nokogiri (>= 1.6)
|
124
|
-
rails-html-sanitizer (1.0
|
125
|
-
loofah (~> 2.
|
126
|
-
railties (5.2.
|
127
|
-
actionpack (= 5.2.
|
128
|
-
activesupport (= 5.2.
|
124
|
+
rails-html-sanitizer (1.3.0)
|
125
|
+
loofah (~> 2.3)
|
126
|
+
railties (5.2.4.1)
|
127
|
+
actionpack (= 5.2.4.1)
|
128
|
+
activesupport (= 5.2.4.1)
|
129
129
|
method_source
|
130
130
|
rake (>= 0.8.7)
|
131
131
|
thor (>= 0.19.0, < 2.0)
|
132
|
-
rake (
|
133
|
-
rspec (3.
|
134
|
-
rspec-core (~> 3.
|
135
|
-
rspec-expectations (~> 3.
|
136
|
-
rspec-mocks (~> 3.
|
137
|
-
rspec-core (3.
|
138
|
-
rspec-support (~> 3.
|
139
|
-
rspec-expectations (3.
|
132
|
+
rake (13.0.1)
|
133
|
+
rspec (3.9.0)
|
134
|
+
rspec-core (~> 3.9.0)
|
135
|
+
rspec-expectations (~> 3.9.0)
|
136
|
+
rspec-mocks (~> 3.9.0)
|
137
|
+
rspec-core (3.9.1)
|
138
|
+
rspec-support (~> 3.9.1)
|
139
|
+
rspec-expectations (3.9.0)
|
140
140
|
diff-lcs (>= 1.2.0, < 2.0)
|
141
|
-
rspec-support (~> 3.
|
142
|
-
rspec-mocks (3.
|
141
|
+
rspec-support (~> 3.9.0)
|
142
|
+
rspec-mocks (3.9.1)
|
143
143
|
diff-lcs (>= 1.2.0, < 2.0)
|
144
|
-
rspec-support (~> 3.
|
145
|
-
rspec-rails (3.
|
144
|
+
rspec-support (~> 3.9.0)
|
145
|
+
rspec-rails (3.9.1)
|
146
146
|
actionpack (>= 3.0)
|
147
147
|
activesupport (>= 3.0)
|
148
148
|
railties (>= 3.0)
|
149
|
-
rspec-core (~> 3.
|
150
|
-
rspec-expectations (~> 3.
|
151
|
-
rspec-mocks (~> 3.
|
152
|
-
rspec-support (~> 3.
|
153
|
-
rspec-support (3.
|
149
|
+
rspec-core (~> 3.9.0)
|
150
|
+
rspec-expectations (~> 3.9.0)
|
151
|
+
rspec-mocks (~> 3.9.0)
|
152
|
+
rspec-support (~> 3.9.0)
|
153
|
+
rspec-support (3.9.2)
|
154
154
|
simplecov (0.16.1)
|
155
155
|
docile (~> 1.1)
|
156
156
|
json (>= 1.8, < 3)
|
157
157
|
simplecov-html (~> 0.10.0)
|
158
158
|
simplecov-html (0.10.2)
|
159
|
-
sprockets (
|
159
|
+
sprockets (4.0.0)
|
160
160
|
concurrent-ruby (~> 1.0)
|
161
161
|
rack (> 1, < 3)
|
162
162
|
sprockets-rails (3.2.1)
|
163
163
|
actionpack (>= 4.0)
|
164
164
|
activesupport (>= 4.0)
|
165
165
|
sprockets (>= 3.0.0)
|
166
|
-
sqlite3 (1.4.
|
166
|
+
sqlite3 (1.4.2)
|
167
|
+
sync (0.5.0)
|
167
168
|
term-ansicolor (1.7.1)
|
168
169
|
tins (~> 1.0)
|
169
|
-
thor (0.
|
170
|
+
thor (1.0.1)
|
170
171
|
thread_safe (0.3.6)
|
171
|
-
tins (1.
|
172
|
-
|
172
|
+
tins (1.24.1)
|
173
|
+
sync
|
174
|
+
tzinfo (1.2.6)
|
173
175
|
thread_safe (~> 0.1)
|
174
|
-
websocket-driver (0.7.
|
176
|
+
websocket-driver (0.7.1)
|
175
177
|
websocket-extensions (>= 0.1.0)
|
176
|
-
websocket-extensions (0.1.
|
178
|
+
websocket-extensions (0.1.4)
|
177
179
|
wicked_pdf (1.1.0)
|
178
180
|
wkhtmltopdf-binary (0.12.3.1)
|
179
181
|
|
@@ -187,7 +189,7 @@ DEPENDENCIES
|
|
187
189
|
faker
|
188
190
|
lease!
|
189
191
|
pry
|
190
|
-
rake (~>
|
192
|
+
rake (~> 13.0)
|
191
193
|
rspec (~> 3.7)
|
192
194
|
rspec-rails (~> 3.7)
|
193
195
|
sqlite3 (~> 1)
|
data/README.md
CHANGED
@@ -49,7 +49,7 @@ module Lease
|
|
49
49
|
spans = page.css("[id=\"#{dom_id}\"]")
|
50
50
|
if spans.present?
|
51
51
|
spans.each do |span|
|
52
|
-
span.
|
52
|
+
span.inner_html = value&.to_s&.html_safe || ""
|
53
53
|
end
|
54
54
|
else
|
55
55
|
Rails.logger.info "Lease Envelope #{self.id}: dom id #{dom_id} not found in template"
|
data/lease.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_dependency 'wkhtmltopdf-binary', '~> 0.12.3.1'
|
27
27
|
|
28
28
|
spec.add_development_dependency 'bundler', '~> 1.17.3'
|
29
|
-
spec.add_development_dependency 'rake', '~>
|
29
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
30
30
|
spec.add_development_dependency 'rspec', '~> 3.7'
|
31
31
|
spec.add_development_dependency 'rspec-rails', '~> 3.7'
|
32
32
|
spec.add_development_dependency 'factory_bot_rails', '~> 4.8'
|
data/lib/lease/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lease
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ninja Rails
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '13.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '13.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
199
|
- !ruby/object:Gem::Version
|
200
200
|
version: '0'
|
201
201
|
requirements: []
|
202
|
-
rubygems_version: 3.0.
|
202
|
+
rubygems_version: 3.0.3
|
203
203
|
signing_key:
|
204
204
|
specification_version: 4
|
205
205
|
summary: Lease templates and envelopes
|