maxcrm 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/api.rb +1 -3
  3. data/maxcrm.gemspec +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
data/lib/api.rb CHANGED
@@ -1,5 +1,3 @@
1
- require 'rest-client'
2
-
3
1
  module Maxcrm
4
2
  class << self
5
3
  #Synchronously send an incident notification to maxcrm
@@ -10,7 +8,7 @@ module Maxcrm
10
8
  #Make HTTP call to the Maxcrm server
11
9
  resource = RestClient::Resource.new(
12
10
  incident_resource_url(params[:user_email]),
13
- :user=>Maxcrm.config["user"],
11
+ :user=>Maxcrm.config["username"],
14
12
  :password=>Maxcrm.config["password"]
15
13
  )
16
14
 
data/maxcrm.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{maxcrm}
8
- s.version = "0.0.1"
8
+ s.version = "0.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 = ["Gwyn Morfey"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Gwyn Morfey