cro 0.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 1.0.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "cro"
8
- s.version = "0.0.1"
8
+ s.version = "1.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Brian Kenny"]
data/lib/cro.rb CHANGED
@@ -3,4 +3,8 @@ require 'hashie'
3
3
 
4
4
  require 'cro/config'
5
5
  require 'cro/cro'
6
- require 'cro/api'
6
+ require 'cro/api'
7
+
8
+
9
+
10
+
@@ -1,7 +1,9 @@
1
1
  module CRO
2
2
  class API
3
3
  def initialize
4
- @auth = {:username => "#{CRO::Config.email}", :password => "#{CRO::Config.api_key}"}
4
+ # For Testing
5
+ @auth = {:username => "brian@minicorp.ie", :password => "ee2a2bf9-c468-44b6-95ce-418e6a742793"}
6
+ #@auth = {:username => "#{CRO::Config.email}", :password => "#{CRO::Config.api_key}"}
5
7
  end
6
8
 
7
9
  def search(company_name)
@@ -13,6 +13,7 @@ require 'shoulda'
13
13
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
14
  $LOAD_PATH.unshift(File.dirname(__FILE__))
15
15
  require 'cro'
16
+ $:.push File.expand_path("../lib", __FILE__)
16
17
 
17
18
  class Test::Unit::TestCase
18
19
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cro
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
- - 0
8
- - 0
9
7
  - 1
10
- version: 0.0.1
8
+ - 0
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Kenny