chatwork 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/Rakefile +8 -0
- data/chatwork.gemspec +1 -0
- data/lib/chatwork.rb +1 -1
- data/lib/chatwork/version.rb +1 -1
- data/spec/lib/chatwork_spec.rb +13 -0
- data/spec/spec_helper.rb +3 -0
- metadata +22 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2726cbb931ac2533e1296cbb21a620db62e69e0
|
4
|
+
data.tar.gz: cd678ffce483f6d477eae0d31972cf0c63ed6b48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b087c39e4d93ccfa8a66a6f4bb5eecb05c606a8d595fa6f38a672ca4571fdb1cc2d381afd7ffa85623f167e56ed2c87eb4943e376592660b7e053abd8c86661f
|
7
|
+
data.tar.gz: afebd25c0173416546c4dbabf12d5e8f4a637c94abd76f7128df2855d7b40f5f836c0856969e5d6c3a8ee3ea35fbe4cfb0a1b286752554ea1512fbaca68d6466
|
data/.gitignore
CHANGED
data/Rakefile
CHANGED
data/chatwork.gemspec
CHANGED
data/lib/chatwork.rb
CHANGED
data/lib/chatwork/version.rb
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'chatwork'
|
3
|
+
|
4
|
+
describe ChatWork do
|
5
|
+
its(:client) { should be_a(ChatWork::Client) }
|
6
|
+
its(:api_base) { should eq('https://api.chatwork.com/') }
|
7
|
+
describe '#api_base=' do
|
8
|
+
before { subject.api_base = 'https://test.example.com/' }
|
9
|
+
its(:api_base) { should eq('https://test.example.com/') }
|
10
|
+
its(:api_base) { should eq('https://test.example.com/') }
|
11
|
+
end
|
12
|
+
its(:api_key) { should be_nil }
|
13
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chatwork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- asonas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.14.0
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.14.0
|
55
69
|
description: ChatWork is cloud-based business chat tool
|
56
70
|
email:
|
57
71
|
- hzw1258@gmail.com
|
@@ -71,6 +85,8 @@ files:
|
|
71
85
|
- lib/chatwork/operations.rb
|
72
86
|
- lib/chatwork/room.rb
|
73
87
|
- lib/chatwork/version.rb
|
88
|
+
- spec/lib/chatwork_spec.rb
|
89
|
+
- spec/spec_helper.rb
|
74
90
|
homepage: ''
|
75
91
|
licenses:
|
76
92
|
- MIT
|
@@ -91,9 +107,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
107
|
version: '0'
|
92
108
|
requirements: []
|
93
109
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.0.
|
110
|
+
rubygems_version: 2.0.14
|
95
111
|
signing_key:
|
96
112
|
specification_version: 4
|
97
113
|
summary: Ruby bindings of Chatwork API
|
98
|
-
test_files:
|
99
|
-
|
114
|
+
test_files:
|
115
|
+
- spec/lib/chatwork_spec.rb
|
116
|
+
- spec/spec_helper.rb
|