photo_rename 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c66a81c2fe4683e38c03c0559cbe7d5d13d0052
4
- data.tar.gz: 864b8ce5d998ac3014c59b0997cd91b3dd3d747b
3
+ metadata.gz: 1fdeb0554b5d20821a8b8f2be326b89946c6f70f
4
+ data.tar.gz: 33b1f9c1a39c721184857f04e71b50506df6334a
5
5
  SHA512:
6
- metadata.gz: 4106b98a9ab5c1a2ed070716d731d511c0abadca21fff5bc19cd92f5340fef4ffb4874383c86f446b7e15335ab4b3efe33767fc6f11270c88b1244df1f557499
7
- data.tar.gz: bcae8621fac1485d8f7cb6cafe71aacb985ecfe820f3977c3e5944acd37f35cff49bc3d29b5c2e0253384540097c48bf4197b8f6b76331d8812324cdc9713e1e
6
+ metadata.gz: e998dc9bd3e1d06d5b07f480eacab6f6f139c54747785357a619191cbe3857daf3e31ee0f19e8724c83215fb24d3be93b447dbafb973ae06e3f1da3f349cde3d
7
+ data.tar.gz: 19c090c4ce5c2404e29e8eedf828903a13c8ac3112198768ef00bac61e2bee988632af761ede7dbbbbeacffadc4c4788569fb25d3b9217e1bbce8de9a9d4fe96
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Photo Renamer #
2
2
 
3
- ![img](//badge.fury.io/rb/photo_rename.svg)
3
+ ![img](https://badge.fury.io/for/rb/photo_rename)
4
4
 
5
5
  ## What the script does ##
6
6
 
@@ -16,6 +16,7 @@ The naming pattern described above is the naming pattern used by the stock Andro
16
16
  Per default we now use the JPEG `exif meta data` to find the creation date of the file. This gives much more reliable results than using the `mtime` of the file.
17
17
 
18
18
  The case that convinced me this change was necessary:
19
+
19
20
  I wanted to rename images that was recovered after being deleted. The recovery process changed the `mtime` of the files, but the `meta data` remained intact.
20
21
 
21
22
  ### mtime ###
@@ -48,9 +49,11 @@ apt-get install libimage-exiftool-perl
48
49
  ```
49
50
 
50
51
  **OSX**
52
+
51
53
  http://www.sno.phy.queensu.ca/~phil/exiftool/ExifTool-10.00.dmg
52
54
 
53
55
  **Windows**
56
+
54
57
  http://www.sno.phy.queensu.ca/~phil/exiftool/exiftool-10.00.zip
55
58
 
56
59
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -39,7 +39,6 @@ class Photo_rename
39
39
  if not options[:file] then
40
40
  photo = MiniExiftool.new f
41
41
  mdate = photo[:DateTimeOriginal]
42
- puts mdate
43
42
  else
44
43
  mdate = File.mtime(f)
45
44
  end
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: photo_rename 0.1.0 ruby lib
5
+ # stub: photo_rename 0.1.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "photo_rename"
9
- s.version = "0.1.0"
9
+ s.version = "0.1.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: photo_rename
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tjaart van der Walt