Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

prepare for deploy

  • Loading branch information...
commit 2bfd5cb4a12b68a352a0b0191f831845c65b84e2 1 parent c1f5a87
@siuying authored
View
2  Gemfile.lock
@@ -1,7 +1,7 @@
GEM
remote: http://rubygems.org/
specs:
- mime-types (1.16)
+ mime-types (1.17.2)
rest-client (1.6.7)
mime-types (>= 1.16)
View
22 LICENSE
@@ -0,0 +1,22 @@
+The MIT License
+
+Copyright (c) 2012 Francis Chong.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
27 README.md
@@ -0,0 +1,27 @@
+# itunes_ingestion
+
+A Ruby client library for fetching and downloading iTunes Connect sales report.
+
+## A note about versions
+
+Versions *0.3.x* is a breaking change, please update code that based on pre 0.3.x versions.
+
+## Getting started
+
+To fetch report, use following code:
+
+ require "itunes_ingestion"
+
+ fetcher = ITunesIngestion::Fetcher.new("username", "password", "vadnumber")
+ report_data = fetcher.fetch("20120202")
+
+To parse fetched report, use following code:
+
+ require "itunes_ingestion"
+
+ report = ITunesIngestion::SalesReportParser.parse(report_data)
+
+## Copyright
+
+Copyright (c) 2012 Francis Chong. See LICENSE for details.
+
View
0  README.rdoc
No changes.
View
2  VERSION
@@ -1 +1 @@
-0.2.1
+0.3.0
View
16 itunes_ingestion.gemspec
@@ -5,28 +5,32 @@
Gem::Specification.new do |s|
s.name = "itunes_ingestion"
- s.version = "0.2.1"
+ s.version = "0.3.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Francis Chong"]
s.date = "2012-02-02"
s.description = "A simple port of Apple itunes Autoingestion tool to ruby."
s.email = "francis@ignition.hk"
- s.extra_rdoc_files = [
- "README.rdoc"
- ]
s.files = [
"Gemfile",
"Gemfile.lock",
- "README.rdoc",
+ "LICENSE",
+ "README.md",
"Rakefile",
"VERSION",
- "lib/itunes_ingestion.rb"
+ "lib/itunes_ingestion.rb",
+ "lib/itunes_ingestion/fetcher.rb",
+ "lib/itunes_ingestion/sales_report_parser.rb",
+ "spec/fetcher_spec.rb",
+ "spec/fixtures/report.txt",
+ "spec/sales_report_parser_spec.rb"
]
s.homepage = "http://github.com/siuying/itunes-auto-ingestion"
s.require_paths = ["lib"]
s.rubygems_version = "1.8.10"
s.summary = "A simple port of Apple itunes Autoingestion tool to ruby."
+ s.test_files = ["spec/fetcher_spec.rb", "spec/fixtures", "spec/fixtures/report.txt", "spec/sales_report_parser_spec.rb"]
if s.respond_to? :specification_version then
s.specification_version = 3
View
0  spec/report/report.txt → spec/fixtures/report.txt
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.