vine_client 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -1,4 +1,49 @@
1
- vine_client
2
- ===========
1
+ #vine_client
2
+
3
+ `vine_client` - This is the simple Ruby wrapper for the Vine API.
4
+
5
+ ## Installation
6
+
7
+ ``` ruby
8
+ # Gemfile
9
+ gem 'vine_client'
10
+ ```
11
+
12
+ or
13
+
14
+ ``` sh
15
+ $ gem install vine_client
16
+ ```
17
+
18
+ ## Usage
19
+
20
+ ###Authentication
21
+ ``` ruby
22
+ user=Vine::Client.new('username','password')
23
+ ```
24
+ ### Method calls
25
+
26
+ ```ruby
27
+ #user info
28
+ user.user_info('user_id')#default current user id
29
+
30
+ #return the list of popular posts
31
+ user.get_popular
32
+
33
+ #user timeline
34
+ user.timelines('user_id')
35
+
36
+ #tags
37
+ user.tag(tag)
38
+
39
+ #notfifications
40
+
41
+ user.notifications('user_id')
42
+
43
+ #logout
44
+
45
+ user.logout
46
+ ```
47
+
48
+
3
49
 
4
- vine_client
@@ -23,6 +23,10 @@ module Vine
23
23
  get("/users/profiles/#{user_id}")
24
24
  end
25
25
 
26
+ def search(keyword)
27
+ get("/users/search/#{keyword}")
28
+ end
29
+
26
30
  def timelines(user_id=@userId)
27
31
  get("/timelines/users/#{user_id}")
28
32
  end
data/vine_client.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'vine_client'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.date = '2013-07-14'
5
5
  s.summary = "vine_client"
6
6
  s.description = "ruby wraper for vine.co api"
@@ -12,5 +12,5 @@ Gem::Specification.new do |s|
12
12
  s.add_runtime_dependency 'faraday_middleware', '~> 0.8'
13
13
  s.require_paths = ['lib']
14
14
  s.homepage = 'https://github.com/obrigan228/vine_client'
15
- s.licenses = ['MIT', 'GPL-2']
15
+ s.licenses = ['MIT']
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vine_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -58,7 +58,6 @@ files:
58
58
  homepage: https://github.com/obrigan228/vine_client
59
59
  licenses:
60
60
  - MIT
61
- - GPL-2
62
61
  post_install_message:
63
62
  rdoc_options: []
64
63
  require_paths: