lessneglect 0.3.3 → 0.3.4
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.
- data/VERSION +1 -1
- data/lessneglect.gemspec +2 -2
- data/lib/lessneglect/objects/action_event.rb +3 -1
- metadata +5 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.4
|
data/lessneglect.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "lessneglect"
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.4"
|
|
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-
|
|
12
|
+
s.date = "2012-11-08"
|
|
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 = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
class LessNeglectApi
|
|
2
2
|
class ActionEvent < Event
|
|
3
3
|
|
|
4
|
-
attr_accessor :note, :links
|
|
4
|
+
attr_accessor :note, :links, :external_identifier, :extras
|
|
5
5
|
|
|
6
6
|
def add_link(name, href)
|
|
7
7
|
self.links ||= []
|
|
@@ -12,6 +12,8 @@ class LessNeglectApi
|
|
|
12
12
|
super.merge({
|
|
13
13
|
:klass => "actionevent",
|
|
14
14
|
:note => self.note,
|
|
15
|
+
:external_identifier => self.external_identifier,
|
|
16
|
+
:extras => self.extras,
|
|
15
17
|
:links => self.links.nil? ? nil : self.links.as_json
|
|
16
18
|
}).as_json(options)
|
|
17
19
|
end
|
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.
|
|
4
|
+
version: 0.3.4
|
|
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-
|
|
12
|
+
date: 2012-11-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rest-client
|
|
@@ -132,6 +132,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
132
132
|
- - ! '>='
|
|
133
133
|
- !ruby/object:Gem::Version
|
|
134
134
|
version: '0'
|
|
135
|
+
segments:
|
|
136
|
+
- 0
|
|
137
|
+
hash: -4572274705889445937
|
|
135
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
139
|
none: false
|
|
137
140
|
requirements:
|