phtools 0.8.1 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/TODO.md +4 -3
  3. data/exe/phfixdto +42 -0
  4. data/exe/phfixfmd +1 -1
  5. data/exe/phgettags +39 -0
  6. data/exe/phls +9 -5
  7. data/exe/phrename +1 -1
  8. data/lib/phfixdto.rb +62 -0
  9. data/lib/phfixfmd.rb +1 -2
  10. data/lib/phgettags.rb +58 -0
  11. data/lib/phtools/exif_tagger/error.rb +11 -0
  12. data/lib/phtools/exif_tagger/tag_collection.rb +103 -0
  13. data/lib/phtools/exif_tagger/tag_writer.rb +79 -0
  14. data/lib/phtools/exif_tagger/tags/_tag.rb +111 -0
  15. data/lib/phtools/exif_tagger/tags/_tag_date.rb +45 -0
  16. data/lib/phtools/exif_tagger/tags/city.rb +39 -0
  17. data/lib/phtools/exif_tagger/tags/coded_character_set.rb +38 -0
  18. data/lib/phtools/exif_tagger/tags/collections.rb +45 -0
  19. data/lib/phtools/exif_tagger/tags/copyright.rb +39 -0
  20. data/lib/phtools/exif_tagger/tags/country.rb +40 -0
  21. data/lib/phtools/exif_tagger/tags/country_code.rb +38 -0
  22. data/lib/phtools/exif_tagger/tags/create_date.rb +32 -0
  23. data/lib/phtools/exif_tagger/tags/creator.rb +44 -0
  24. data/lib/phtools/exif_tagger/tags/date_time_original.rb +32 -0
  25. data/lib/phtools/exif_tagger/tags/gps_created.rb +78 -0
  26. data/lib/phtools/exif_tagger/tags/image_unique_id.rb +47 -0
  27. data/lib/phtools/exif_tagger/tags/keywords.rb +49 -0
  28. data/lib/phtools/exif_tagger/tags/location.rb +40 -0
  29. data/lib/phtools/exif_tagger/tags/modify_date.rb +26 -0
  30. data/lib/phtools/exif_tagger/tags/state.rb +40 -0
  31. data/lib/phtools/exif_tagger/tags/world_region.rb +38 -0
  32. data/lib/phtools/exif_tagger/tags.rb +11 -0
  33. data/lib/phtools/exif_tagger.rb +8 -0
  34. data/lib/phtools/version.rb +1 -1
  35. data/lib/phtools.rb +4 -4
  36. metadata +31 -4
  37. data/lib/phfixdate.rb +0 -13
  38. data/lib/phmtags.rb +0 -13
data/lib/phtools.rb CHANGED
@@ -4,11 +4,11 @@
4
4
  require 'phtools/version'
5
5
  require 'phbackup'
6
6
  require 'phevent'
7
- require 'phfixdate'
7
+ require 'phfixdto'
8
8
  require 'phfixfmd'
9
9
  require 'phls'
10
10
  require 'phmove'
11
- require 'phmtags'
11
+ require 'phgettags'
12
12
  require 'phrename'
13
13
  require 'phtagset'
14
14
 
@@ -23,9 +23,9 @@ Please run phtools in a terminal via CLI commands:
23
23
  phbackup\t(#{Phbackup::about}),
24
24
  phrename\t(#{Phrename::about}),
25
25
  phevent\t(#{Phevent::about}),
26
- phfixdate\t(#{Phfixdate::about}),
26
+ phfixdto\t(#{Phfixdto::about}),
27
27
  phfixfmd\t(#{Phfixfmd::about}),
28
- phmtags\t(#{Phmtags::about}),
28
+ phgettags\t(#{Phgettags::about}),
29
29
  phtagset\t(#{Phtagset::about}).
30
30
  For more information run these commands with -h option.
31
31
  General info about phtools usage see at https://github.com/AndrewBiz/phtools.git
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Bizyaev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-25 00:00:00.000000000 Z
11
+ date: 2016-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -240,7 +240,9 @@ email:
240
240
  - andrew.bizyaev@gmail.com
241
241
  executables:
242
242
  - phbackup
243
+ - phfixdto
243
244
  - phfixfmd
245
+ - phgettags
244
246
  - phls
245
247
  - phmove
246
248
  - phrename
@@ -262,22 +264,47 @@ files:
262
264
  - bin/setup
263
265
  - bin/stmux
264
266
  - exe/phbackup
267
+ - exe/phfixdto
265
268
  - exe/phfixfmd
269
+ - exe/phgettags
266
270
  - exe/phls
267
271
  - exe/phmove
268
272
  - exe/phrename
269
273
  - exe/phtools
270
274
  - lib/phbackup.rb
271
275
  - lib/phevent.rb
272
- - lib/phfixdate.rb
276
+ - lib/phfixdto.rb
273
277
  - lib/phfixfmd.rb
278
+ - lib/phgettags.rb
274
279
  - lib/phls.rb
275
280
  - lib/phmove.rb
276
- - lib/phmtags.rb
277
281
  - lib/phrename.rb
278
282
  - lib/phtagset.rb
279
283
  - lib/phtools.rb
280
284
  - lib/phtools/error.rb
285
+ - lib/phtools/exif_tagger.rb
286
+ - lib/phtools/exif_tagger/error.rb
287
+ - lib/phtools/exif_tagger/tag_collection.rb
288
+ - lib/phtools/exif_tagger/tag_writer.rb
289
+ - lib/phtools/exif_tagger/tags.rb
290
+ - lib/phtools/exif_tagger/tags/_tag.rb
291
+ - lib/phtools/exif_tagger/tags/_tag_date.rb
292
+ - lib/phtools/exif_tagger/tags/city.rb
293
+ - lib/phtools/exif_tagger/tags/coded_character_set.rb
294
+ - lib/phtools/exif_tagger/tags/collections.rb
295
+ - lib/phtools/exif_tagger/tags/copyright.rb
296
+ - lib/phtools/exif_tagger/tags/country.rb
297
+ - lib/phtools/exif_tagger/tags/country_code.rb
298
+ - lib/phtools/exif_tagger/tags/create_date.rb
299
+ - lib/phtools/exif_tagger/tags/creator.rb
300
+ - lib/phtools/exif_tagger/tags/date_time_original.rb
301
+ - lib/phtools/exif_tagger/tags/gps_created.rb
302
+ - lib/phtools/exif_tagger/tags/image_unique_id.rb
303
+ - lib/phtools/exif_tagger/tags/keywords.rb
304
+ - lib/phtools/exif_tagger/tags/location.rb
305
+ - lib/phtools/exif_tagger/tags/modify_date.rb
306
+ - lib/phtools/exif_tagger/tags/state.rb
307
+ - lib/phtools/exif_tagger/tags/world_region.rb
281
308
  - lib/phtools/ph_file.rb
282
309
  - lib/phtools/runner.rb
283
310
  - lib/phtools/utils.rb
data/lib/phfixdate.rb DELETED
@@ -1,13 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # encoding: UTF-8
3
- # (c) ANB Andrew Bizyaev
4
-
5
- require 'phtools/runner'
6
-
7
- module PhTools
8
- class Phfixdate < Runner
9
- def self.about
10
- "!UNDER CONSTRUCTION!"
11
- end
12
- end
13
- end
data/lib/phmtags.rb DELETED
@@ -1,13 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # encoding: UTF-8
3
- # (c) ANB Andrew Bizyaev
4
-
5
- require 'phtools/runner'
6
-
7
- module PhTools
8
- class Phmtags < Runner
9
- def self.about
10
- "!UNDER CONSTRUCTION!"
11
- end
12
- end
13
- end