tendersync 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 1.0.8 2010-03-02
2
+
3
+ * Removed some deprecated usage of mechanize
4
+
1
5
  == 1.0.7 2010-01-20
2
6
 
3
7
  * Merged title option for create from Ross MacDonald
data/Manifest CHANGED
@@ -20,6 +20,7 @@ spec/tendersync_document_spec.rb
20
20
  spec/tendersync_session_spec.rb
21
21
  spec/tendersync_spec.rb
22
22
  tasks/rspec.rake
23
+ tendersync.gemspec
23
24
  website/index.html
24
25
  website/index.txt
25
26
  website/javascripts/rounded_corners_lite.inc.js
@@ -6,5 +6,5 @@ module Tendersync
6
6
  autoload :Runner, 'tendersync/runner'
7
7
  autoload :Session, 'tendersync/session'
8
8
 
9
- VERSION = '1.0.7'
9
+ VERSION = '1.0.8'
10
10
  end
@@ -3,7 +3,7 @@ class Tendersync::Session
3
3
  def initialize(site, user, pass)
4
4
  @username = user
5
5
  @password = pass
6
- @agent = WWW::Mechanize.new { |a| a.auth(user, pass) }
6
+ @agent = Mechanize.new { |a| a.auth(user, pass) }
7
7
  @site = site
8
8
  @login_site = "#{site}/login"
9
9
  end
@@ -28,7 +28,7 @@ class Tendersync::Session
28
28
  login
29
29
  begin
30
30
  page = @agent.get(url)
31
- rescue WWW::Mechanize::ResponseCodeError => e
31
+ rescue Mechanize::ResponseCodeError => e
32
32
  raise Tendersync::Runner::Error, "Unable to get #{url}"
33
33
  end
34
34
  def page.links_like(r)
@@ -2,23 +2,23 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{tendersync}
5
- s.version = "1.0.7"
5
+ s.version = "1.0.8"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Bill Kayser"]
9
- s.date = %q{2010-01-20}
9
+ s.date = %q{2010-03-02}
10
10
  s.default_executable = %q{tendersync}
11
11
  s.description = %q{Tendersync is a utility for syncing files from ENTP's Tender site for managing customer facing documentation. It can be used to pull and push documents to a local repository as well as create indexes for each documentation section.
12
12
  }
13
13
  s.email = %q{bkayser@newrelic.com}
14
14
  s.executables = ["tendersync"]
15
15
  s.extra_rdoc_files = ["bin/tendersync", "lib/tendersync/document.rb", "lib/tendersync/runner.rb", "lib/tendersync/session.rb", "lib/tendersync/tendersync.rb", "lib/tendersync.rb", "README.md", "tasks/rspec.rake"]
16
- s.files = ["bin/tendersync", "config/website.yml.sample", "History.txt", "lib/tendersync/document.rb", "lib/tendersync/runner.rb", "lib/tendersync/session.rb", "lib/tendersync/tendersync.rb", "lib/tendersync.rb", "Manifest", "Rakefile", "README.md", "script/console", "script/destroy", "script/generate", "script/txt2html", "spec/fixtures/passenger_restart_issues", "spec/spec.opts", "spec/spec_helper.rb", "spec/tendersync_document_spec.rb", "spec/tendersync_session_spec.rb", "spec/tendersync_spec.rb", "tasks/rspec.rake", "website/index.html", "website/index.txt", "website/javascripts/rounded_corners_lite.inc.js", "website/stylesheets/screen.css", "website/template.html.erb", "tendersync.gemspec"]
16
+ s.files = ["bin/tendersync", "config/website.yml.sample", "History.txt", "lib/tendersync/document.rb", "lib/tendersync/runner.rb", "lib/tendersync/session.rb", "lib/tendersync/tendersync.rb", "lib/tendersync.rb", "Manifest", "Rakefile", "README.md", "script/console", "script/destroy", "script/generate", "script/txt2html", "spec/fixtures/passenger_restart_issues", "spec/spec.opts", "spec/spec_helper.rb", "spec/tendersync_document_spec.rb", "spec/tendersync_session_spec.rb", "spec/tendersync_spec.rb", "tasks/rspec.rake", "tendersync.gemspec", "website/index.html", "website/index.txt", "website/javascripts/rounded_corners_lite.inc.js", "website/stylesheets/screen.css", "website/template.html.erb"]
17
17
  s.homepage = %q{http://www.github.com/newrelic/tendersync}
18
18
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Tendersync", "--main", "README.md"]
19
19
  s.require_paths = ["lib"]
20
20
  s.rubyforge_project = %q{newrelic}
21
- s.rubygems_version = %q{1.3.5}
21
+ s.rubygems_version = %q{1.3.6}
22
22
  s.summary = %q{Utility for syncing and indexing files from ENTP's Tender site.}
23
23
 
24
24
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tendersync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 8
9
+ version: 1.0.8
5
10
  platform: ruby
6
11
  authors:
7
12
  - Bill Kayser
@@ -9,29 +14,37 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-01-20 00:00:00 -08:00
17
+ date: 2010-03-02 00:00:00 -08:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: mechanize
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 9
30
+ - 3
23
31
  version: 0.9.3
24
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: newgem
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
30
38
  requirements:
31
39
  - - ">="
32
40
  - !ruby/object:Gem::Version
41
+ segments:
42
+ - 1
43
+ - 5
44
+ - 2
33
45
  version: 1.5.2
34
- version:
46
+ type: :development
47
+ version_requirements: *id002
35
48
  description: |
36
49
  Tendersync is a utility for syncing files from ENTP's Tender site for managing customer facing documentation. It can be used to pull and push documents to a local repository as well as create indexes for each documentation section.
37
50
 
@@ -72,12 +85,12 @@ files:
72
85
  - spec/tendersync_session_spec.rb
73
86
  - spec/tendersync_spec.rb
74
87
  - tasks/rspec.rake
88
+ - tendersync.gemspec
75
89
  - website/index.html
76
90
  - website/index.txt
77
91
  - website/javascripts/rounded_corners_lite.inc.js
78
92
  - website/stylesheets/screen.css
79
93
  - website/template.html.erb
80
- - tendersync.gemspec
81
94
  has_rdoc: true
82
95
  homepage: http://www.github.com/newrelic/tendersync
83
96
  licenses: []
@@ -96,18 +109,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
109
  requirements:
97
110
  - - ">="
98
111
  - !ruby/object:Gem::Version
112
+ segments:
113
+ - 0
99
114
  version: "0"
100
- version:
101
115
  required_rubygems_version: !ruby/object:Gem::Requirement
102
116
  requirements:
103
117
  - - ">="
104
118
  - !ruby/object:Gem::Version
119
+ segments:
120
+ - 1
121
+ - 2
105
122
  version: "1.2"
106
- version:
107
123
  requirements: []
108
124
 
109
125
  rubyforge_project: newrelic
110
- rubygems_version: 1.3.5
126
+ rubygems_version: 1.3.6
111
127
  signing_key:
112
128
  specification_version: 3
113
129
  summary: Utility for syncing and indexing files from ENTP's Tender site.