git-fit 0.17.4 → 0.17.5
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/lib/git_fit/sync/xingzhe.rb +2 -1
- data/lib/git_fit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e56c52b84377fa13e79c341ee252e84ce3664a448de70ceb690609c55f6d659
|
|
4
|
+
data.tar.gz: 5eee032b2293d18b5775a1250b15c723f794c02aedf27b0198d975c5fd1f27d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba9969a0f3a82a4b255e41e41739cafd75554a1a36e499322610d50cd0fba75ebec6e46a8936418ca58dcd4763e167f72467036b4ff778d6f92a142d53ba6e7b
|
|
7
|
+
data.tar.gz: 470017ec4828dcae793778c26732234b9c27b6aeac561d774a152734adc2a2ab27cc362feb586b40862cc7ddb45c16924026ae3ac99c181ed20d7b3b5b3f2fa3
|
data/lib/git_fit/sync/xingzhe.rb
CHANGED
|
@@ -106,7 +106,8 @@ module GitFit
|
|
|
106
106
|
end
|
|
107
107
|
|
|
108
108
|
def raw_file_exists?(platform_id)
|
|
109
|
-
File.
|
|
109
|
+
dir = File.join(raw_dir, platform_id)
|
|
110
|
+
%w[stream.json detail.json].all? { |f| File.exist?(File.join(dir, f)) }
|
|
110
111
|
end
|
|
111
112
|
|
|
112
113
|
def write_source_archive(data, platform_id, _ext = 'json')
|
data/lib/git_fit/version.rb
CHANGED