youroom_api 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  module Youroom
4
4
  class MarkRead < Mark
5
5
  def path
6
- File.join(url, 'mark_read')
6
+ File.join(url, 'mark_read?format=json')
7
7
  end
8
8
  end
9
9
  end
@@ -3,7 +3,7 @@
3
3
  module Youroom
4
4
  class MarkUnread < Mark
5
5
  def path
6
- File.join(url, 'mark_unread')
6
+ File.join(url, 'mark_unread?format=json')
7
7
  end
8
8
  end
9
9
  end
@@ -1,3 +1,4 @@
1
1
  module Youroom
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.3"
3
3
  end
4
+
@@ -29,7 +29,7 @@ describe Youroom::MarkRead do
29
29
 
30
30
  context "#path" do
31
31
  subject { mark_read }
32
- its(:path) { should == File.join(mark_read.url, 'mark_read') }
32
+ its(:path) { should == File.join(mark_read.url, 'mark_read?format=json') }
33
33
  end
34
34
 
35
35
  context "#params" do
@@ -29,7 +29,7 @@ describe Youroom::MarkUnread do
29
29
 
30
30
  context "#path" do
31
31
  subject { mark_unread }
32
- its(:path) { should == File.join(mark_unread.url, 'mark_unread') }
32
+ its(:path) { should == File.join(mark_unread.url, 'mark_unread?format=json') }
33
33
  end
34
34
 
35
35
  context "#params" do
data/youroom_api.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'youroom_api'
3
- s.version = '0.1.2'
3
+ s.version = '0.1.3'
4
4
 
5
5
  s.authors = ['pochi']
6
6
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - pochi