garb 0.7.6 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/garb.rb CHANGED
@@ -4,7 +4,12 @@ require 'net/https'
4
4
  require 'cgi'
5
5
  require 'ostruct'
6
6
  require 'crack'
7
- require 'active_support'
7
+
8
+ begin
9
+ require 'active_support/inflector'
10
+ rescue LoadError
11
+ require 'active_support'
12
+ end
8
13
 
9
14
  require 'garb/version'
10
15
  require 'garb/authentication_request'
data/lib/garb/version.rb CHANGED
@@ -2,8 +2,8 @@ module Garb
2
2
  module Version
3
3
 
4
4
  MAJOR = 0
5
- MINOR = 7
6
- TINY = 6
5
+ MINOR = 8
6
+ TINY = 0
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
data/test/test_helper.rb CHANGED
@@ -1,8 +1,18 @@
1
+ begin
2
+ require 'simplecov'
3
+ SimpleCov.start 'rails'
4
+ rescue LoadError
5
+ puts "Install simplecov if you use 1.9 and want coverage metrics"
6
+ end
7
+
1
8
  $:.reject! { |e| e.include? 'TextMate' }
2
9
 
3
10
  require 'rubygems'
4
- require 'minitest/unit'
11
+ require 'bundler'
12
+ Bundler.setup(:default, :test)
13
+
5
14
  require 'shoulda'
15
+ require 'minitest/unit'
6
16
  require 'mocha'
7
17
 
8
18
  $:.unshift File.expand_path('../../lib', __FILE__)
@@ -18,7 +28,6 @@ class MiniTest::Unit::TestCase
18
28
  def read_fixture(filename)
19
29
  File.read(File.dirname(__FILE__) + "/fixtures/#{filename}")
20
30
  end
21
-
22
31
  end
23
32
 
24
- MiniTest::Unit.autorun
33
+ MiniTest::Unit.autorun
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 7
8
- - 6
9
- version: 0.7.6
7
+ - 8
8
+ - 0
9
+ version: 0.8.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tony Pitale
@@ -14,12 +14,11 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-06 00:00:00 -04:00
17
+ date: 2010-09-08 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: crack
22
- prerelease: false
21
+ name: activesupport
23
22
  requirement: &id001 !ruby/object:Gem::Requirement
24
23
  none: false
25
24
  requirements:
@@ -27,25 +26,22 @@ dependencies:
27
26
  - !ruby/object:Gem::Version
28
27
  segments:
29
28
  - 0
30
- - 1
31
- - 6
32
- version: 0.1.6
29
+ version: "0"
33
30
  type: :runtime
31
+ prerelease: false
34
32
  version_requirements: *id001
35
33
  - !ruby/object:Gem::Dependency
36
- name: activesupport
37
- prerelease: false
34
+ name: crack
38
35
  requirement: &id002 !ruby/object:Gem::Requirement
39
36
  none: false
40
37
  requirements:
41
38
  - - ">="
42
39
  - !ruby/object:Gem::Version
43
40
  segments:
44
- - 2
45
- - 2
46
41
  - 0
47
- version: 2.2.0
42
+ version: "0"
48
43
  type: :runtime
44
+ prerelease: false
49
45
  version_requirements: *id002
50
46
  description:
51
47
  email: tony.pitale@viget.com