ruby-d2l 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -22,7 +22,7 @@ Then in your Ruby application you can use the configure block to set these value
22
22
  config.username = "D2L_WEB_SERVICES_USERNAME"
23
23
  config.password = "D2L_WEB_SERVICES_PASSWORD"
24
24
  config.site_url = "D2L_INSTANCE_URL" (e.g. https://d2l.mysite.edu)
25
- config.soap_logging = true (defaults to false unless set)
25
+ config.soap_logging = true #(defaults to false unless set)
26
26
  end
27
27
 
28
28
  == Documentation
@@ -30,7 +30,7 @@ Then in your Ruby application you can use the configure block to set these value
30
30
  Code Example:
31
31
 
32
32
  template = RubyD2L::OrgUnit.get_course_template_by_code(:template_code => "TEMPLATE_CODE")
33
- ap template
33
+ ap template # using awesome_print gem
34
34
 
35
35
 
36
36
  == Contributing to ruby-d2l
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -129,7 +129,7 @@ module RubyD2L
129
129
  end
130
130
 
131
131
  if add_child.to_hash.include?(:add_child_org_unit_response)
132
- response = add_chile.to_hash[:add_child_org_unit_response]
132
+ response = add_child.to_hash[:add_child_org_unit_response]
133
133
  response_hash = Tools.get_all_values_nested(response)
134
134
  if response_hash.keys.any? {|k| k.include? "business_errors"}
135
135
  return response_hash.keep_if {|k,v| k.include? "business_errors"}
@@ -410,6 +410,7 @@ module RubyD2L
410
410
  end
411
411
 
412
412
  response = department.to_hash[:get_department_response]
413
+
413
414
  if response.include?(:department)
414
415
  return Tools.get_all_values_nested(response)
415
416
  else
@@ -1,10 +1,10 @@
1
1
  class Tools
2
2
 
3
3
  @path = []
4
-
5
- @all_values = {}
6
4
 
7
5
  def self.get_all_values_nested(nested_hash={})
6
+ @all_values = {}
7
+
8
8
  nested_hash.each_pair do |k,v|
9
9
  @path << k
10
10
  case v
data/ruby-d2l.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ruby-d2l}
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Matt Mencel"]
12
- s.date = %q{2011-12-21}
12
+ s.date = %q{2012-01-09}
13
13
  s.description = %q{A Ruby SOAP client for accessing Desire2Learn Web Services (D2LWS)}
14
14
  s.email = %q{mr-mencel@wiu.edu}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 0
9
- version: 0.4.0
8
+ - 1
9
+ version: 0.4.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matt Mencel
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-12-21 00:00:00 -06:00
17
+ date: 2012-01-09 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
- hash: -3300350606523422764
130
+ hash: -3410690984352440998
131
131
  segments:
132
132
  - 0
133
133
  version: "0"