codersdojo 1.1.01 → 1.1.02
Sign up to get free protection for your applications and to get access to all the features.
- data/app/uploader.rb +4 -1
- metadata +4 -4
data/app/uploader.rb
CHANGED
@@ -34,7 +34,9 @@ class Uploader
|
|
34
34
|
def upload_kata_and_states
|
35
35
|
kata = upload_kata
|
36
36
|
upload_states(XMLElementExtractor.extract('kata/id', kata))
|
37
|
-
|
37
|
+
finish_url = "#{@hostname}#{@@description_path}/#{XMLElementExtractor.extract('kata/uuid', kata)}"
|
38
|
+
summary_url = XMLElementExtractor.extract('kata/short-url', kata)
|
39
|
+
"Complete kata information at #{finish_url}"
|
38
40
|
end
|
39
41
|
|
40
42
|
def upload
|
@@ -45,6 +47,7 @@ class Uploader
|
|
45
47
|
private
|
46
48
|
@@kata_path = '/katas'
|
47
49
|
@@state_path = '/states'
|
50
|
+
@@description_path = '/kata_description'
|
48
51
|
|
49
52
|
end
|
50
53
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codersdojo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 2
|
10
|
+
version: 1.1.02
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- CodersDojo-Team
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-01-
|
18
|
+
date: 2011-01-28 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|