bloc-atlas 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/atlas.gemspec +1 -1
- data/lib/client/exercises.rb +15 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5d967130574b2f304c72a7e46182f7eff0c98f3
|
4
|
+
data.tar.gz: 22d98cee0d6685321c6073da36e392f9955aa04a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac72a6c22e42837a73761b0f65680652e1089f5c46ef94e40e282a95369a84fc99d753b0db68cc11d6f11c22f8607157f076f8503f982d66fbbb36997635a00b
|
7
|
+
data.tar.gz: 08fb3f435b065342e6135cf73710723f646143205f0381f4bdd727d26d62ab5bffb155d691bae097cc1096a1ead64e18dbc6521a2cb639788f6a589f63004e26
|
data/atlas.gemspec
CHANGED
data/lib/client/exercises.rb
CHANGED
@@ -45,7 +45,21 @@ module Exercises
|
|
45
45
|
# @example Update a checkpoint
|
46
46
|
# Atlas#update_checkpoint(1, {name: 'Real Cool Exercise'})
|
47
47
|
def update_exercise(id, options={})
|
48
|
-
whitelist = [
|
48
|
+
whitelist = [
|
49
|
+
'name',
|
50
|
+
'description',
|
51
|
+
'body',
|
52
|
+
'status',
|
53
|
+
'slug',
|
54
|
+
'specs',
|
55
|
+
'starting_code',
|
56
|
+
'canonical_solution',
|
57
|
+
'language',
|
58
|
+
'run_strategy_attributes',
|
59
|
+
'starting_code',
|
60
|
+
'canonical_solution',
|
61
|
+
'instructions'
|
62
|
+
]
|
49
63
|
|
50
64
|
options = convert_keys(options)
|
51
65
|
params = whitelist_params(options, whitelist)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bloc-atlas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Madden
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
161
|
version: '0'
|
162
162
|
requirements: []
|
163
163
|
rubyforge_project:
|
164
|
-
rubygems_version: 2.
|
164
|
+
rubygems_version: 2.4.8
|
165
165
|
signing_key:
|
166
166
|
specification_version: 4
|
167
167
|
summary: A Ruby API client for Workshop.
|