harvest_to_infakt 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem 'httparty'
4
+ gem 'crack'
5
+ gem 'fastercsv'
6
+
7
+ group :development do
8
+ gem "shoulda", ">= 0"
9
+ gem "bundler", "~> 1.0.0"
10
+ gem "jeweler", "~> 1.5.2"
11
+ gem "rcov", ">= 0"
12
+ end
@@ -0,0 +1,27 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ crack (0.1.8)
5
+ fastercsv (1.5.4)
6
+ git (1.2.5)
7
+ httparty (0.7.3)
8
+ crack (= 0.1.8)
9
+ jeweler (1.5.2)
10
+ bundler (~> 1.0.0)
11
+ git (>= 1.2.5)
12
+ rake
13
+ rake (0.8.7)
14
+ rcov (0.9.9)
15
+ shoulda (2.11.3)
16
+
17
+ PLATFORMS
18
+ ruby
19
+
20
+ DEPENDENCIES
21
+ bundler (~> 1.0.0)
22
+ crack
23
+ fastercsv
24
+ httparty
25
+ jeweler (~> 1.5.2)
26
+ rcov
27
+ shoulda
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Michał Szajbe
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,26 @@
1
+ = harvest_to_infakt
2
+
3
+ HarvestApp to Infakt bridge.
4
+
5
+ == Usage
6
+
7
+ gem install harvest_to_infakt
8
+
9
+ harvest_to_infakt
10
+
11
+
12
+ == Contributing to harvest_to_infakt
13
+
14
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
15
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
16
+ * Fork the project
17
+ * Start a feature/bugfix branch
18
+ * Commit and push until you are happy with your contribution
19
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
20
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
21
+
22
+ == Copyright
23
+
24
+ Copyright (c) 2011 Michał Szajbe. See LICENSE.txt for
25
+ further details.
26
+
@@ -0,0 +1,53 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'rake'
11
+
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "harvest_to_infakt"
16
+ gem.homepage = "http://github.com/monterail/harvest_to_infakt"
17
+ gem.license = "MIT"
18
+ gem.summary = %Q{Select invoice created in HarvestApp, select client defined in Infakt. Watch the invoice get created at Infakt.}
19
+ gem.description = %Q{HarvestApp to Infakt bridge}
20
+ gem.email = "michal.szajbe@gmail.com"
21
+ gem.authors = ["Michał Szajbe"]
22
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
23
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
+ # gem.add_runtime_dependency 'jabber4r', '> 0.1'
25
+ # gem.add_development_dependency 'rspec', '> 1.2.3'
26
+ end
27
+ Jeweler::RubygemsDotOrgTasks.new
28
+
29
+ require 'rake/testtask'
30
+ Rake::TestTask.new(:test) do |test|
31
+ test.libs << 'lib' << 'test'
32
+ test.pattern = 'test/**/test_*.rb'
33
+ test.verbose = true
34
+ end
35
+
36
+ require 'rcov/rcovtask'
37
+ Rcov::RcovTask.new do |test|
38
+ test.libs << 'test'
39
+ test.pattern = 'test/**/test_*.rb'
40
+ test.verbose = true
41
+ end
42
+
43
+ task :default => :test
44
+
45
+ require 'rake/rdoctask'
46
+ Rake::RDocTask.new do |rdoc|
47
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
+
49
+ rdoc.rdoc_dir = 'rdoc'
50
+ rdoc.title = "harvest_to_infakt #{version}"
51
+ rdoc.rdoc_files.include('README*')
52
+ rdoc.rdoc_files.include('lib/**/*.rb')
53
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.1
@@ -0,0 +1,79 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{harvest_to_infakt}
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Micha\305\202 Szajbe"]
12
+ s.date = %q{2011-02-12}
13
+ s.description = %q{HarvestApp to Infakt bridge}
14
+ s.email = %q{michal.szajbe@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ "Gemfile",
22
+ "Gemfile.lock",
23
+ "LICENSE.txt",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "harvest_to_infakt.gemspec",
28
+ "lib/harvest_to_infakt.rb",
29
+ "lib/harvest_to_infakt/configuration.rb",
30
+ "lib/harvest_to_infakt/error.rb",
31
+ "lib/harvest_to_infakt/harvest/client.rb",
32
+ "lib/harvest_to_infakt/harvest/invoice.rb",
33
+ "lib/harvest_to_infakt/infakt/client.rb",
34
+ "lib/harvest_to_infakt/infakt/invoice.rb",
35
+ "lib/harvest_to_infakt/resource.rb",
36
+ "test/helper.rb",
37
+ "test/test_harvest_to_infakt.rb"
38
+ ]
39
+ s.homepage = %q{http://github.com/monterail/harvest_to_infakt}
40
+ s.licenses = ["MIT"]
41
+ s.require_paths = ["lib"]
42
+ s.rubygems_version = %q{1.4.0}
43
+ s.summary = %q{Select invoice created in HarvestApp, select client defined in Infakt. Watch the invoice get created at Infakt.}
44
+ s.test_files = [
45
+ "test/helper.rb",
46
+ "test/test_harvest_to_infakt.rb"
47
+ ]
48
+
49
+ if s.respond_to? :specification_version then
50
+ s.specification_version = 3
51
+
52
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
+ s.add_runtime_dependency(%q<httparty>, [">= 0"])
54
+ s.add_runtime_dependency(%q<crack>, [">= 0"])
55
+ s.add_runtime_dependency(%q<fastercsv>, [">= 0"])
56
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
57
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
58
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
59
+ s.add_development_dependency(%q<rcov>, [">= 0"])
60
+ else
61
+ s.add_dependency(%q<httparty>, [">= 0"])
62
+ s.add_dependency(%q<crack>, [">= 0"])
63
+ s.add_dependency(%q<fastercsv>, [">= 0"])
64
+ s.add_dependency(%q<shoulda>, [">= 0"])
65
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
66
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
67
+ s.add_dependency(%q<rcov>, [">= 0"])
68
+ end
69
+ else
70
+ s.add_dependency(%q<httparty>, [">= 0"])
71
+ s.add_dependency(%q<crack>, [">= 0"])
72
+ s.add_dependency(%q<fastercsv>, [">= 0"])
73
+ s.add_dependency(%q<shoulda>, [">= 0"])
74
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
75
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
76
+ s.add_dependency(%q<rcov>, [">= 0"])
77
+ end
78
+ end
79
+
@@ -0,0 +1,31 @@
1
+ require 'readline'
2
+ require 'yaml'
3
+ require 'httparty'
4
+ require 'crack'
5
+ require 'fastercsv'
6
+
7
+ require 'harvest_to_infakt/configuration'
8
+ require 'harvest_to_infakt/error'
9
+ require 'harvest_to_infakt/resource'
10
+ require 'harvest_to_infakt/harvest/client'
11
+ require 'harvest_to_infakt/harvest/invoice'
12
+ require 'harvest_to_infakt/infakt/client'
13
+ require 'harvest_to_infakt/infakt/invoice'
14
+
15
+ module HarvestToInfakt
16
+ class << self
17
+ attr_accessor :configuration
18
+
19
+ def configure
20
+ self.configuration ||= Configuration.new
21
+ yield(configuration)
22
+
23
+ HarvestToInfakt::Harvest::Invoice.class_eval do
24
+ base_uri "#{HarvestToInfakt.configuration.harvest[:subdomain]}.harvestapp.com"
25
+ end
26
+ HarvestToInfakt::Harvest::Client.class_eval do
27
+ base_uri "#{HarvestToInfakt.configuration.harvest[:subdomain]}.harvestapp.com"
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,4 @@
1
+ module HarvestToInfakt
2
+ class Configuration < Struct.new(:harvest, :infakt)
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module HarvestToInfakt
2
+ class Error < ::StandardError
3
+ end
4
+ end
@@ -0,0 +1,34 @@
1
+ module HarvestToInfakt
2
+ module Harvest
3
+ class Client < HarvestToInfakt::Resource
4
+ base_uri ''
5
+
6
+ class << self
7
+ def basic_auth_options
8
+ { :username => HarvestToInfakt.configuration.harvest[:username], :password => HarvestToInfakt.configuration.harvest[:password]}
9
+ end
10
+
11
+ def all
12
+ @all ||= fetch_all
13
+ end
14
+
15
+ def find(id)
16
+ @find ||= all.inject({}) do |hash, client|
17
+ hash[client.id.to_s] = client
18
+ hash
19
+ end
20
+ @find[id.to_s]
21
+ end
22
+
23
+ def fetch_all
24
+ response = get('/clients.xml', :basic_auth => basic_auth_options)
25
+
26
+ response.parsed_response['clients'].inject([]) do |invoices, data|
27
+ invoices << new(data)
28
+ invoices
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,85 @@
1
+ module HarvestToInfakt
2
+ module Harvest
3
+ class Invoice < HarvestToInfakt::Resource
4
+ base_uri ''
5
+
6
+ class << self
7
+ def basic_auth_options
8
+ { :username => HarvestToInfakt.configuration.harvest[:username], :password => HarvestToInfakt.configuration.harvest[:password]}
9
+ end
10
+
11
+ def all
12
+ @all ||= fetch_all
13
+ end
14
+
15
+ def find(id)
16
+ @find ||= {}
17
+ @find[id.to_s] ||= fetch_one(id)
18
+ end
19
+
20
+ def fetch_all
21
+ response = get('/invoices.xml', :basic_auth => basic_auth_options)
22
+
23
+ response.parsed_response['invoices'].inject([]) do |invoices, data|
24
+ invoices << new(data)
25
+ invoices
26
+ end
27
+ end
28
+
29
+ def fetch_one(id)
30
+ response = get("/invoices/#{id}.xml", :basic_auth => basic_auth_options)
31
+ new(response.parsed_response['invoice'])
32
+ end
33
+ end
34
+
35
+ def initialize(data)
36
+ @data = data
37
+
38
+ if @data['csv_line_items']
39
+ csv_line_items = FasterCSV.parse(@data['csv_line_items'])
40
+ keys = csv_line_items.shift
41
+
42
+ @data['items'] = csv_line_items.inject([]) do |items, array|
43
+ item = {}
44
+ keys.each do |key|
45
+ item[key] = array.shift
46
+ end
47
+ items << item
48
+ end
49
+
50
+ @data.delete('csv_line_items')
51
+ end
52
+ end
53
+
54
+ def client
55
+ Client.find(client_id)
56
+ end
57
+
58
+ def to_infakt
59
+ now = Time.now
60
+ data = {
61
+ 'zaplacono' => 0,
62
+ 'waluta' => 'PLN',
63
+ 'uwagi' => '',
64
+ 'data_wystawienia' => now.strftime("%Y-%m-%d"),
65
+ 'data_sprzedazy' => now.strftime("%Y-%m-%d"),
66
+ 'rodzaj_faktury' => 'Faktura VAT',
67
+ 'termin_zaplaty' => (now + 2*7*24*60*60).strftime("%Y-%m-%d") # +2 weeks
68
+ }
69
+ data['services'] = items.inject([]) do |items, item|
70
+ hash = {
71
+ 'symbol' => '',
72
+ 'nazwa' => item['description'].sub(/(\[.+\].+) - (\d{4}\/\d{2}\/\d{2}) - (.+):/, "#{$3}:"),
73
+ 'ilosc' => item['quantity'].to_f,
74
+ 's_vat' => 23,
75
+ 'cena_netto' => item['unit_price'].to_f,
76
+ 'jm' => '1 godz.'
77
+ }
78
+ items << hash
79
+ items
80
+ end
81
+ HarvestToInfakt::Infakt::Invoice.new(data)
82
+ end
83
+ end
84
+ end
85
+ end
@@ -0,0 +1,34 @@
1
+ module HarvestToInfakt
2
+ module Infakt
3
+ class Client < HarvestToInfakt::Resource
4
+ base_uri 'www.infakt.pl'
5
+
6
+ class << self
7
+ def basic_auth_options
8
+ { :username => HarvestToInfakt.configuration.infakt[:username], :password => HarvestToInfakt.configuration.infakt[:password] + HarvestToInfakt.configuration.infakt[:api_key]}
9
+ end
10
+
11
+ def all
12
+ @all ||= fetch_all
13
+ end
14
+
15
+ def find(id)
16
+ @find ||= all.inject({}) do |hash, client|
17
+ hash[client.id.to_s] = client
18
+ hash
19
+ end
20
+ @find[id.to_s]
21
+ end
22
+
23
+ def fetch_all
24
+ response = get('/api/clients.xml', :basic_auth => basic_auth_options)
25
+
26
+ response.parsed_response['clients'].inject([]) do |invoices, data|
27
+ invoices << new(data)
28
+ invoices
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,22 @@
1
+ module HarvestToInfakt
2
+ module Infakt
3
+ class Invoice < HarvestToInfakt::Resource
4
+ base_uri 'www.infakt.pl'
5
+
6
+ class << self
7
+ def basic_auth_options
8
+ { :username => HarvestToInfakt.configuration.infakt[:username], :password => HarvestToInfakt.configuration.infakt[:password] + HarvestToInfakt.configuration.infakt[:api_key]}
9
+ end
10
+ end
11
+
12
+ def save
13
+ response = self.class.post('/api/invoices.xml', :basic_auth => self.class.basic_auth_options, :body => { :invoice => @data })
14
+ if response.code == 200
15
+ @data = response.parsed_response['zal_invoice']
16
+ else
17
+ raise HarvestToInfakt::Error.new('Save failed.')
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,23 @@
1
+ module HarvestToInfakt
2
+ class Resource
3
+ include HTTParty
4
+
5
+ def initialize(data)
6
+ @data = data
7
+ end
8
+
9
+ def id
10
+ @data['id']
11
+ end
12
+
13
+ def method_missing(m, *args)
14
+ if m.to_s =~ /(.+)=$/
15
+ @data[$1] = args.first
16
+ elsif @data.has_key?(m.to_s)
17
+ @data[m.to_s]
18
+ else
19
+ super
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'test/unit'
11
+ require 'shoulda'
12
+
13
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
15
+ require 'harvest_to_infakt'
16
+
17
+ class Test::Unit::TestCase
18
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestHarvestToInfakt < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,187 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: harvest_to_infakt
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 1
10
+ version: 0.1.1
11
+ platform: ruby
12
+ authors:
13
+ - "Micha\xC5\x82 Szajbe"
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-02-12 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ hash: 3
28
+ segments:
29
+ - 0
30
+ version: "0"
31
+ requirement: *id001
32
+ prerelease: false
33
+ name: httparty
34
+ type: :runtime
35
+ - !ruby/object:Gem::Dependency
36
+ version_requirements: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ hash: 3
42
+ segments:
43
+ - 0
44
+ version: "0"
45
+ requirement: *id002
46
+ prerelease: false
47
+ name: crack
48
+ type: :runtime
49
+ - !ruby/object:Gem::Dependency
50
+ version_requirements: &id003 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ hash: 3
56
+ segments:
57
+ - 0
58
+ version: "0"
59
+ requirement: *id003
60
+ prerelease: false
61
+ name: fastercsv
62
+ type: :runtime
63
+ - !ruby/object:Gem::Dependency
64
+ version_requirements: &id004 !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ hash: 3
70
+ segments:
71
+ - 0
72
+ version: "0"
73
+ requirement: *id004
74
+ prerelease: false
75
+ name: shoulda
76
+ type: :development
77
+ - !ruby/object:Gem::Dependency
78
+ version_requirements: &id005 !ruby/object:Gem::Requirement
79
+ none: false
80
+ requirements:
81
+ - - ~>
82
+ - !ruby/object:Gem::Version
83
+ hash: 23
84
+ segments:
85
+ - 1
86
+ - 0
87
+ - 0
88
+ version: 1.0.0
89
+ requirement: *id005
90
+ prerelease: false
91
+ name: bundler
92
+ type: :development
93
+ - !ruby/object:Gem::Dependency
94
+ version_requirements: &id006 !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ~>
98
+ - !ruby/object:Gem::Version
99
+ hash: 7
100
+ segments:
101
+ - 1
102
+ - 5
103
+ - 2
104
+ version: 1.5.2
105
+ requirement: *id006
106
+ prerelease: false
107
+ name: jeweler
108
+ type: :development
109
+ - !ruby/object:Gem::Dependency
110
+ version_requirements: &id007 !ruby/object:Gem::Requirement
111
+ none: false
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ hash: 3
116
+ segments:
117
+ - 0
118
+ version: "0"
119
+ requirement: *id007
120
+ prerelease: false
121
+ name: rcov
122
+ type: :development
123
+ description: HarvestApp to Infakt bridge
124
+ email: michal.szajbe@gmail.com
125
+ executables: []
126
+
127
+ extensions: []
128
+
129
+ extra_rdoc_files:
130
+ - LICENSE.txt
131
+ - README.rdoc
132
+ files:
133
+ - .document
134
+ - Gemfile
135
+ - Gemfile.lock
136
+ - LICENSE.txt
137
+ - README.rdoc
138
+ - Rakefile
139
+ - VERSION
140
+ - harvest_to_infakt.gemspec
141
+ - lib/harvest_to_infakt.rb
142
+ - lib/harvest_to_infakt/configuration.rb
143
+ - lib/harvest_to_infakt/error.rb
144
+ - lib/harvest_to_infakt/harvest/client.rb
145
+ - lib/harvest_to_infakt/harvest/invoice.rb
146
+ - lib/harvest_to_infakt/infakt/client.rb
147
+ - lib/harvest_to_infakt/infakt/invoice.rb
148
+ - lib/harvest_to_infakt/resource.rb
149
+ - test/helper.rb
150
+ - test/test_harvest_to_infakt.rb
151
+ has_rdoc: true
152
+ homepage: http://github.com/monterail/harvest_to_infakt
153
+ licenses:
154
+ - MIT
155
+ post_install_message:
156
+ rdoc_options: []
157
+
158
+ require_paths:
159
+ - lib
160
+ required_ruby_version: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ hash: 3
166
+ segments:
167
+ - 0
168
+ version: "0"
169
+ required_rubygems_version: !ruby/object:Gem::Requirement
170
+ none: false
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ hash: 3
175
+ segments:
176
+ - 0
177
+ version: "0"
178
+ requirements: []
179
+
180
+ rubyforge_project:
181
+ rubygems_version: 1.4.0
182
+ signing_key:
183
+ specification_version: 3
184
+ summary: Select invoice created in HarvestApp, select client defined in Infakt. Watch the invoice get created at Infakt.
185
+ test_files:
186
+ - test/helper.rb
187
+ - test/test_harvest_to_infakt.rb