source2pdf 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ #### 0.2.2
2
+
3
+ - Support ruby version 1.9.3+
4
+
1
5
  #### 0.2.1
2
6
 
3
7
  - Require ruby version 2.1.0+ due to the use of refinement
data/Gemfile CHANGED
@@ -1,4 +1,2 @@
1
1
  source "https://rubygems.org"
2
-
3
- # Specify your gem's dependencies in valid_filename.gemspec
4
2
  gemspec
data/lib/source2pdf.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require_relative "source2pdf/version"
2
- require_relative "source2pdf/logger"
3
2
  require_relative "source2pdf/source2pdf"
4
3
  require_relative "source2pdf/exporter"
5
4
  require_relative "source2pdf/cli"
@@ -6,8 +6,6 @@ require "agile_utils"
6
6
  require_relative "source2pdf"
7
7
  module Source2Pdf
8
8
  class CLI < Thor
9
- using AgileUtils::HashExt
10
-
11
9
  desc "export", "Export a given Git's project or a local project to a single pdf file"
12
10
  method_option "url",
13
11
  aliases: "-u",
@@ -1,3 +1,3 @@
1
1
  module Source2Pdf
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
data/source2pdf.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  to produce a single pdf file for quick review."
14
14
  spec.homepage = "https://github.com/agilecreativity/source2pdf"
15
15
  spec.license = "MIT"
16
- spec.required_ruby_version = ">= 2.1.0"
16
+ spec.required_ruby_version = ">= 1.9.3"
17
17
  spec.files = Dir.glob("{bin,lib,templates}/**/*") + %w[Gemfile
18
18
  Rakefile
19
19
  source2pdf.gemspec
@@ -28,14 +28,14 @@ Gem::Specification.new do |spec|
28
28
 
29
29
  spec.add_runtime_dependency "thor", "~> 0.19.1"
30
30
  spec.add_runtime_dependency "git", "~> 1.2.7"
31
- spec.add_runtime_dependency "agile_utils", "~> 0.2.1"
32
- spec.add_runtime_dependency "code_lister", "~> 0.2.1"
33
- spec.add_runtime_dependency "vim_printer", "~> 0.2.1"
34
- spec.add_runtime_dependency "html2pdf", "~> 0.2.1"
35
- spec.add_runtime_dependency "pdfs2pdf", "~> 0.2.1"
31
+ spec.add_runtime_dependency "agile_utils", "~> 0.2.2"
32
+ spec.add_runtime_dependency "code_lister", "~> 0.2.2"
33
+ spec.add_runtime_dependency "vim_printer", "~> 0.2.2"
34
+ spec.add_runtime_dependency "html2pdf", "~> 0.2.2"
35
+ spec.add_runtime_dependency "pdfs2pdf", "~> 0.2.2"
36
36
 
37
37
  spec.add_development_dependency "awesome_print", "~> 1.2.0"
38
- spec.add_development_dependency "bundler", "~> 1.6.2"
38
+ spec.add_development_dependency "bundler", "~> 1.7.0"
39
39
  spec.add_development_dependency "gem-ctags", "~> 1.0.6"
40
40
  spec.add_development_dependency "guard", "~> 2.6.1"
41
41
  spec.add_development_dependency "guard-minitest", "~> 2.3.1"
metadata CHANGED
@@ -1,285 +1,324 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: source2pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Burin Choomnuan
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-07-31 00:00:00.000000000 Z
12
+ date: 2014-08-14 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: thor
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: 0.19.1
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.19.1
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: git
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
37
  version: 1.2.7
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
45
  version: 1.2.7
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: agile_utils
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - "~>"
51
+ - - ~>
46
52
  - !ruby/object:Gem::Version
47
- version: 0.2.1
53
+ version: 0.2.2
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - "~>"
59
+ - - ~>
53
60
  - !ruby/object:Gem::Version
54
- version: 0.2.1
61
+ version: 0.2.2
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: code_lister
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - "~>"
67
+ - - ~>
60
68
  - !ruby/object:Gem::Version
61
- version: 0.2.1
69
+ version: 0.2.2
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - "~>"
75
+ - - ~>
67
76
  - !ruby/object:Gem::Version
68
- version: 0.2.1
77
+ version: 0.2.2
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: vim_printer
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - "~>"
83
+ - - ~>
74
84
  - !ruby/object:Gem::Version
75
- version: 0.2.1
85
+ version: 0.2.2
76
86
  type: :runtime
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - "~>"
91
+ - - ~>
81
92
  - !ruby/object:Gem::Version
82
- version: 0.2.1
93
+ version: 0.2.2
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: html2pdf
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - "~>"
99
+ - - ~>
88
100
  - !ruby/object:Gem::Version
89
- version: 0.2.1
101
+ version: 0.2.2
90
102
  type: :runtime
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - "~>"
107
+ - - ~>
95
108
  - !ruby/object:Gem::Version
96
- version: 0.2.1
109
+ version: 0.2.2
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: pdfs2pdf
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - "~>"
115
+ - - ~>
102
116
  - !ruby/object:Gem::Version
103
- version: 0.2.1
117
+ version: 0.2.2
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - "~>"
123
+ - - ~>
109
124
  - !ruby/object:Gem::Version
110
- version: 0.2.1
125
+ version: 0.2.2
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: awesome_print
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - "~>"
131
+ - - ~>
116
132
  - !ruby/object:Gem::Version
117
133
  version: 1.2.0
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - "~>"
139
+ - - ~>
123
140
  - !ruby/object:Gem::Version
124
141
  version: 1.2.0
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: bundler
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
- - - "~>"
147
+ - - ~>
130
148
  - !ruby/object:Gem::Version
131
- version: 1.6.2
149
+ version: 1.7.0
132
150
  type: :development
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
- - - "~>"
155
+ - - ~>
137
156
  - !ruby/object:Gem::Version
138
- version: 1.6.2
157
+ version: 1.7.0
139
158
  - !ruby/object:Gem::Dependency
140
159
  name: gem-ctags
141
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
142
162
  requirements:
143
- - - "~>"
163
+ - - ~>
144
164
  - !ruby/object:Gem::Version
145
165
  version: 1.0.6
146
166
  type: :development
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
149
170
  requirements:
150
- - - "~>"
171
+ - - ~>
151
172
  - !ruby/object:Gem::Version
152
173
  version: 1.0.6
153
174
  - !ruby/object:Gem::Dependency
154
175
  name: guard
155
176
  requirement: !ruby/object:Gem::Requirement
177
+ none: false
156
178
  requirements:
157
- - - "~>"
179
+ - - ~>
158
180
  - !ruby/object:Gem::Version
159
181
  version: 2.6.1
160
182
  type: :development
161
183
  prerelease: false
162
184
  version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
163
186
  requirements:
164
- - - "~>"
187
+ - - ~>
165
188
  - !ruby/object:Gem::Version
166
189
  version: 2.6.1
167
190
  - !ruby/object:Gem::Dependency
168
191
  name: guard-minitest
169
192
  requirement: !ruby/object:Gem::Requirement
193
+ none: false
170
194
  requirements:
171
- - - "~>"
195
+ - - ~>
172
196
  - !ruby/object:Gem::Version
173
197
  version: 2.3.1
174
198
  type: :development
175
199
  prerelease: false
176
200
  version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
177
202
  requirements:
178
- - - "~>"
203
+ - - ~>
179
204
  - !ruby/object:Gem::Version
180
205
  version: 2.3.1
181
206
  - !ruby/object:Gem::Dependency
182
207
  name: minitest
183
208
  requirement: !ruby/object:Gem::Requirement
209
+ none: false
184
210
  requirements:
185
- - - "~>"
211
+ - - ~>
186
212
  - !ruby/object:Gem::Version
187
213
  version: 5.4.0
188
214
  type: :development
189
215
  prerelease: false
190
216
  version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
191
218
  requirements:
192
- - - "~>"
219
+ - - ~>
193
220
  - !ruby/object:Gem::Version
194
221
  version: 5.4.0
195
222
  - !ruby/object:Gem::Dependency
196
223
  name: minitest-spec-context
197
224
  requirement: !ruby/object:Gem::Requirement
225
+ none: false
198
226
  requirements:
199
- - - "~>"
227
+ - - ~>
200
228
  - !ruby/object:Gem::Version
201
229
  version: 0.0.3
202
230
  type: :development
203
231
  prerelease: false
204
232
  version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
205
234
  requirements:
206
- - - "~>"
235
+ - - ~>
207
236
  - !ruby/object:Gem::Version
208
237
  version: 0.0.3
209
238
  - !ruby/object:Gem::Dependency
210
239
  name: pry
211
240
  requirement: !ruby/object:Gem::Requirement
241
+ none: false
212
242
  requirements:
213
- - - "~>"
243
+ - - ~>
214
244
  - !ruby/object:Gem::Version
215
245
  version: 0.10.0
216
246
  type: :development
217
247
  prerelease: false
218
248
  version_requirements: !ruby/object:Gem::Requirement
249
+ none: false
219
250
  requirements:
220
- - - "~>"
251
+ - - ~>
221
252
  - !ruby/object:Gem::Version
222
253
  version: 0.10.0
223
254
  - !ruby/object:Gem::Dependency
224
255
  name: pry-theme
225
256
  requirement: !ruby/object:Gem::Requirement
257
+ none: false
226
258
  requirements:
227
- - - "~>"
259
+ - - ~>
228
260
  - !ruby/object:Gem::Version
229
261
  version: 1.1.3
230
262
  type: :development
231
263
  prerelease: false
232
264
  version_requirements: !ruby/object:Gem::Requirement
265
+ none: false
233
266
  requirements:
234
- - - "~>"
267
+ - - ~>
235
268
  - !ruby/object:Gem::Version
236
269
  version: 1.1.3
237
270
  - !ruby/object:Gem::Dependency
238
271
  name: rake
239
272
  requirement: !ruby/object:Gem::Requirement
273
+ none: false
240
274
  requirements:
241
- - - "~>"
275
+ - - ~>
242
276
  - !ruby/object:Gem::Version
243
277
  version: 10.3.2
244
278
  type: :development
245
279
  prerelease: false
246
280
  version_requirements: !ruby/object:Gem::Requirement
281
+ none: false
247
282
  requirements:
248
- - - "~>"
283
+ - - ~>
249
284
  - !ruby/object:Gem::Version
250
285
  version: 10.3.2
251
286
  - !ruby/object:Gem::Dependency
252
287
  name: rubocop
253
288
  requirement: !ruby/object:Gem::Requirement
289
+ none: false
254
290
  requirements:
255
- - - "~>"
291
+ - - ~>
256
292
  - !ruby/object:Gem::Version
257
293
  version: 0.24.1
258
294
  type: :development
259
295
  prerelease: false
260
296
  version_requirements: !ruby/object:Gem::Requirement
297
+ none: false
261
298
  requirements:
262
- - - "~>"
299
+ - - ~>
263
300
  - !ruby/object:Gem::Version
264
301
  version: 0.24.1
265
302
  - !ruby/object:Gem::Dependency
266
303
  name: yard
267
304
  requirement: !ruby/object:Gem::Requirement
305
+ none: false
268
306
  requirements:
269
- - - "~>"
307
+ - - ~>
270
308
  - !ruby/object:Gem::Version
271
309
  version: 0.8.7
272
310
  type: :development
273
311
  prerelease: false
274
312
  version_requirements: !ruby/object:Gem::Requirement
313
+ none: false
275
314
  requirements:
276
- - - "~>"
315
+ - - ~>
277
316
  - !ruby/object:Gem::Version
278
317
  version: 0.8.7
279
- description: |-
280
- Export any project from a given git repository (or a local directory) to a single pdf file.
281
- Combine useful features of vim_printer, html2pdf, pdfs2pdf and others
282
- to produce a single pdf file for quick review.
318
+ description: ! "Export any project from a given git repository (or a local directory)
319
+ to a single pdf file.\n Combine useful features of vim_printer,
320
+ html2pdf, pdfs2pdf and others\n to produce a single pdf file
321
+ for quick review."
283
322
  email:
284
323
  - agilecreativity@gmail.com
285
324
  executables:
@@ -287,44 +326,44 @@ executables:
287
326
  extensions: []
288
327
  extra_rdoc_files: []
289
328
  files:
290
- - ".gitignore"
291
- - ".rubocop.yml"
292
- - CHANGELOG.md
293
- - Gemfile
294
- - LICENSE
295
- - README.md
296
- - Rakefile
297
329
  - bin/source2pdf
298
- - lib/source2pdf.rb
299
330
  - lib/source2pdf/cli.rb
300
331
  - lib/source2pdf/exporter.rb
301
- - lib/source2pdf/logger.rb
302
332
  - lib/source2pdf/source2pdf.rb
303
333
  - lib/source2pdf/version.rb
334
+ - lib/source2pdf.rb
335
+ - Gemfile
336
+ - Rakefile
304
337
  - source2pdf.gemspec
338
+ - README.md
339
+ - CHANGELOG.md
340
+ - LICENSE
341
+ - .rubocop.yml
342
+ - .gitignore
305
343
  homepage: https://github.com/agilecreativity/source2pdf
306
344
  licenses:
307
345
  - MIT
308
- metadata: {}
309
346
  post_install_message:
310
347
  rdoc_options: []
311
348
  require_paths:
312
349
  - lib
313
350
  required_ruby_version: !ruby/object:Gem::Requirement
351
+ none: false
314
352
  requirements:
315
- - - ">="
353
+ - - ! '>='
316
354
  - !ruby/object:Gem::Version
317
- version: 2.1.0
355
+ version: 1.9.3
318
356
  required_rubygems_version: !ruby/object:Gem::Requirement
357
+ none: false
319
358
  requirements:
320
- - - ">="
359
+ - - ! '>='
321
360
  - !ruby/object:Gem::Version
322
361
  version: '0'
323
362
  requirements: []
324
363
  rubyforge_project:
325
- rubygems_version: 2.2.2
364
+ rubygems_version: 1.8.23.2
326
365
  signing_key:
327
- specification_version: 4
366
+ specification_version: 3
328
367
  summary: Export any project from a given git repository or a local project directory
329
368
  to a single pdf file
330
369
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 203505d6a4528193536f88b0660362c34f270221
4
- data.tar.gz: b23a728b688b0ab709704b1a713f6560ee573ed5
5
- SHA512:
6
- metadata.gz: af1bd8eb371ea5ce5bb31fa65a126cb32a761b4110b43e98c747e25c779b0b68600f125193a7412da6ecca1fbf58f16199746af845fa892d9557e2db28def633
7
- data.tar.gz: 1eb1d79956e07c3d120770ab9e911db5ff159a2c49b3a8ebc167ec0a14ffb419dc28e08a487b3e1f8a59572f395fb2805a60d8d1d147a85d3f325d4d8fc88edd
@@ -1,10 +0,0 @@
1
- require "logger"
2
- module Source2Pdf
3
- class << self
4
- attr_writer :logger
5
- # @return [Logger] the logger for the project
6
- def logger
7
- @logger ||= Logger.new STDOUT
8
- end
9
- end
10
- end