mambanation 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/mambanation/base.rb +18 -0
- metadata +4 -6
- data/lib/mambanation/nbproject/project.properties +0 -3
- data/lib/mambanation/nbproject/project.xml +0 -11
data/VERSION.yml
CHANGED
data/lib/mambanation/base.rb
CHANGED
@@ -150,6 +150,24 @@ module MambaNation
|
|
150
150
|
perform_get("/users/#{id.to_i}/roles.json")
|
151
151
|
end
|
152
152
|
|
153
|
+
#
|
154
|
+
# Users System Messages
|
155
|
+
#
|
156
|
+
def user_system_messages(id)
|
157
|
+
perform_get("/users/#{id.to_i}/system_messages.json")
|
158
|
+
end
|
159
|
+
|
160
|
+
def user_unread_system_messages(id)
|
161
|
+
perform_get("/users/#{id.to_i}/unread_system_messages.json")
|
162
|
+
end
|
163
|
+
|
164
|
+
#
|
165
|
+
# User Announcements
|
166
|
+
#
|
167
|
+
def announcements(id)
|
168
|
+
perform_get("/users/#{id.to_i}/announcements.json")
|
169
|
+
end
|
170
|
+
|
153
171
|
protected
|
154
172
|
|
155
173
|
def self.mime_type(file)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mambanation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 12
|
10
|
+
version: 0.1.12
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jeremy Van de Wyngaert
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2010-08-
|
20
|
+
date: 2010-08-23 00:00:00 +02:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
@@ -168,8 +168,6 @@ files:
|
|
168
168
|
- lib/mambanation.rb
|
169
169
|
- lib/mambanation/base.rb
|
170
170
|
- lib/mambanation/httpauth.rb
|
171
|
-
- lib/mambanation/nbproject/project.properties
|
172
|
-
- lib/mambanation/nbproject/project.xml
|
173
171
|
- lib/mambanation/request.rb
|
174
172
|
- test/fixtures/actions.json
|
175
173
|
- test/fixtures/badges.json
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<project xmlns="http://www.netbeans.org/ns/project/1">
|
3
|
-
<type>org.netbeans.modules.ruby.rubyproject</type>
|
4
|
-
<configuration>
|
5
|
-
<data xmlns="http://www.netbeans.org/ns/ruby-project/1">
|
6
|
-
<name>RubyProject5</name>
|
7
|
-
<source-roots/>
|
8
|
-
<test-roots/>
|
9
|
-
</data>
|
10
|
-
</configuration>
|
11
|
-
</project>
|