rapuncel 0.0.6.RC1 → 0.0.6.RC2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rapuncel (0.0.6.RC1)
4
+ rapuncel (0.0.6.RC2)
5
5
  activesupport (>= 3.0.0)
6
6
  nokogiri
7
7
 
@@ -32,8 +32,8 @@ module Rapuncel
32
32
  self.log_level = log_level
33
33
  end
34
34
 
35
- logger.info { with_log_prefix "Initialized." }
36
- logger.debug { with_log_prefix "Using (De)Serializer: #{serialization.to_s}" }
35
+ @logger.info { with_log_prefix "Initialized." }
36
+ @logger.debug { with_log_prefix "Using (De)Serializer: #{serialization.to_s}" }
37
37
  end
38
38
 
39
39
  def _call name, *args
Binary file
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "rapuncel"
3
- s.version = "0.0.6.RC1"
3
+ s.version = "0.0.6.RC2"
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
  s.authors = ["Michael Eickenberg", "Marian Theisen"]
6
6
  s.email = 'marian@cice-online.net'
@@ -14,4 +14,30 @@ describe Rapuncel::Client do
14
14
  it { should respond_to :logger }
15
15
  it { should respond_to :log_level }
16
16
  end
17
+
18
+ describe "log devices" do
19
+ describe 'Symbol' do
20
+ let(:logger) { :stdout }
21
+
22
+ its(:logger) { should be_a Logger }
23
+ end
24
+
25
+ describe 'String' do
26
+ let(:logger) { 'stdout' }
27
+
28
+ its(:logger) { should be_a Logger }
29
+ end
30
+
31
+ describe 'IO' do
32
+ let(:logger) { File.open('/dev/null', 'w') }
33
+
34
+ its(:logger) { should be_a Logger }
35
+ end
36
+
37
+ describe 'true' do
38
+ let(:logger) { true }
39
+
40
+ its(:logger) { should be_a Logger }
41
+ end
42
+ end
17
43
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rapuncel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6.RC1
4
+ version: 0.0.6.RC2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2011-12-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
17
- requirement: &70109985630700 !ruby/object:Gem::Requirement
17
+ requirement: &70196782562000 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70109985630700
25
+ version_requirements: *70196782562000
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: activesupport
28
- requirement: &70109985630120 !ruby/object:Gem::Requirement
28
+ requirement: &70196782561440 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 3.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70109985630120
36
+ version_requirements: *70196782561440
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &70109985629600 !ruby/object:Gem::Requirement
39
+ requirement: &70196782560920 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 2.6.0
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70109985629600
47
+ version_requirements: *70196782560920
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rake
50
- requirement: &70109985629220 !ruby/object:Gem::Requirement
50
+ requirement: &70196782560540 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,7 +55,7 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *70109985629220
58
+ version_requirements: *70196782560540
59
59
  description: Rapuncel is a simple XML-RPC Client based on Nokogiri, thus provides
60
60
  a fast and easy way to interact with XML-RPC services.
61
61
  email: marian@cice-online.net
@@ -78,6 +78,7 @@ files:
78
78
  - lib/rapuncel.rb
79
79
  - MIT-LICENSE
80
80
  - Rakefile
81
+ - rapuncel-0.0.6.RC1.gem
81
82
  - rapuncel.gemspec
82
83
  - README.md
83
84
  - spec/functional/client_spec.rb