rubyfocus 0.5.14 → 0.5.15
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/lib/rubyfocus/fetchers/fetcher.rb +1 -1
- data/lib/rubyfocus/fetchers/local_fetcher.rb +7 -2
- data/version.txt +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5a4c91ed0928fd76122bd1a73aac09cd7865910
|
4
|
+
data.tar.gz: c0b84fe38a026dec491cacb779d1af6711c113e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e310985eb7a3abb07c71659308b02e819db7ca8d833d543b3bf6c050ceda74ad009a22008c5d55b1bb9938db02def736ad749c94dfdc92cf3d45e6c7be47a469
|
7
|
+
data.tar.gz: ab34e7acef67d5c7a4892a71065ae98200398027d9698d2630bc502987c136bfba55db773e7c6b5ec73e235bfdfe4cff5a15614f8066d60e07aa2ff5227342fe
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
|
4
4
|
|
5
|
+
## [0.5.15]
|
6
|
+
|
7
|
+
## Changed
|
8
|
+
|
9
|
+
* Fixed further bugs related to Rubyfocus' not being able to pick the base file from OmniFocus' local file store.
|
10
|
+
|
5
11
|
## [0.5.14]
|
6
12
|
|
7
13
|
### Changed
|
data/README.md
CHANGED
@@ -24,7 +24,7 @@ class Rubyfocus::LocalFetcher < Rubyfocus::Fetcher
|
|
24
24
|
|
25
25
|
# Fetches the ID Of the base file
|
26
26
|
def base_id
|
27
|
-
base_file = File.basename(
|
27
|
+
base_file = File.basename(sorted_files.first)
|
28
28
|
if base_file =~ /^\d+\=.*\+(.*)\.zip$/
|
29
29
|
$1
|
30
30
|
else
|
@@ -34,7 +34,12 @@ class Rubyfocus::LocalFetcher < Rubyfocus::Fetcher
|
|
34
34
|
|
35
35
|
# Fetches a list of every patch file
|
36
36
|
def patches
|
37
|
-
@patches ||=
|
37
|
+
@patches ||= sorted_files[1..-1].map{ |f| Rubyfocus::Patch.new(self, File.basename(f)) }
|
38
|
+
end
|
39
|
+
|
40
|
+
# Fetch a sorted list of files from this directory
|
41
|
+
private def sorted_files
|
42
|
+
@sorted_files ||= Dir[File.join(self.location, "*.zip")].sort
|
38
43
|
end
|
39
44
|
|
40
45
|
# Fetches the contents of a given patch file
|
data/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.15
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyfocus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan-Yves Ruzicka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|