wasabi 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ ## 2.1.1 (2012-05-18)
2
+
3
+ * Fix: [issue 7](https://github.com/rubiii/wasabi/issues/7) - Performance regression.
4
+
1
5
  ## 2.1.0 (2012-02-17)
2
6
 
3
7
  * Improvement: The value of elementFormDefault can now be manually specified/overwritten.
data/Rakefile CHANGED
@@ -3,5 +3,11 @@ require "rspec/core/rake_task"
3
3
 
4
4
  RSpec::Core::RakeTask.new
5
5
 
6
+ # http://stackoverflow.com/q/5771758/279024
7
+ task :require_ruby_18 do
8
+ raise "This must be run on Ruby 1.8" unless RUBY_VERSION =~ /^1\.8/
9
+ end
10
+ task :release => [:require_ruby_18]
11
+
6
12
  task :default => :spec
7
13
  task :test => :spec
@@ -54,8 +54,10 @@ module Wasabi
54
54
  namespace = at_xpath("wsdl:definitions/@targetNamespace")
55
55
  @namespace = namespace.to_s if namespace
56
56
 
57
- @namespaces = @document.collect_namespaces.
58
- inject({}) { |result, (key, value)| result.merge(key.gsub(/xmlns:/, "") => value) }
57
+ @namespaces = @document.namespaces.inject({}) do |memo, (key, value)|
58
+ memo[key.sub("xmlns:", "")] = value
59
+ memo
60
+ end
59
61
  end
60
62
 
61
63
  def parse_endpoint
@@ -1,5 +1,5 @@
1
1
  module Wasabi
2
2
 
3
- VERSION = "2.1.0"
3
+ VERSION = "2.1.1"
4
4
 
5
5
  end
@@ -15,10 +15,9 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.add_dependency "nokogiri", ">= 1.4.0"
17
17
 
18
- s.add_development_dependency "rake", "~> 0.8.7"
19
- s.add_development_dependency "rspec", "~> 2.5.0"
20
- s.add_development_dependency "mocha", "~> 0.9.8"
21
- s.add_development_dependency "autotest"
18
+ s.add_development_dependency "rake", "~> 0.9"
19
+ s.add_development_dependency "rspec", "~> 2.10"
20
+ s.add_development_dependency "mocha", "~> 0.11"
22
21
 
23
22
  s.files = `git ls-files`.split("\n")
24
23
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wasabi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 0
10
- version: 2.1.0
9
+ - 1
10
+ version: 2.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Harrington
@@ -15,12 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-17 00:00:00 Z
18
+ date: 2012-05-18 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- prerelease: false
22
- type: :runtime
23
- requirement: &id001 !ruby/object:Gem::Requirement
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
24
22
  none: false
25
23
  requirements:
26
24
  - - ">="
@@ -31,70 +29,55 @@ dependencies:
31
29
  - 4
32
30
  - 0
33
31
  version: 1.4.0
34
- version_requirements: *id001
35
32
  name: nokogiri
36
- - !ruby/object:Gem::Dependency
33
+ type: :runtime
37
34
  prerelease: false
38
- type: :development
39
- requirement: &id002 !ruby/object:Gem::Requirement
35
+ requirement: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
40
38
  none: false
41
39
  requirements:
42
40
  - - ~>
43
41
  - !ruby/object:Gem::Version
44
- hash: 49
42
+ hash: 25
45
43
  segments:
46
44
  - 0
47
- - 8
48
- - 7
49
- version: 0.8.7
50
- version_requirements: *id002
45
+ - 9
46
+ version: "0.9"
51
47
  name: rake
52
- - !ruby/object:Gem::Dependency
53
- prerelease: false
54
48
  type: :development
55
- requirement: &id003 !ruby/object:Gem::Requirement
49
+ prerelease: false
50
+ requirement: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ version_requirements: &id003 !ruby/object:Gem::Requirement
56
53
  none: false
57
54
  requirements:
58
55
  - - ~>
59
56
  - !ruby/object:Gem::Version
60
- hash: 27
57
+ hash: 23
61
58
  segments:
62
59
  - 2
63
- - 5
64
- - 0
65
- version: 2.5.0
66
- version_requirements: *id003
60
+ - 10
61
+ version: "2.10"
67
62
  name: rspec
68
- - !ruby/object:Gem::Dependency
69
- prerelease: false
70
63
  type: :development
71
- requirement: &id004 !ruby/object:Gem::Requirement
64
+ prerelease: false
65
+ requirement: *id003
66
+ - !ruby/object:Gem::Dependency
67
+ version_requirements: &id004 !ruby/object:Gem::Requirement
72
68
  none: false
73
69
  requirements:
74
70
  - - ~>
75
71
  - !ruby/object:Gem::Version
76
- hash: 43
72
+ hash: 29
77
73
  segments:
78
74
  - 0
79
- - 9
80
- - 8
81
- version: 0.9.8
82
- version_requirements: *id004
75
+ - 11
76
+ version: "0.11"
83
77
  name: mocha
84
- - !ruby/object:Gem::Dependency
85
- prerelease: false
86
78
  type: :development
87
- requirement: &id005 !ruby/object:Gem::Requirement
88
- none: false
89
- requirements:
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- hash: 3
93
- segments:
94
- - 0
95
- version: "0"
96
- version_requirements: *id005
97
- name: autotest
79
+ prerelease: false
80
+ requirement: *id004
98
81
  description: A simple WSDL parser
99
82
  email:
100
83
  - me@rubiii.com
@@ -177,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
160
  requirements: []
178
161
 
179
162
  rubyforge_project: wasabi
180
- rubygems_version: 1.8.10
163
+ rubygems_version: 1.8.21
181
164
  signing_key:
182
165
  specification_version: 3
183
166
  summary: A simple WSDL parser