mumukit-sync 0.1.3 → 0.2.0

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: 65a57494367bdb4efec8efcc58beb0518b8fe8d691b4f0f3e63c7f2ac0a2db18
4
- data.tar.gz: 84ec69f3677a2d4fcf25f73fc83982f2f4e484627a4a845b288ec01f66bdf345
3
+ metadata.gz: f1505c375cf560fcd9a941fe53cfda45c2bf9ab519a0522ce8d815ac2c304f68
4
+ data.tar.gz: 109330836eeafdf44a4f794e5807ad6a3d9dc005bd157e84d86560587ce4dd59
5
5
  SHA512:
6
- metadata.gz: b72950160c368396dc31a307b9ff1b8313c36f238987bc2cfe10f0aa4ff019ae6aa9331e377572ad67f72dd53d7eb0e055bb7eb7b5f9f011065ff7d2bc5d9187
7
- data.tar.gz: 5fd4aa6ff17e12908f497fd017b7804c160494a54a9922c6b8fd46eb0da71e15d79dee60dca69eaa6c8214e4f684d4893ee20847f35577424179ea638c51802d
6
+ metadata.gz: 4ce0f22daf2c676ef2a87799d1c220585dcdcedcd7ce760a78480af751d8bff68cd6a79755a08e9de1992ca81249293325f58e79fcd6c7f4e10cc970b122ef07
7
+ data.tar.gz: fd36ddbdfc6900fc6c1095b94330cb7ba01bf1248fee1f1054d8f3a07a9f20f07ae2c329b1fb72367cdf33b6248fdefee1399eb4b78f285eab9a860b005dd54d
@@ -7,6 +7,7 @@ end
7
7
 
8
8
 
9
9
  require_relative './store/base'
10
+ require_relative './store/null'
10
11
  require_relative './store/github'
11
12
  require_relative './store/json'
12
13
  require_relative './store/thesaurus'
@@ -0,0 +1,10 @@
1
+ module Mumukit::Sync::Store
2
+ class NullStore
3
+ def write_resource!(*)
4
+ end
5
+
6
+ def read_resource(key)
7
+ raise "#{key.kind} #{key.id} not found"
8
+ end
9
+ end
10
+ end
@@ -1,5 +1,5 @@
1
1
  module Mumukit
2
2
  module Sync
3
- VERSION = '0.1.3'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
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.1.3
4
+ version: 0.2.0
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-17 00:00:00.000000000 Z
11
+ date: 2018-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit-core
@@ -168,6 +168,7 @@ files:
168
168
  - lib/mumukit/sync/store/github/schema/guide.rb
169
169
  - lib/mumukit/sync/store/github/with_file_reading.rb
170
170
  - lib/mumukit/sync/store/json.rb
171
+ - lib/mumukit/sync/store/null.rb
171
172
  - lib/mumukit/sync/store/thesaurus.rb
172
173
  - lib/mumukit/sync/store/with_wrapped_language.rb
173
174
  - lib/mumukit/sync/syncer.rb