bloc-atlas 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/atlas.gemspec +3 -3
- data/lib/client/exercises.rb +1 -1
- metadata +21 -22
- data/config/application.yml +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d80508c2e43b595460ab4e867e624d33ead62ec6
|
4
|
+
data.tar.gz: d4db6715d3edcd56e4d69429b8f6e6efcf4a6808
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61aca695e34a1ff6e6060ecdc03e2177dbb29d4d48fe12b9cb4e392ea37505893fa8e57e7d37449fa7b740b85c40a04d33145681250d2eab0677d0b3d657b658
|
7
|
+
data.tar.gz: ea5683251e0f2ca6d0f6b90296a8c963061e32c2007cd1cc293e757a188491fded3f9a2783c01acfd299cebe0374f1d8bb9b45f00fde67e9b5c307eff8665b94
|
data/.gitignore
CHANGED
data/atlas.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "bloc-atlas"
|
7
|
-
spec.version = '0.1.
|
7
|
+
spec.version = '0.1.2'
|
8
8
|
spec.authors = ["Rob Madden"]
|
9
9
|
spec.email = ["rob.madden@bloc.io"]
|
10
10
|
|
@@ -29,9 +29,9 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_development_dependency "bundler", "~> 1.11"
|
30
30
|
spec.add_development_dependency "rake", "~> 10.0"
|
31
31
|
spec.add_development_dependency "rspec", "~> 3.0"
|
32
|
+
spec.add_development_dependency 'vcr', '~>2.9'
|
33
|
+
spec.add_development_dependency 'webmock', '~>1.22'
|
32
34
|
spec.add_runtime_dependency 'httparty', '~>0.13.7'
|
33
35
|
spec.add_runtime_dependency 'activesupport', '~>4.2'
|
34
36
|
spec.add_runtime_dependency 'json', '~>1.8'
|
35
|
-
spec.add_development_dependency 'vcr', '~>2.9'
|
36
|
-
spec.add_development_dependency 'webmock', '~>1.22'
|
37
37
|
end
|
data/lib/client/exercises.rb
CHANGED
@@ -45,7 +45,7 @@ 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 = ['name', 'body', 'status', 'slug','specs', 'starting_code', 'canonical_solution', 'language']
|
48
|
+
whitelist = ['name', 'description', 'body', 'status', 'slug','specs', 'starting_code', 'canonical_solution', 'language']
|
49
49
|
|
50
50
|
options = convert_keys(options)
|
51
51
|
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.2
|
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-05-
|
11
|
+
date: 2016-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -53,75 +53,75 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: vcr
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
62
|
-
type: :
|
61
|
+
version: '2.9'
|
62
|
+
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '2.9'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: webmock
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
76
|
-
type: :
|
75
|
+
version: '1.22'
|
76
|
+
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.22'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: httparty
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 0.13.7
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 0.13.7
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: activesupport
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '2
|
104
|
-
type: :
|
103
|
+
version: '4.2'
|
104
|
+
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '2
|
110
|
+
version: '4.2'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: json
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '1.
|
118
|
-
type: :
|
117
|
+
version: '1.8'
|
118
|
+
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '1.
|
124
|
+
version: '1.8'
|
125
125
|
description: A Ruby API client for Workshop.
|
126
126
|
email:
|
127
127
|
- rob.madden@bloc.io
|
@@ -136,7 +136,6 @@ files:
|
|
136
136
|
- README.md
|
137
137
|
- Rakefile
|
138
138
|
- atlas.gemspec
|
139
|
-
- config/application.yml
|
140
139
|
- lib/atlas.rb
|
141
140
|
- lib/client/base_client.rb
|
142
141
|
- lib/client/class_factory.rb
|
data/config/application.yml
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
# Add configuration values here, as shown below.
|
2
|
-
#
|
3
|
-
# pusher_app_id: "2954"
|
4
|
-
# pusher_key: 7381a978f7dd7f9a1117
|
5
|
-
# pusher_secret: abdc3b896a0ffb85d373
|
6
|
-
# stripe_api_key: sk_test_2J0l093xOyW72XUYJHE4Dv2r
|
7
|
-
# stripe_publishable_key: pk_test_ro9jV5SNwGb1yYlQfzG17LHK
|
8
|
-
#
|
9
|
-
# production:
|
10
|
-
# stripe_api_key: sk_live_EeHnL644i6zo4Iyq4v1KdV9H
|
11
|
-
# stripe_publishable_key: pk_live_9lcthxpSIHbGwmdO941O1XVU
|
12
|
-
development:
|
13
|
-
host: "localhost:3000/api/v1"
|
14
|
-
api_key: 'd87998b5915e8647e4a089a6231fa1299370c58d5bfda884a9a580ae106eff54'
|