crunchyroll 0.1 → 0.1.1

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: 6726d4ad7dcfa61069707c606f48c27c240829b8
4
- data.tar.gz: d4ca29e66c7b6fb8669f37f16436e998df53cd8b
3
+ metadata.gz: 90b48d588f9f6d49e168c74a702a23170d8b789f
4
+ data.tar.gz: 03c1e6db57428194988868f3d7d0d63fa1d43b6d
5
5
  SHA512:
6
- metadata.gz: 08f6094f1a643b032ea1dc8a87e169be334e7bc5696a91a336ebcce15566cdf789c83d4a338abaa5f610d6f0c79ae9a315f64d9c3236c0706963f69044c76cfc
7
- data.tar.gz: 8bab2f2bc7e6dbb2370df830283258b6f57bd3923d1e91013a1448193b4de6ebcdfb59ed251472ea2d6e71946eea642fccee0d3b0006c04977f6c8a39b55aad1
6
+ metadata.gz: ba888020e8e0b225a9f2199b6d36cb2fded716e541d0551f8bed902a590782f0b9d40307c9c982bf18a886ea0349f4abb086c4a4dae0e104fb003df2746d2b7c
7
+ data.tar.gz: 69a51bd5de95d846807136ccbffe64112ea9cb69374b0321e969474952ca2f896a17829541a5bba9ef8f6c3c9fde92445502dc5d19268687abb88a90cba25513
data/lib/crunchyroll.rb CHANGED
@@ -15,7 +15,6 @@
15
15
  require 'date'
16
16
  require 'open-uri'
17
17
  require 'nokogiri'
18
- require 'text'
19
18
 
20
19
  require 'crunchyroll/utils'
21
20
  require 'crunchyroll/crunchyroll'
@@ -8,7 +8,7 @@ module Crunchyroll
8
8
  tmp = r.xpath('.//a/div/text()').to_s
9
9
  if tmp.downcase.include? series.downcase
10
10
  title = tmp
11
- url = r.xpath('.//a/@href') .to_s
11
+ url = r.xpath('.//a/@href').to_s
12
12
  break
13
13
  end
14
14
  }
@@ -1,3 +1,17 @@
1
+ ##
2
+ # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
3
+ # Version 2, December 2004
4
+ #
5
+ # Everyone is permitted to copy and distribute verbatim or modified
6
+ # copies of this license document, and changing it is allowed as long
7
+ # as the name is changed.
8
+ #
9
+ # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
10
+ # TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
11
+ #
12
+ # 0. You just DO WHAT THE FUCK YOU WANT TO.
13
+ ##
14
+
1
15
  class DateTime
2
16
  def time_left(date)
3
17
  a = self.to_time - 1*60*60
@@ -14,6 +14,6 @@
14
14
 
15
15
  module Crunchyroll
16
16
  def self.version
17
- '0.1'
17
+ '0.1.1'
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crunchyroll
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giovanni Capuano
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: text
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
27
  description: Find and get infos about series airing on Crunchyroll.
42
28
  email: webmaster@giovannicapuano.net
43
29
  executables: []