playlyfe_client 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d2a35f5b9c9682634b330792419663b08449c8e
4
- data.tar.gz: 03e9ac4e72b4124a8beafddf2b55a1dbfda9c215
3
+ metadata.gz: aadd87126ef753058850d5d494be7352bf660ad7
4
+ data.tar.gz: b844f569785866e7847df0ecd62a2e0bf8562536
5
5
  SHA512:
6
- metadata.gz: 96022c5547d3be058617ada499686c9485b778844cf901b0fb1d281a0d6bf5f7f3d88bb8b35655647444afbfbced744c8e09bfaaed2e55dc15bd298aecb22a06
7
- data.tar.gz: 102dbdef6471321d301688694b12f9a7040383b983d46f8a04c16eb6aaa64dd9bd61392a2628c40ef0533bd85957a2f02587507d97874b6682ff84403b076d94
6
+ metadata.gz: b486ac4b795d56a7ea3c48bc3315f9dabba1cc0db46261d29518f80a89f979278c4af1b143bb7aa34e82cd468c82d31a29e75d62eb2ad3be7f8acacdc776ca18
7
+ data.tar.gz: 3e0a95e9520a5ec0dd519948748128294f5a2420b389aa45707458d008c751158616d99e9692d3c1183d00a6bc484f2e45e1b35f0bafcd7b573ae22854a574fd
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  #production dependecies
4
- gem 'rest_client'
4
+ gem 'rest-client'
5
5
  gem 'json'
6
6
  gem 'jwt'
7
7
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- playlyfe_client (1.0.2)
4
+ playlyfe_client (1.0.4)
5
5
  json
6
6
  jwt
7
7
  rest_client
@@ -12,9 +12,14 @@ GEM
12
12
  ansi (1.5.0)
13
13
  builder (3.2.2)
14
14
  coderay (1.1.1)
15
+ domain_name (0.5.25)
16
+ unf (>= 0.0.5, < 1.0.0)
17
+ http-cookie (1.0.2)
18
+ domain_name (~> 0.5)
15
19
  json (1.8.3)
16
20
  jwt (1.5.0)
17
21
  method_source (0.8.2)
22
+ mime-types (2.99)
18
23
  minitest (5.8.4)
19
24
  minitest-reporters (1.1.8)
20
25
  ansi
@@ -27,10 +32,17 @@ GEM
27
32
  method_source (~> 0.8.1)
28
33
  slop (~> 3.4)
29
34
  rake (10.4.2)
30
- rest_client (1.7.2)
35
+ rest-client (1.8.0)
36
+ http-cookie (>= 1.0.2, < 2.0)
37
+ mime-types (>= 1.16, < 3.0)
38
+ netrc (~> 0.7)
39
+ rest_client (1.8.3)
31
40
  netrc (~> 0.7.7)
32
41
  ruby-progressbar (1.8.0)
33
42
  slop (3.6.0)
43
+ unf (0.1.4)
44
+ unf_ext
45
+ unf_ext (0.0.7.1)
34
46
 
35
47
  PLATFORMS
36
48
  ruby
@@ -44,7 +56,7 @@ DEPENDENCIES
44
56
  playlyfe_client!
45
57
  pry
46
58
  rake (~> 10.0)
47
- rest_client
59
+ rest-client
48
60
 
49
61
  BUNDLED WITH
50
62
  1.10.6
@@ -9,7 +9,11 @@ module PlaylyfeClient
9
9
 
10
10
  def add(item)
11
11
  @items << item
12
- end
12
+ end
13
+
14
+ def each &block
15
+ @items.each &block
16
+ end
13
17
 
14
18
  def find(str)
15
19
  (@items.detect {|item| item.id.include?(str)})
@@ -16,6 +16,10 @@ module PlaylyfeClient
16
16
  p
17
17
  end
18
18
 
19
+ def name
20
+ @alias
21
+ end
22
+
19
23
  def enabled?
20
24
  enabled
21
25
  end
@@ -1,3 +1,3 @@
1
1
  module PlaylyfeClient
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playlyfe_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-31 00:00:00.000000000 Z
11
+ date: 2016-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json