http_configuration 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -6,14 +6,13 @@ desc 'Default: run unit tests.'
6
6
  task :default => :test
7
7
 
8
8
  begin
9
- require 'spec/rake/spectask'
10
- desc 'Test the gem.'
11
- Spec::Rake::SpecTask.new(:test) do |t|
12
- t.spec_files = FileList.new('spec/**/*_spec.rb')
13
- end
9
+ require 'rspec'
10
+ require 'rspec/core/rake_task'
11
+ desc 'Run the unit tests'
12
+ RSpec::Core::RakeTask.new(:test)
14
13
  rescue LoadError
15
- tast :test do
16
- STDERR.puts "You must have rspec >= 1.3.0 to run the tests"
14
+ task :test do
15
+ STDERR.puts "You must have rspec 2.0 installed to run the tests"
17
16
  end
18
17
  end
19
18
 
@@ -32,11 +31,11 @@ begin
32
31
  gem.summary = %Q{Gem that provides the ability to set defaults for proxies and timeouts for Net::HTTP.}
33
32
  gem.description = %Q(Gem that provides the ability to set defaults for proxies and timeouts for Net::HTTP. Simplifies integration of HTTP calls into any environment and provides a unified interface for setting values.)
34
33
  gem.email = "brian@embellishedvisions.com"
35
- gem.homepage = "http://github.com/bdurand/acts_as_revisionable"
34
+ gem.homepage = "http://github.com/bdurand/http_configuration"
36
35
  gem.authors = ["Brian Durand"]
37
36
  gem.rdoc_options = ["--charset=UTF-8", "--main", "README.rdoc"]
38
37
 
39
- gem.add_development_dependency('rspec', '>= 1.3.0')
38
+ gem.add_development_dependency('rspec', '>= 2.0.0')
40
39
  gem.add_development_dependency('jeweler')
41
40
  end
42
41
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -1,52 +1,50 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{http_configuration}
8
- s.version = "1.0.3"
8
+ s.version = "1.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Brian Durand"]
12
- s.date = %q{2010-06-22}
12
+ s.date = %q{2011-01-19}
13
13
  s.description = %q{Gem that provides the ability to set defaults for proxies and timeouts for Net::HTTP. Simplifies integration of HTTP calls into any environment and provides a unified interface for setting values.}
14
14
  s.email = %q{brian@embellishedvisions.com}
15
15
  s.extra_rdoc_files = [
16
16
  "README.rodc"
17
17
  ]
18
18
  s.files = [
19
- ".gitignore",
20
- "MIT-LICENSE",
21
- "README.rodc",
22
- "Rakefile",
23
- "VERSION",
24
- "http_configuration.gemspec",
25
- "lib/http_configuration.rb",
26
- "spec/http_configuration_spec.rb"
19
+ "MIT-LICENSE",
20
+ "README.rodc",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "http_configuration.gemspec",
24
+ "lib/http_configuration.rb",
25
+ "spec/http_configuration_spec.rb"
27
26
  ]
28
- s.homepage = %q{http://github.com/bdurand/acts_as_revisionable}
27
+ s.homepage = %q{http://github.com/bdurand/http_configuration}
29
28
  s.rdoc_options = ["--charset=UTF-8", "--main", "README.rdoc"]
30
29
  s.require_paths = ["lib"]
31
- s.rubygems_version = %q{1.3.7}
30
+ s.rubygems_version = %q{1.4.1}
32
31
  s.summary = %q{Gem that provides the ability to set defaults for proxies and timeouts for Net::HTTP.}
33
32
  s.test_files = [
34
33
  "spec/http_configuration_spec.rb"
35
34
  ]
36
35
 
37
36
  if s.respond_to? :specification_version then
38
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
39
37
  s.specification_version = 3
40
38
 
41
39
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
42
- s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
40
+ s.add_development_dependency(%q<rspec>, [">= 2.0.0"])
43
41
  s.add_development_dependency(%q<jeweler>, [">= 0"])
44
42
  else
45
- s.add_dependency(%q<rspec>, [">= 1.3.0"])
43
+ s.add_dependency(%q<rspec>, [">= 2.0.0"])
46
44
  s.add_dependency(%q<jeweler>, [">= 0"])
47
45
  end
48
46
  else
49
- s.add_dependency(%q<rspec>, [">= 1.3.0"])
47
+ s.add_dependency(%q<rspec>, [">= 2.0.0"])
50
48
  s.add_dependency(%q<jeweler>, [">= 0"])
51
49
  end
52
50
  end
@@ -1,5 +1,3 @@
1
- require 'rubygems'
2
- require 'spec'
3
1
  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'http_configuration'))
4
2
 
5
3
  describe Net::HTTP::Configuration do
@@ -97,7 +95,7 @@ describe Net::HTTP::Configuration do
97
95
 
98
96
  end
99
97
 
100
- describe "Net::HTTP" do
98
+ describe Net::HTTP do
101
99
 
102
100
  it "should work normally if no configuration has been set" do
103
101
  Net::HTTP.should_receive(:new_without_configuration).with('localhost', 80, nil, nil, nil, nil)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_configuration
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease: false
4
+ hash: 31
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 3
10
- version: 1.0.3
9
+ - 4
10
+ version: 1.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Durand
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-22 00:00:00 -05:00
18
+ date: 2011-01-19 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 27
29
+ hash: 15
30
30
  segments:
31
- - 1
32
- - 3
31
+ - 2
32
+ - 0
33
33
  - 0
34
- version: 1.3.0
34
+ version: 2.0.0
35
35
  type: :development
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
@@ -57,7 +57,6 @@ extensions: []
57
57
  extra_rdoc_files:
58
58
  - README.rodc
59
59
  files:
60
- - .gitignore
61
60
  - MIT-LICENSE
62
61
  - README.rodc
63
62
  - Rakefile
@@ -66,7 +65,7 @@ files:
66
65
  - lib/http_configuration.rb
67
66
  - spec/http_configuration_spec.rb
68
67
  has_rdoc: true
69
- homepage: http://github.com/bdurand/acts_as_revisionable
68
+ homepage: http://github.com/bdurand/http_configuration
70
69
  licenses: []
71
70
 
72
71
  post_install_message:
@@ -97,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
96
  requirements: []
98
97
 
99
98
  rubyforge_project:
100
- rubygems_version: 1.3.7
99
+ rubygems_version: 1.4.1
101
100
  signing_key:
102
101
  specification_version: 3
103
102
  summary: Gem that provides the ability to set defaults for proxies and timeouts for Net::HTTP.
data/.gitignore DELETED
@@ -1 +0,0 @@
1
- pkg