mite-rb 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## mite-rb Changelog
2
2
 
3
+ ### 0.4.4 / 2012-04-03
4
+
5
+ * Fixed some ruby warnings
6
+
3
7
  ### 0.4.3 / 2012-03-29
4
8
 
5
9
  * The mite.api can only be accessed over HTTPS from now on
@@ -53,4 +53,4 @@ class Mite::TimeEntry < Mite::Base
53
53
  end
54
54
  end
55
55
 
56
- Dir[File.join(File.dirname(__FILE__), "time_entry/*.rb")].each { |f| require f }
56
+ require 'mite/time_entry/bookmark'
data/lib/mite/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mite
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
data/lib/mite-rb.rb CHANGED
@@ -8,8 +8,8 @@ require 'mite/version.rb'
8
8
  module Mite
9
9
 
10
10
  class << self
11
- attr_accessor :email, :password, :host_format, :domain_format, :port, :user_agent
12
- attr_reader :account, :key, :protocol
11
+ attr_accessor :email, :password, :host_format, :domain_format, :port
12
+ attr_reader :account, :key, :protocol, :user_agent
13
13
 
14
14
  # Sets the account name, and updates all resources with the new domain.
15
15
  def account=(name)
@@ -179,5 +179,12 @@ module Mite
179
179
 
180
180
  end
181
181
 
182
- $:.unshift(File.dirname(__FILE__))
183
- Dir[File.join(File.dirname(__FILE__), "mite/*.rb")].each { |f| require f }
182
+ require 'mite/account'
183
+ require 'mite/customer'
184
+ require 'mite/myself'
185
+ require 'mite/project'
186
+ require 'mite/service'
187
+ require 'mite/time_entry'
188
+ require 'mite/time_entry_group'
189
+ require 'mite/tracker'
190
+ require 'mite/user'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mite-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-29 00:00:00.000000000 Z
12
+ date: 2012-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activeresource
16
- requirement: &2159838040 !ruby/object:Gem::Requirement
16
+ requirement: &2156014000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 2.3.14
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2159838040
24
+ version_requirements: *2156014000
25
25
  description: The official ruby library for interacting with the RESTful mite.api.
26
26
  email:
27
27
  - sebastian@yo.lk