lessneglect 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011 Christopher Gooley
1
+ Copyright (c) 2011-2012 Christopher Gooley
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "lessneglect"
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Christopher Gooley"]
12
- s.date = "2012-09-07"
12
+ s.date = "2012-09-10"
13
13
  s.description = "API library to allow you to connect and submit messages and actions to your LessNeglect project account"
14
14
  s.email = "gooley@lessneglect.com"
15
15
  s.extra_rdoc_files = [
@@ -7,19 +7,18 @@ require 'lessneglect/objects/event'
7
7
  require 'lessneglect/objects/action_event'
8
8
  require 'lessneglect/objects/message'
9
9
 
10
-
11
10
  class LessNeglectApi
12
11
 
13
12
  class Client
14
13
 
15
14
  def initialize(opts = {})
16
- @base_url = "http://beta.lessneglect.com/api/v2"
15
+ @base_url = "https://lessneglect.com/api/v2"
17
16
 
18
17
  @project_code = opts[:code]
19
18
  @project_secret = opts[:secret]
20
19
 
21
20
  unless @project_code && @project_secret
22
- raise StandardError.new "Must specify project_code and project_secret when initalizing the ApiClient"
21
+ raise StandardError.new "Must specify project code and secret when initalizing the ApiClient"
23
22
  end
24
23
  end
25
24
 
data/readme.md CHANGED
@@ -1,6 +1,6 @@
1
- LessNeglect
1
+ LessNeglect Ruby Client
2
2
  ===
3
- Allow your ruby app to easily submit server-side messages and events to LessNeglect.
3
+ Allow your Ruby app to easily submit server-side messages and events to LessNeglect.
4
4
 
5
5
  Installation
6
6
  ---
@@ -106,10 +106,7 @@ end
106
106
  Helper Usage
107
107
  --
108
108
  ```ruby
109
- Neglect.log_event(user, "uploaded-media")
109
+ Neglect.log_event(@current_user, "uploaded-media")
110
110
  ```
111
111
 
112
- == Copyright
113
-
114
- Copyright (c) 2011-2012 Christopher Gooley. See LICENSE.txt for further details.
115
-
112
+ Copyright (c) 2011-2012 Christopher Gooley, Less Neglect. See LICENSE.txt for further details.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lessneglect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-07 00:00:00.000000000 Z
12
+ date: 2012-09-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client