yourub 1.0.5 → 1.0.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50484cd54ec618de42e1bc3159c5d38b2926f66d
4
- data.tar.gz: 0bd8f7e973ee94ddf8a55d8be05a7165c795c519
3
+ metadata.gz: e83483d231c996806cbf00c101261934d3f89668
4
+ data.tar.gz: 854811f79167eb1d0479b9e5b37827de374d6f01
5
5
  SHA512:
6
- metadata.gz: 55da616aafeb6704d14d99d7f09f545088a2b780cd9334019fb67befd0f792e83e792aeee6c9b04cc66f34ec4a0bc1598eda34e477204b87f061a1c567671681
7
- data.tar.gz: 46516c6624186015d2f0590dc6e40f107f2a80f6fe4bd8551e4cf4843f6c15cc53567d89463eaef04d21ffae1d55ff6c7bed6f0050d5063199ae86b8d2100e66
6
+ metadata.gz: ae925829dd1a50afa50a827cea56e3b2fcb548eb9080d5db376b4d9a0576b7b6218847907d6b754a123c26719668cd91db58d4fffefcc2c9d05e25b00c0a3d0f
7
+ data.tar.gz: 4876313101e4a232ddcb74a48bda65319a233edd2934f8ae82798508ee618fad431201698f641f32257a8f88bacc1ee73f9f4aaf7c9a77cbe02cbce04784bc84
data/README.md CHANGED
@@ -21,14 +21,24 @@ Or install it yourself as:
21
21
 
22
22
  Get a developer key as explained [here](http://www.youtube.com/watch?v=Im69kzhpR3I)
23
23
  If you are using rails, create a app/config/yourub.yml file as follow:
24
-
25
- yourub:
26
- developer_key: 'yourdeveloperkey'
27
- youtube_api_service_name: 'youtube'
28
- youtube_api_version: 'v3'
29
- application_name: "nameofyourapp"
30
- application_version: "version_number_of_your_app"
31
- log_level: WARN
24
+ ```
25
+ yourub_defaults: &yourub_defaults
26
+ developer_key: 'YoUrDevEl0PerKey'
27
+ youtube_api_service_name: 'youtube'
28
+ youtube_api_version: 'v3'
29
+ application_name: "yourub"
30
+ application_version: "0.1"
31
+ log_level: WARN
32
+
33
+ development:
34
+ <<: *yourub_defaults
35
+
36
+ production:
37
+ <<: *yourub_defaults
38
+
39
+ test:
40
+ <<: *yourub_defaults
41
+ ```
32
42
 
33
43
  ### Available parameters
34
44
  `:query` String, example `aliens`
data/lib/yourub/client.rb CHANGED
@@ -140,7 +140,6 @@ module Yourub
140
140
  end
141
141
 
142
142
  def search_list_request(options)
143
- byebug
144
143
  search_response = client.execute!(
145
144
  :api_method => youtube.search.list,
146
145
  :parameters => options
@@ -186,4 +185,4 @@ module Yourub
186
185
  end
187
186
 
188
187
  end
189
- end
188
+ end
@@ -1,6 +1,6 @@
1
1
  module Yourub
2
2
  MAJOR = 1
3
3
  MINOR = 0
4
- PATCH = 5
4
+ PATCH = 6
5
5
  VERSION = [MAJOR, MINOR, PATCH].compact.join('.')
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yourub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Davide Prati
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-10 00:00:00.000000000 Z
11
+ date: 2014-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-api-client