zooniverse_data 0.1.5 → 0.1.6
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/zooniverse_data/projects.rb +0 -1
- data/lib/zooniverse_data/version.rb +1 -1
- metadata +2 -3
- data/lib/zooniverse_data/projects/wise.rb +0 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d360edfcdb45d9151c30f6c5286833423d7942f5
|
|
4
|
+
data.tar.gz: 63987b3e061a6201b5ac463527908cca723a2aa9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b64faf59e32a65aa90b6446789c2ca8e099e78d5dbc88039f9c337ee3de0742a8eab660c61b102fbe588c57eef6fd806a57deefe28882bab80d94831f282a0cd
|
|
7
|
+
data.tar.gz: d00910a7810cc38e23e7608392666f3c788e23b80d3c646be9130a05ce12ced5893fb639cc755ae07203a12fe954bb14240099ac3427694e7b266e9d05745a4b
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zooniverse_data
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Parrish
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-05-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -124,7 +124,6 @@ files:
|
|
|
124
124
|
- lib/zooniverse_data/projects/penguin.rb
|
|
125
125
|
- lib/zooniverse_data/projects/serengeti.rb
|
|
126
126
|
- lib/zooniverse_data/projects/sunspot.rb
|
|
127
|
-
- lib/zooniverse_data/projects/wise.rb
|
|
128
127
|
- lib/zooniverse_data/version.rb
|
|
129
128
|
- zooniverse_data.gemspec
|
|
130
129
|
homepage: https://github.com/zooniverse/zooniverse_data
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
module ZooniverseData
|
|
2
|
-
module Projects
|
|
3
|
-
class Wise
|
|
4
|
-
include Helpers
|
|
5
|
-
|
|
6
|
-
def customize_subject
|
|
7
|
-
new_locations = {}
|
|
8
|
-
|
|
9
|
-
entry.location['standard'].each do |path|
|
|
10
|
-
image_type = path.match(/.*_(?<image_type>[a-zA-Z0-9]+)\.png$/)
|
|
11
|
-
image_type = image_type[:image_type]
|
|
12
|
-
new_locations[image_type] = path
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
new_locations['standard'] = new_locations['wise4']
|
|
16
|
-
|
|
17
|
-
set_location new_locations
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
end
|