tendersync 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.0.3 2009-08-20
2
+
3
+ * Fixed problem pulling individual urls
4
+
1
5
  == 1.0.2 2009-08-15
2
6
 
3
7
  * Fixed some bugs in posting
@@ -97,7 +97,7 @@ class Tendersync::Runner
97
97
  @args.each do |url|
98
98
  section = url =~ /\/faqs\/([^\/]*)\// && $1
99
99
  raise Error, "Invalid URI for document: #{url}" if section.nil?
100
- doc = Document.from_form(section, $session.edit_page_for(url).form_with(:action => /edit/))
100
+ doc = Tendersync::Document.from_form(section, $session.edit_page_for(url).form_with(:action => /edit/))
101
101
  puts " #{doc.permalink}"
102
102
  doc.save unless $dry_run
103
103
  end
@@ -11,7 +11,7 @@ class Tendersync::Session
11
11
 
12
12
  def login
13
13
  return if @logged_in
14
- puts "logging in as #{@username}..."
14
+ puts "logging in to #{@login_site} as #{@username}..."
15
15
  page = @agent.get(@login_site)
16
16
  f = page.form_with(:action => '/login') do | login_form |
17
17
  login_form['email'] = @username
data/lib/tendersync.rb CHANGED
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module Tendersync
5
- VERSION = '1.0.2'
5
+ VERSION = '1.0.3'
6
6
  end
data/tendersync.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{tendersync}
5
- s.version = "1.0.2"
5
+ s.version = "1.0.3"
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{2009-08-15}
9
+ s.date = %q{2009-08-20}
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
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tendersync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bill Kayser
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-15 00:00:00 -07:00
12
+ date: 2009-08-20 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency