codersdojo 1.3.00 → 1.3.01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/shell_wrapper.rb +1 -1
- data/app/state_reader.rb +6 -1
- data/app/uploader.rb +1 -0
- metadata +4 -4
data/app/shell_wrapper.rb
CHANGED
data/app/state_reader.rb
CHANGED
@@ -56,7 +56,12 @@ class StateReader
|
|
56
56
|
def read_source_files state_dir
|
57
57
|
files = @shell.files_in_dir_tree state_dir
|
58
58
|
source_files = files.find_all{|file| @filename_formatter.source_file_in_state_dir? file}
|
59
|
-
|
59
|
+
marker = "=========="
|
60
|
+
source_files.collect {|file|
|
61
|
+
filename = @filename_formatter.extract_last_path_item file
|
62
|
+
code = @shell.read_file(file)
|
63
|
+
"#{marker} #{filename} #{marker}\n\n#{code}"
|
64
|
+
}
|
60
65
|
end
|
61
66
|
|
62
67
|
def fill_state_with_properties state, properties
|
data/app/uploader.rb
CHANGED
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: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 1.3.
|
9
|
+
- 1
|
10
|
+
version: 1.3.01
|
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-
|
18
|
+
date: 2011-06-02 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|