harvestthings 1.0.0 → 1.0.1
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/.gitignore +2 -1
- data/README.mdown +3 -6
- data/Rakefile +1 -0
- data/VERSION.yml +5 -0
- data/harvestthings.gemspec +8 -4
- data/lib/harvestthings/harvest.rb +1 -1
- data/lib/harvestthings.rb +0 -2
- data/pkg/harvestthings-1.0.0.gem +0 -0
- metadata +15 -5
- data/VERSION +0 -1
data/.gitignore
CHANGED
data/README.mdown
CHANGED
|
@@ -37,17 +37,14 @@ Things represent "clients" in Harvest. Projects in Things are projects in
|
|
|
37
37
|
Harvest. Tasks belong to projects whether in Things or Harvest. The image
|
|
38
38
|
below shows how these three items match up.
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
The QUnit overlay looks like this in the browser:
|
|
42
|
-
|
|
43
40
|
[](http://img.skitch.com/20091125-jptpbxfbcg4irp81ytnwf3fkxf.jpg)
|
|
44
41
|
|
|
45
42
|
|
|
46
43
|
Requirements
|
|
47
44
|
=======
|
|
48
45
|
|
|
49
|
-
The HarvestThings
|
|
50
|
-
the API calls:
|
|
46
|
+
The HarvestThings Ruby Gem requires a few other gems and libraries in order to make
|
|
47
|
+
the API calls (other gems are not listed as dependents):
|
|
51
48
|
|
|
52
49
|
* hpricot
|
|
53
50
|
* net/http
|
|
@@ -61,7 +58,7 @@ the API calls:
|
|
|
61
58
|
|
|
62
59
|
Usage
|
|
63
60
|
=====
|
|
64
|
-
as a
|
|
61
|
+
as a Ruby Gem
|
|
65
62
|
|
|
66
63
|
|
|
67
64
|
rquire rubygems
|
data/Rakefile
CHANGED
|
@@ -11,6 +11,7 @@ begin
|
|
|
11
11
|
gemspec.email = "mike@mikekrisher.com"
|
|
12
12
|
gemspec.homepage = "http://github.com/mkrisher/HarvestThings"
|
|
13
13
|
gemspec.authors = ["Michael Krisher"]
|
|
14
|
+
gemspec.add_dependency('hpricot', '>= 0.8.1')
|
|
14
15
|
end
|
|
15
16
|
rescue LoadError
|
|
16
17
|
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
data/VERSION.yml
ADDED
data/harvestthings.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{harvestthings}
|
|
8
|
-
s.version = "1.0.
|
|
8
|
+
s.version = "1.0.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Michael Krisher"]
|
|
12
|
-
s.date = %q{2009-12-
|
|
12
|
+
s.date = %q{2009-12-12}
|
|
13
13
|
s.description = %q{harvestthings will sync your clients, projects, and tasks between Things and Harvest, where areas in Things correspond to clients in Harvest}
|
|
14
14
|
s.email = %q{mike@mikekrisher.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
|
21
21
|
"README.mdown",
|
|
22
22
|
"Rakefile",
|
|
23
23
|
"TODO",
|
|
24
|
-
"VERSION",
|
|
24
|
+
"VERSION.yml",
|
|
25
25
|
"harvestthings.gemspec",
|
|
26
26
|
"lib/harvestthings.rb",
|
|
27
27
|
"lib/harvestthings/application.rb",
|
|
@@ -30,7 +30,8 @@ Gem::Specification.new do |s|
|
|
|
30
30
|
"lib/harvestthings/things.rb",
|
|
31
31
|
"lib/harvestthings/things/projects.rb",
|
|
32
32
|
"lib/harvestthings/things/tasks.rb",
|
|
33
|
-
"pkg/harvestthings-0.1.0.gem"
|
|
33
|
+
"pkg/harvestthings-0.1.0.gem",
|
|
34
|
+
"pkg/harvestthings-1.0.0.gem"
|
|
34
35
|
]
|
|
35
36
|
s.homepage = %q{http://github.com/mkrisher/HarvestThings}
|
|
36
37
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
@@ -43,9 +44,12 @@ Gem::Specification.new do |s|
|
|
|
43
44
|
s.specification_version = 3
|
|
44
45
|
|
|
45
46
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
47
|
+
s.add_runtime_dependency(%q<hpricot>, [">= 0.8.1"])
|
|
46
48
|
else
|
|
49
|
+
s.add_dependency(%q<hpricot>, [">= 0.8.1"])
|
|
47
50
|
end
|
|
48
51
|
else
|
|
52
|
+
s.add_dependency(%q<hpricot>, [">= 0.8.1"])
|
|
49
53
|
end
|
|
50
54
|
end
|
|
51
55
|
|
|
@@ -19,7 +19,7 @@ require 'time'
|
|
|
19
19
|
class Harvest
|
|
20
20
|
|
|
21
21
|
# define Harvest config file path
|
|
22
|
-
CONFIG_PATH = File.join(
|
|
22
|
+
CONFIG_PATH = File.join(%x[echo ~].chomp, ".harvestthingsrc")
|
|
23
23
|
|
|
24
24
|
def initialize
|
|
25
25
|
generate_config unless File.exists?(CONFIG_PATH)
|
data/lib/harvestthings.rb
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: harvestthings
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Krisher
|
|
@@ -9,10 +9,19 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-12-
|
|
12
|
+
date: 2009-12-12 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
|
-
dependencies:
|
|
15
|
-
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: hpricot
|
|
17
|
+
type: :runtime
|
|
18
|
+
version_requirement:
|
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
- - ">="
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: 0.8.1
|
|
24
|
+
version:
|
|
16
25
|
description: harvestthings will sync your clients, projects, and tasks between Things and Harvest, where areas in Things correspond to clients in Harvest
|
|
17
26
|
email: mike@mikekrisher.com
|
|
18
27
|
executables: []
|
|
@@ -27,7 +36,7 @@ files:
|
|
|
27
36
|
- README.mdown
|
|
28
37
|
- Rakefile
|
|
29
38
|
- TODO
|
|
30
|
-
- VERSION
|
|
39
|
+
- VERSION.yml
|
|
31
40
|
- harvestthings.gemspec
|
|
32
41
|
- lib/harvestthings.rb
|
|
33
42
|
- lib/harvestthings/application.rb
|
|
@@ -37,6 +46,7 @@ files:
|
|
|
37
46
|
- lib/harvestthings/things/projects.rb
|
|
38
47
|
- lib/harvestthings/things/tasks.rb
|
|
39
48
|
- pkg/harvestthings-0.1.0.gem
|
|
49
|
+
- pkg/harvestthings-1.0.0.gem
|
|
40
50
|
has_rdoc: true
|
|
41
51
|
homepage: http://github.com/mkrisher/HarvestThings
|
|
42
52
|
licenses: []
|
data/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.0
|