mediasort 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 62d4323e2760607b3b96e5f193aeb0431d25c50c
4
- data.tar.gz: 4b1125809368ceae4ad6afa381adc52be16e4db5
2
+ SHA256:
3
+ metadata.gz: 0a741967a53351801fa9cb51387e9dc53d61433c1384705f3977ea50f606498b
4
+ data.tar.gz: 452d8a9efa6d9b139ef71413e5786fc851e3a5478cf5fa40b0799aa077839d33
5
5
  SHA512:
6
- metadata.gz: 9c059c4b8974f6a5b71496003215aac492f380c6e9773537da62f3d73052b29e20b45b6a7bc1a32c819170f83c94f6b375f8981a0433f8989d9bf318fc63eead
7
- data.tar.gz: adcc2210e55d25f21ac37aff3ee9d59c92d8ae7788af842783e557e0339623f3ce25b5cb3b0f9484766b07a32b30d0568a90065e825f9f978dd1a34b4e5a95aa
6
+ metadata.gz: d8b058e21e3b10a550bc74b265bcd83d9beac16444cd66cb9ea5ceda8142f5e976f00edb07c6373d770f0b89150b7c78971d38b24b88d15fb1cbbe4f907a4b1f
7
+ data.tar.gz: c4c15a3017eb65b7a901ad5ccf3790d090c44a3db2bb379309218c8accf5380083b39b1d653a6e899c578772a8427df9f190fc77f5c29da09030363722ce4e18
@@ -1,31 +1,31 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activesupport (4.2.0)
5
- i18n (~> 0.7)
6
- json (~> 1.7, >= 1.7.7)
4
+ activesupport (5.2.0)
5
+ concurrent-ruby (~> 1.0, >= 1.0.2)
6
+ i18n (>= 0.7, < 2)
7
7
  minitest (~> 5.1)
8
- thread_safe (~> 0.3, >= 0.3.4)
9
8
  tzinfo (~> 1.1)
10
- addressable (2.3.7)
11
- builder (3.2.2)
9
+ addressable (2.5.2)
10
+ public_suffix (>= 2.0.2, < 4.0)
11
+ builder (3.2.3)
12
+ concurrent-ruby (1.0.5)
12
13
  descendants_tracker (0.0.4)
13
14
  thread_safe (~> 0.3, >= 0.3.1)
14
- docile (1.1.5)
15
- faraday (0.9.1)
15
+ docile (1.3.0)
16
+ faraday (0.12.2)
16
17
  multipart-post (>= 1.2, < 3)
17
- git (1.2.9.1)
18
- github_api (0.12.3)
19
- addressable (~> 2.3)
18
+ git (1.3.0)
19
+ github_api (0.18.2)
20
+ addressable (~> 2.4)
20
21
  descendants_tracker (~> 0.0.4)
21
- faraday (~> 0.8, < 0.10)
22
- hashie (>= 3.3)
23
- multi_json (>= 1.7.5, < 2.0)
24
- nokogiri (~> 1.6.3)
25
- oauth2
26
- hashie (3.4.0)
27
- highline (1.7.1)
28
- i18n (0.7.0)
22
+ faraday (~> 0.8)
23
+ hashie (~> 3.5, >= 3.5.2)
24
+ oauth2 (~> 1.0)
25
+ hashie (3.5.7)
26
+ highline (1.7.10)
27
+ i18n (1.0.0)
28
+ concurrent-ruby (~> 1.0)
29
29
  jeweler (2.0.1)
30
30
  builder
31
31
  bundler (>= 1.0)
@@ -35,38 +35,39 @@ GEM
35
35
  nokogiri (>= 1.5.10)
36
36
  rake
37
37
  rdoc
38
- json (1.8.2)
39
- jwt (1.4.1)
40
- mini_portile (0.6.2)
41
- minitest (5.5.1)
42
- multi_json (1.11.0)
43
- multi_xml (0.5.5)
38
+ json (1.8.6)
39
+ jwt (1.5.6)
40
+ mini_portile2 (2.3.0)
41
+ minitest (5.11.3)
42
+ multi_json (1.13.1)
43
+ multi_xml (0.6.0)
44
44
  multipart-post (2.0.0)
45
- nokogiri (1.6.6.2)
46
- mini_portile (~> 0.6.0)
47
- oauth2 (1.0.0)
48
- faraday (>= 0.8, < 0.10)
45
+ nokogiri (1.8.2)
46
+ mini_portile2 (~> 2.3.0)
47
+ oauth2 (1.4.0)
48
+ faraday (>= 0.8, < 0.13)
49
49
  jwt (~> 1.0)
50
50
  multi_json (~> 1.3)
51
51
  multi_xml (~> 0.5)
52
- rack (~> 1.2)
53
- rack (1.6.0)
54
- rake (10.4.2)
52
+ rack (>= 1.2, < 3)
53
+ public_suffix (3.0.2)
54
+ rack (2.0.4)
55
+ rake (12.3.1)
55
56
  rdoc (3.12.2)
56
57
  json (~> 1.4)
57
58
  shoulda (3.5.0)
58
59
  shoulda-context (~> 1.0, >= 1.0.1)
59
60
  shoulda-matchers (>= 1.4.1, < 3.0)
60
- shoulda-context (1.2.1)
61
+ shoulda-context (1.2.2)
61
62
  shoulda-matchers (2.8.0)
62
63
  activesupport (>= 3.0.0)
63
- simplecov (0.9.2)
64
- docile (~> 1.1.0)
65
- multi_json (~> 1.0)
66
- simplecov-html (~> 0.9.0)
67
- simplecov-html (0.9.0)
68
- thread_safe (0.3.5)
69
- tzinfo (1.2.2)
64
+ simplecov (0.16.1)
65
+ docile (~> 1.1)
66
+ json (>= 1.8, < 3)
67
+ simplecov-html (~> 0.10.0)
68
+ simplecov-html (0.10.2)
69
+ thread_safe (0.3.6)
70
+ tzinfo (1.2.5)
70
71
  thread_safe (~> 0.1)
71
72
 
72
73
  PLATFORMS
@@ -78,3 +79,6 @@ DEPENDENCIES
78
79
  rdoc (~> 3.12)
79
80
  shoulda
80
81
  simplecov
82
+
83
+ BUNDLED WITH
84
+ 1.16.1
data/README.md CHANGED
@@ -11,7 +11,20 @@ DSC0001.JPG was taken on March 14th, 2015, the script would sort it into a direc
11
11
  `2015/03/2015-03-14/DSC0001.JPG`
12
12
  *`<YEAR>/<MONTH>/<FULL-DATE>/<FILENAME>`*
13
13
 
14
- ### Usage
14
+ ### Installation:
15
+
16
+ *This script requires exiftool but has no other dependencies besides standard libraries.*
17
+
18
+ Use brew to install exiftool:
19
+
20
+ brew install exiftool
21
+
22
+ Install the gem:
23
+
24
+ gem install mediasort
25
+
26
+
27
+ ### Usage:
15
28
 
16
29
  #### *Required Arguments*
17
30
 
@@ -28,13 +41,7 @@ DSC0001.JPG was taken on March 14th, 2015, the script would sort it into a direc
28
41
 
29
42
  ## Contributing to mediasort
30
43
 
31
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
32
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
33
- * Fork the project.
34
- * Start a feature/bugfix branch.
35
- * Commit and push until you are happy with your contribution.
36
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
37
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
44
+ * Send me a pull request.
38
45
 
39
46
  ### Copyright
40
47
 
@@ -2,7 +2,6 @@ require 'json'
2
2
  require 'time'
3
3
 
4
4
  class Mediasort
5
-
6
5
  attr_accessor :options
7
6
 
8
7
  def initialize(options)
@@ -19,7 +18,6 @@ class Mediasort
19
18
  end
20
19
 
21
20
  def check_options
22
-
23
21
  # Optional Arguments
24
22
  options[:verbose] = false if options[:verbose].nil?
25
23
  options[:progress] = true if options[:progress].nil?
@@ -36,7 +34,6 @@ class Mediasort
36
34
  if !options[:output]
37
35
  puts "Missing output argument!"
38
36
  end
39
-
40
37
  end
41
38
 
42
39
  def parse_json(d)
@@ -44,7 +41,6 @@ class Mediasort
44
41
  end
45
42
 
46
43
  def work
47
-
48
44
  check_options
49
45
  clean_paths
50
46
 
@@ -87,7 +83,5 @@ class Mediasort
87
83
  end
88
84
 
89
85
  end
90
-
91
86
  end
92
-
93
87
  end
@@ -6,7 +6,7 @@
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "mediasort"
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: mediasort
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
  - Matt Petty
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  requirements: []
124
124
  rubyforge_project:
125
- rubygems_version: 2.4.5
125
+ rubygems_version: 2.7.6
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: Tidy up directory of media files