freckly 0.0.0 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_DISABLE_SHARED_GEMS: "1"
data/.gitignore CHANGED
@@ -19,3 +19,4 @@ rdoc
19
19
  pkg
20
20
 
21
21
  ## PROJECT::SPECIFIC
22
+ demo/**
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --profile
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "http://rubygems.org"
2
+
3
+ gemspec
@@ -0,0 +1,50 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ freckly (0.0.2)
5
+ faraday (~> 0.5.3)
6
+ faraday_middleware (~> 0.2.1)
7
+ hashie (~> 0.4.0)
8
+ multi_xml (~> 0.2.0)
9
+
10
+ GEM
11
+ remote: http://rubygems.org/
12
+ specs:
13
+ addressable (2.2.2)
14
+ crack (0.1.8)
15
+ diff-lcs (1.1.2)
16
+ faraday (0.5.3)
17
+ addressable (~> 2.2.2)
18
+ multipart-post (~> 1.0.1)
19
+ rack (>= 1.1.0, < 2)
20
+ faraday_middleware (0.2.1)
21
+ faraday (~> 0.5.1)
22
+ hashie (0.4.0)
23
+ multi_xml (0.2.0)
24
+ multipart-post (1.0.1)
25
+ rack (1.2.1)
26
+ rake (0.8.7)
27
+ rspec (2.1.0)
28
+ rspec-core (~> 2.1.0)
29
+ rspec-expectations (~> 2.1.0)
30
+ rspec-mocks (~> 2.1.0)
31
+ rspec-core (2.1.0)
32
+ rspec-expectations (2.1.0)
33
+ diff-lcs (~> 1.1.2)
34
+ rspec-mocks (2.1.0)
35
+ webmock (1.6.1)
36
+ addressable (>= 2.2.2)
37
+ crack (>= 0.1.7)
38
+
39
+ PLATFORMS
40
+ ruby
41
+
42
+ DEPENDENCIES
43
+ faraday (~> 0.5.3)
44
+ faraday_middleware (~> 0.2.1)
45
+ freckly!
46
+ hashie (~> 0.4.0)
47
+ multi_xml (~> 0.2.0)
48
+ rake (~> 0.8.7)
49
+ rspec (~> 2.1.0)
50
+ webmock (~> 1.6.1)
@@ -0,0 +1,67 @@
1
+ # Freckly
2
+
3
+ We built this gem for http://github.com/railslove/Freckly-App
4
+
5
+ NOTE: It is currently missing quite a few API calls
6
+
7
+ ## How To Install
8
+
9
+ sudo gem install freckly
10
+
11
+ ## Example
12
+
13
+ require 'rubygems'
14
+ require 'freckly'
15
+
16
+ Freckly.token = "token_from_freckly"
17
+ Freckly.subdomain = "my_subdomain"
18
+
19
+ # Get all projects
20
+ projects = Freckly::Project.all
21
+
22
+ # Get all time entries for a project
23
+ projects.first.entries
24
+
25
+ # If you know the ID of a project
26
+ Freckly::Entry.all(:projects => 123)
27
+
28
+ # Want the entries of a list of projects
29
+ Freckly::Entry.all(:projects => %w{123 456 789})
30
+
31
+ # You can pass any of the options from http://github.com/madrobby/freckle-apidocs/blob/master/entries.mkdn
32
+ Freckly::Entry.find_all_for_project(123, :billable => true, :tags => "fun")
33
+
34
+ ## Note on Patches/Pull Requests
35
+
36
+ * Fork the project.
37
+ * Create a feature branch
38
+ * Make your feature addition or bug fix.
39
+ * Add tests.
40
+ * Commit, do not mess with RakeFile, version, or history.
41
+ * Send me a pull request.
42
+
43
+ ## Copyright
44
+
45
+ Copyright (c) 2010 Red Davis.
46
+
47
+ ## License
48
+
49
+ The MIT License
50
+
51
+ Permission is hereby granted, free of charge, to any person obtaining a copy
52
+ of this software and associated documentation files (the "Software"), to deal
53
+ in the Software without restriction, including without limitation the rights
54
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
55
+ copies of the Software, and to permit persons to whom the Software is
56
+ furnished to do so, subject to the following conditions:
57
+
58
+ The above copyright notice and this permission notice shall be included in
59
+ all copies or substantial portions of the Software.
60
+
61
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
62
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
63
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
64
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
65
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
66
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
67
+ THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,31 +1,9 @@
1
- require 'rubygems'
2
- require 'rake'
1
+ require 'bundler'
2
+ require 'rspec/core/rake_task'
3
3
 
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "freckly"
8
- gem.summary = %Q{Freckle Gem}
9
- gem.description = %Q{Freckle Gem}
10
- gem.email = "reddavis@gmail.com"
11
- gem.homepage = "http://github.com/reddavis/freckly"
12
- gem.authors = ["reddavis"]
13
- gem.add_development_dependency("rspec", "~> 1.3.0")
14
- gem.add_runtime_dependency("faraday", "~> 0.4.6")
15
- gem.add_runtime_dependency("faraday_middleware", "~> 0.1.0")
16
- gem.add_runtime_dependency("multi_xml", "~> 0.0.1")
17
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
18
- end
19
- Jeweler::GemcutterTasks.new
20
- rescue LoadError
21
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
22
- end
4
+ Bundler::GemHelper.install_tasks
23
5
 
24
- require 'spec/rake/spectask'
25
- Spec::Rake::SpecTask.new do |t|
26
- t.ruby_opts = ["-I spec/", "-rubygems"]
27
- puts FileList['spec/**/*_spec.rb'].inspect
28
- t.spec_files = FileList['spec/**/*_spec.rb']
29
- end
6
+ desc "Run specs"
7
+ RSpec::Core::RakeTask.new
30
8
 
31
9
  task :default => :spec
@@ -1,73 +1,30 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
1
  # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "freckly/version"
5
4
 
6
5
  Gem::Specification.new do |s|
7
- s.name = %q{freckly}
8
- s.version = "0.0.0"
6
+ s.name = "freckly"
7
+ s.version = Freckly::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Red Davis"]
10
+ s.email = ["red@railslove.com"]
11
+ s.homepage = "http://rubygems.org/gems/freckly"
12
+ s.summary = %q{Wrapper for Freckle}
13
+ s.description = %q{Wrapper for Freckle}
9
14
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["reddavis"]
12
- s.date = %q{2010-10-04}
13
- s.description = %q{Freckle Gem}
14
- s.email = %q{reddavis@gmail.com}
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "freckly.gemspec",
27
- "lib/freckly.rb",
28
- "lib/freckly/entry.rb",
29
- "lib/freckly/faraday/parse_xml.rb",
30
- "lib/freckly/project.rb",
31
- "spec/fixtures/entries.xml",
32
- "spec/fixtures/projects.xml",
33
- "spec/freckly/entry_spec.rb",
34
- "spec/freckly/project_spec.rb",
35
- "spec/freckly_spec.rb",
36
- "spec/spec.opts",
37
- "spec/spec_helper.rb"
38
- ]
39
- s.homepage = %q{http://github.com/reddavis/freckly}
40
- s.rdoc_options = ["--charset=UTF-8"]
41
- s.require_paths = ["lib"]
42
- s.rubygems_version = %q{1.3.6}
43
- s.summary = %q{Freckle Gem}
44
- s.test_files = [
45
- "spec/freckly/entry_spec.rb",
46
- "spec/freckly/project_spec.rb",
47
- "spec/freckly_spec.rb",
48
- "spec/spec_helper.rb"
49
- ]
15
+ s.rubyforge_project = "freckly"
50
16
 
51
- if s.respond_to? :specification_version then
52
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
53
- s.specification_version = 3
17
+ s.add_dependency "faraday", "~> 0.5.3"
18
+ s.add_dependency "faraday_middleware", "~> 0.2.1"
19
+ s.add_dependency "multi_xml", "~> 0.2.0"
20
+ s.add_dependency "hashie", "~> 0.4.0"
54
21
 
55
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
56
- s.add_development_dependency(%q<rspec>, ["~> 1.3.0"])
57
- s.add_runtime_dependency(%q<faraday>, ["~> 0.4.6"])
58
- s.add_runtime_dependency(%q<faraday_middleware>, ["~> 0.1.0"])
59
- s.add_runtime_dependency(%q<multi_xml>, ["~> 0.0.1"])
60
- else
61
- s.add_dependency(%q<rspec>, ["~> 1.3.0"])
62
- s.add_dependency(%q<faraday>, ["~> 0.4.6"])
63
- s.add_dependency(%q<faraday_middleware>, ["~> 0.1.0"])
64
- s.add_dependency(%q<multi_xml>, ["~> 0.0.1"])
65
- end
66
- else
67
- s.add_dependency(%q<rspec>, ["~> 1.3.0"])
68
- s.add_dependency(%q<faraday>, ["~> 0.4.6"])
69
- s.add_dependency(%q<faraday_middleware>, ["~> 0.1.0"])
70
- s.add_dependency(%q<multi_xml>, ["~> 0.0.1"])
71
- end
72
- end
22
+ s.add_development_dependency "rspec", "~> 2.1.0"
23
+ s.add_development_dependency "webmock", "~> 1.6.1"
24
+ s.add_development_dependency "rake", "~> 0.8.7"
73
25
 
26
+ s.files = `git ls-files`.split("\n")
27
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
28
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
29
+ s.require_paths = ["lib"]
30
+ end
@@ -1,6 +1,5 @@
1
1
  $:.unshift(File.expand_path(File.dirname(__FILE__)))
2
2
 
3
- # TODO: use bundler
4
3
  # Gems
5
4
  require "faraday"
6
5
  require "faraday_middleware"
@@ -1,8 +1,21 @@
1
1
  module Freckly
2
2
  class Entry
3
3
  class << self
4
- def find_all_for_project(project_ids, options={})
5
- Freckly.authed_get("/api/entries.xml", options.merge(:projects => project_ids))[:entries].map {|entry| new(entry) }
4
+ def all(options={})
5
+ options = commatorize_params(options)
6
+ Freckly.authed_get("/api/entries.xml", options)[:entries].map {|entry| new(entry) }
7
+ end
8
+
9
+ private
10
+
11
+ def commatorize_params(params)
12
+ params.each_pair do |key, value|
13
+ next unless value.is_a?(Array)
14
+
15
+ params[key] = value.join(",")
16
+ end
17
+
18
+ params
6
19
  end
7
20
  end
8
21
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Faraday
4
4
  class Response::ParseXml < Response::Middleware
5
- MultiXml.engine = :rexml
5
+ MultiXml.parser = :rexml
6
6
 
7
7
  def self.register_on_complete(env)
8
8
  env[:response].on_complete do |response|
@@ -0,0 +1,3 @@
1
+ module Freckly
2
+ VERSION = "0.0.2"
3
+ end
@@ -4,37 +4,39 @@ describe Freckly::Entry do
4
4
  before do
5
5
  Freckly.token = "aaa"
6
6
  Freckly.subdomain = "test"
7
- stub_request(:any, /entries.xml/).to_return(:body => fixture("entries.xml"))
7
+ stub_request(:any, /entries/).to_return(:body => fixture("entries.xml"))
8
8
  end
9
9
 
10
10
  describe "Class methods" do
11
- describe "#find" do
11
+ describe "#all" do
12
+ before do
13
+ @response = Freckly::Entry.all(:projects => %w{123 192})
14
+ end
15
+
12
16
  describe "the request" do
13
- before { Freckly::Entry.find_all_for_project(123) }
14
- subject { WebMock }
17
+ subject { WebMock::API }
15
18
 
16
- it { should have_requested(:get, "http://test.letsfreckle.com/api/entries.xml").with(:headers => {"X-FreckleToken" => "aaa"}, :query => {:projects => "123"}) }
19
+ it { should have_requested(:get, "http://test.letsfreckle.com/api/entries.xml").with(:headers => {"X-FreckleToken" => "aaa"}, :query => {:projects => "123,192"}) }
17
20
  end
18
21
 
19
22
  describe "the response" do
20
- before { @response = Freckly::Entry.find_all_for_project(123) }
21
23
  subject { @response }
22
24
 
23
25
  it { should be_a(Array) }
24
26
 
25
- specify { subject.first.should be_a(Freckly::Entry) }
27
+ its(:first) { should be_a(Freckly::Entry) }
26
28
  end
27
29
  end
28
30
  end
29
31
 
30
32
  describe "Initialization" do
31
- before(:all) { @entry = Freckly::Entry.find_all_for_project(123).first }
32
- subject { @entry }
33
-
34
- specify { subject.billable.should be_true }
35
- specify { subject.date.should_not be_nil }
36
- specify { subject.description.should == "freckle restful api test, bulk import" }
37
- specify { subject.id.should == 83601 }
38
- specify { subject.minutes.should == 120 }
33
+ let(:entry) { Freckly::Entry.find_all_for_project(123).first }
34
+ subject { entry }
35
+
36
+ its(:billable) { should be_true }
37
+ its(:date) { should_not be_nil }
38
+ its(:description) { should == "freckle restful api test, bulk import" }
39
+ its(:id) { should == 83601 }
40
+ its(:minutes) { should == 120 }
39
41
  end
40
42
  end
@@ -4,7 +4,7 @@ describe Freckly::Project do
4
4
  before do
5
5
  Freckly.token = "aaa"
6
6
  Freckly.subdomain = "test"
7
- stub_request(:any, /projects.xml$/).to_return(:body => fixture("projects.xml"))
7
+ stub_request(:any, /projects.xml/).to_return(:body => fixture("projects.xml"))
8
8
  end
9
9
 
10
10
  describe "Class methods" do
@@ -28,8 +28,8 @@ describe Freckly::Project do
28
28
  end
29
29
 
30
30
  describe "Initialization" do
31
- before(:all) { @project = Freckly::Project.all.first }
32
- subject { @project }
31
+ let(:project) { Freckly::Project.all.first }
32
+ subject { project }
33
33
 
34
34
  specify { subject.name.should == "TestProject1" }
35
35
  specify { subject.id.should == 1343 }
@@ -37,9 +37,9 @@ describe Freckly::Project do
37
37
 
38
38
  describe "#entries" do
39
39
  before { Freckly::Entry.stub!(:find_all_for_project).and_return([mock]) }
40
- before(:all) { @project = Freckly::Project.all.first }
40
+ let(:project) { Freckly::Project.all.first }
41
41
 
42
- subject { @project.entries }
42
+ subject { project.entries }
43
43
 
44
44
  it { should be_a(Array) }
45
45
  end
@@ -1,17 +1,18 @@
1
- $LOAD_PATH.unshift(File.dirname(__FILE__))
2
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
1
+ $:.unshift(File.dirname(__FILE__))
2
+ $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
3
 
4
- require 'freckly'
5
-
6
- gem "rspec", "1.3.0"
7
- require 'spec'
8
- require 'spec/autorun'
4
+ require "freckly"
5
+ require "rspec"
9
6
  require 'webmock/rspec'
10
7
 
11
8
  def fixture(file_name)
12
- File.read(File.expand_path(File.dirname(__FILE__) + "/fixtures/#{file_name}"))
9
+ File.read(fixture_path(file_name))
10
+ end
11
+
12
+ def fixture_path(file_name)
13
+ File.expand_path(File.dirname(__FILE__)) + "/fixtures/#{file_name}"
13
14
  end
14
15
 
15
- Spec::Runner.configure do |config|
16
- config.include WebMock
16
+ RSpec.configure do |config|
17
+ config.include WebMock::API
17
18
  end
metadata CHANGED
@@ -1,137 +1,202 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freckly
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 27
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 0
8
- - 0
9
- version: 0.0.0
9
+ - 2
10
+ version: 0.0.2
10
11
  platform: ruby
11
12
  authors:
12
- - reddavis
13
+ - Red Davis
13
14
  autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-10-04 00:00:00 +01:00
18
+ date: 2010-11-15 00:00:00 +00:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
- name: rspec
22
+ name: faraday
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ~>
26
28
  - !ruby/object:Gem::Version
29
+ hash: 13
27
30
  segments:
28
- - 1
29
- - 3
30
31
  - 0
31
- version: 1.3.0
32
- type: :development
32
+ - 5
33
+ - 3
34
+ version: 0.5.3
35
+ type: :runtime
33
36
  version_requirements: *id001
34
37
  - !ruby/object:Gem::Dependency
35
- name: faraday
38
+ name: faraday_middleware
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
43
  - - ~>
40
44
  - !ruby/object:Gem::Version
45
+ hash: 21
41
46
  segments:
42
47
  - 0
43
- - 4
44
- - 6
45
- version: 0.4.6
48
+ - 2
49
+ - 1
50
+ version: 0.2.1
46
51
  type: :runtime
47
52
  version_requirements: *id002
48
53
  - !ruby/object:Gem::Dependency
49
- name: faraday_middleware
54
+ name: multi_xml
50
55
  prerelease: false
51
56
  requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
52
58
  requirements:
53
59
  - - ~>
54
60
  - !ruby/object:Gem::Version
61
+ hash: 23
55
62
  segments:
56
63
  - 0
57
- - 1
64
+ - 2
58
65
  - 0
59
- version: 0.1.0
66
+ version: 0.2.0
60
67
  type: :runtime
61
68
  version_requirements: *id003
62
69
  - !ruby/object:Gem::Dependency
63
- name: multi_xml
70
+ name: hashie
64
71
  prerelease: false
65
72
  requirement: &id004 !ruby/object:Gem::Requirement
73
+ none: false
66
74
  requirements:
67
75
  - - ~>
68
76
  - !ruby/object:Gem::Version
77
+ hash: 15
69
78
  segments:
70
79
  - 0
80
+ - 4
71
81
  - 0
72
- - 1
73
- version: 0.0.1
82
+ version: 0.4.0
74
83
  type: :runtime
75
84
  version_requirements: *id004
76
- description: Freckle Gem
77
- email: reddavis@gmail.com
85
+ - !ruby/object:Gem::Dependency
86
+ name: rspec
87
+ prerelease: false
88
+ requirement: &id005 !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ hash: 11
94
+ segments:
95
+ - 2
96
+ - 1
97
+ - 0
98
+ version: 2.1.0
99
+ type: :development
100
+ version_requirements: *id005
101
+ - !ruby/object:Gem::Dependency
102
+ name: webmock
103
+ prerelease: false
104
+ requirement: &id006 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ hash: 13
110
+ segments:
111
+ - 1
112
+ - 6
113
+ - 1
114
+ version: 1.6.1
115
+ type: :development
116
+ version_requirements: *id006
117
+ - !ruby/object:Gem::Dependency
118
+ name: rake
119
+ prerelease: false
120
+ requirement: &id007 !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ hash: 49
126
+ segments:
127
+ - 0
128
+ - 8
129
+ - 7
130
+ version: 0.8.7
131
+ type: :development
132
+ version_requirements: *id007
133
+ description: Wrapper for Freckle
134
+ email:
135
+ - red@railslove.com
78
136
  executables: []
79
137
 
80
138
  extensions: []
81
139
 
82
- extra_rdoc_files:
83
- - LICENSE
84
- - README.rdoc
140
+ extra_rdoc_files: []
141
+
85
142
  files:
143
+ - .bundle/config
86
144
  - .document
87
145
  - .gitignore
88
- - LICENSE
89
- - README.rdoc
146
+ - .rspec
147
+ - Gemfile
148
+ - Gemfile.lock
149
+ - README.md
90
150
  - Rakefile
91
- - VERSION
92
151
  - freckly.gemspec
93
152
  - lib/freckly.rb
94
153
  - lib/freckly/entry.rb
95
154
  - lib/freckly/faraday/parse_xml.rb
96
155
  - lib/freckly/project.rb
156
+ - lib/freckly/version.rb
97
157
  - spec/fixtures/entries.xml
98
158
  - spec/fixtures/projects.xml
99
159
  - spec/freckly/entry_spec.rb
100
160
  - spec/freckly/project_spec.rb
101
161
  - spec/freckly_spec.rb
102
- - spec/spec.opts
103
162
  - spec/spec_helper.rb
104
163
  has_rdoc: true
105
- homepage: http://github.com/reddavis/freckly
164
+ homepage: http://rubygems.org/gems/freckly
106
165
  licenses: []
107
166
 
108
167
  post_install_message:
109
- rdoc_options:
110
- - --charset=UTF-8
168
+ rdoc_options: []
169
+
111
170
  require_paths:
112
171
  - lib
113
172
  required_ruby_version: !ruby/object:Gem::Requirement
173
+ none: false
114
174
  requirements:
115
175
  - - ">="
116
176
  - !ruby/object:Gem::Version
177
+ hash: 3
117
178
  segments:
118
179
  - 0
119
180
  version: "0"
120
181
  required_rubygems_version: !ruby/object:Gem::Requirement
182
+ none: false
121
183
  requirements:
122
184
  - - ">="
123
185
  - !ruby/object:Gem::Version
186
+ hash: 3
124
187
  segments:
125
188
  - 0
126
189
  version: "0"
127
190
  requirements: []
128
191
 
129
- rubyforge_project:
130
- rubygems_version: 1.3.6
192
+ rubyforge_project: freckly
193
+ rubygems_version: 1.3.7
131
194
  signing_key:
132
195
  specification_version: 3
133
- summary: Freckle Gem
196
+ summary: Wrapper for Freckle
134
197
  test_files:
198
+ - spec/fixtures/entries.xml
199
+ - spec/fixtures/projects.xml
135
200
  - spec/freckly/entry_spec.rb
136
201
  - spec/freckly/project_spec.rb
137
202
  - spec/freckly_spec.rb
data/LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2009 reddavis
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.
@@ -1,17 +0,0 @@
1
- = Freckly
2
-
3
- Description goes here.
4
-
5
- == Note on Patches/Pull Requests
6
-
7
- * Fork the project.
8
- * Make your feature addition or bug fix.
9
- * Add tests for it. This is important so I don't break it in a
10
- future version unintentionally.
11
- * Commit, do not mess with rakefile, version, or history.
12
- (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
13
- * Send me a pull request. Bonus points for topic branches.
14
-
15
- == Copyright
16
-
17
- Copyright (c) 2010 Red Davis. See LICENSE for details.
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.0.0
@@ -1 +0,0 @@
1
- --color