mumukit-sync 0.2.0 → 0.2.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
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 380186a77555510417026bf6aabd063a83bea1f64182819b121df078c0a1b436
|
4
|
+
data.tar.gz: '09b3c4a045fdc53fd19546ce228744308e1949c306ab9e96af7d280b95cad36d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfde552120a8a206ea26977d98b17a95e654193f495299daf271bfc953fcec355c0fda02f2d0b46e2f7dfb1a446c694c8ae00691972b09363a485d128ce26204
|
7
|
+
data.tar.gz: 6d3dbc5dced89107a7256d6180b89e36dee7acfa81d8293502584d523fbd6a383f7619271f0c63e2b0b0d90901d00594106155cbd8f1ffd993963828a810e43b
|
data/lib/mumukit/sync/store.rb
CHANGED
@@ -4,6 +4,7 @@ module Mumukit::Sync::Store
|
|
4
4
|
## from Bibliotheca API
|
5
5
|
class Bibliotheca < Mumukit::Sync::Store::Base
|
6
6
|
include Mumukit::Sync::Store::WithWrappedLanguage
|
7
|
+
include Mumukit::Sync::Store::WithIdFiltering
|
7
8
|
|
8
9
|
def initialize(bibliotheca_bridge)
|
9
10
|
@bibliotheca_bridge = bibliotheca_bridge
|
@@ -33,17 +33,6 @@ module Mumukit::Sync::Store
|
|
33
33
|
bot: @bot).run!
|
34
34
|
end
|
35
35
|
end
|
36
|
-
|
37
|
-
## FIXME REMOVE
|
38
|
-
class Github::Bot
|
39
|
-
def upload_asset!(slug, filename, content)
|
40
|
-
path = "assets/#{filename.gsub(/\.(.*){2,4}/) { |it| "_#{(Time.now.to_f * 1000).to_i}#{it}" }}"
|
41
|
-
octokit.create_contents(slug.to_s,
|
42
|
-
path,
|
43
|
-
'Uploading new asset',
|
44
|
-
content).content.to_h
|
45
|
-
end
|
46
|
-
end
|
47
36
|
end
|
48
37
|
|
49
38
|
require 'mumukit/auth'
|
data/lib/mumukit/sync/version.rb
CHANGED
data/mumukit-sync.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
|
-
spec.add_dependency 'mumukit-core', '~> 1.
|
24
|
+
spec.add_dependency 'mumukit-core', '~> 1.11'
|
25
25
|
spec.add_dependency 'mumukit-bridge', '~> 3.5'
|
26
26
|
spec.add_dependency 'mumukit-auth', '~> 7.0'
|
27
27
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumukit-sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mumukit-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.11'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.11'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mumukit-bridge
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,6 +170,7 @@ files:
|
|
170
170
|
- lib/mumukit/sync/store/json.rb
|
171
171
|
- lib/mumukit/sync/store/null.rb
|
172
172
|
- lib/mumukit/sync/store/thesaurus.rb
|
173
|
+
- lib/mumukit/sync/store/with_id_filtering.rb
|
173
174
|
- lib/mumukit/sync/store/with_wrapped_language.rb
|
174
175
|
- lib/mumukit/sync/syncer.rb
|
175
176
|
- lib/mumukit/sync/version.rb
|