tvnow 0.1.0 → 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
- SHA1:
3
- metadata.gz: 636034b8eb1d3ae68d53e57d346ab4b7a15b3de6
4
- data.tar.gz: 70871b3d929cc5651bb4adb836b835a2e399443a
2
+ SHA256:
3
+ metadata.gz: 6a82fbef2fe53a808b2484acb31b696fb5bda640007e4cbde51708d54d855f42
4
+ data.tar.gz: c34c345d66086361f590df0ad8dd77f2bd69ead2ecc15e235d7c943d573cc40b
5
5
  SHA512:
6
- metadata.gz: e29bd1cebf04742fa11762d3b9ea1872414d9257e44ca800974273ad234bc2979c5702e0c0e7e89c327843710c26a03db096410ef07dff56fc03d99e81136bfb
7
- data.tar.gz: 76344a9f899c4f19373b98ccac3d7fee7ae90705eeb34cf8412d840df32994208e832e6c00390fe6f95d42655be3465188239d427539296da4ea56c04bf16c1b
6
+ metadata.gz: 32818fde1d1bdf6582dde3aade1a7b6210a07529d811b17a7be77daa9d93da7650770dd2af56311e46caca3ecc890060561c04b5ea03a161b5d3c20d09fbcec8
7
+ data.tar.gz: 11eca35859c0bbb19d319805c84aa64231c950c426b31aad6ae0228fbe74f7f60dbe1b1ade0d14a313e5f506728d249de424fd6c1ac413cf8cd72c4812e66ee5
@@ -1,4 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.5
4
- before_install: gem install bundler -v 1.10.6
3
+ - 2.6.5
4
+ - 2.7.0
5
+ before_install:
6
+ - bundler --version || gem install bundler
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Tvnow
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/tvnow`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ [![Build Status](https://travis-ci.org/geeknees/tvnow.svg?branch=master)](https://travis-ci.org/geeknees/tvnow)
6
4
 
7
5
  ## Installation
8
6
 
@@ -32,7 +30,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
30
 
33
31
  ## Contributing
34
32
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/tvnow. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/geeknees/tvnow. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
36
34
 
37
35
 
38
36
  ## License
data/exe/tvnow CHANGED
File without changes
@@ -3,7 +3,7 @@ require 'rss'
3
3
 
4
4
  module Tvnow
5
5
  class Client
6
- API_URL = 'http://tv.so-net.ne.jp/rss/schedulesByCurrentTime.action?group=10&stationAreaId=23'
6
+ API_URL = 'https://tv.so-net.ne.jp/rss/schedulesByCurrentTime.action?group=10&stationAreaId=23'
7
7
 
8
8
  def get_program_list
9
9
  program = get_program
@@ -15,7 +15,7 @@ module Tvnow
15
15
  private
16
16
 
17
17
  def get_program
18
- RSS::Parser.parse(open(API_URL).read)
18
+ RSS::Parser.parse(URI.open(API_URL).read)
19
19
  end
20
20
 
21
21
  def restruct_program_list(program)
@@ -1,3 +1,3 @@
1
1
  module Tvnow
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -6,20 +6,28 @@ require 'tvnow/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "tvnow"
8
8
  spec.version = Tvnow::VERSION
9
- spec.authors = ["mgka"]
10
- spec.email = ["mgkamgka@gmail.com"]
9
+ spec.authors = ["geeknees"]
10
+ spec.email = ["mkawasaki@sbihg.co.jp"]
11
11
 
12
12
  spec.summary = %q{Show current TV programs}
13
13
  spec.description = %q{Show current TV programs}
14
- spec.homepage = "https://github.com/mgka/tvnow"
14
+ spec.homepage = "https://github.com/geeknees/tvnow"
15
15
  spec.license = "MIT"
16
16
 
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
+ # else
22
+ # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ # end
24
+
17
25
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
26
  spec.bindir = "exe"
19
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
28
  spec.require_paths = ["lib"]
21
29
 
22
- spec.add_development_dependency "bundler", "~> 1.10"
23
- spec.add_development_dependency "rake", "~> 10.0"
30
+ spec.add_development_dependency "bundler"
31
+ spec.add_development_dependency "rake", ">= 12.3.3"
24
32
  spec.add_development_dependency "rspec"
25
33
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvnow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - mgka
7
+ - geeknees
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-13 00:00:00.000000000 Z
11
+ date: 2020-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.10'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.10'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: 12.3.3
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: 12.3.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  description: Show current TV programs
56
56
  email:
57
- - mgkamgka@gmail.com
57
+ - mkawasaki@sbihg.co.jp
58
58
  executables:
59
59
  - tvnow
60
60
  extensions: []
@@ -75,7 +75,7 @@ files:
75
75
  - lib/tvnow/client.rb
76
76
  - lib/tvnow/version.rb
77
77
  - tvnow.gemspec
78
- homepage: https://github.com/mgka/tvnow
78
+ homepage: https://github.com/geeknees/tvnow
79
79
  licenses:
80
80
  - MIT
81
81
  metadata: {}
@@ -94,8 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubyforge_project:
98
- rubygems_version: 2.4.8
97
+ rubygems_version: 3.1.2
99
98
  signing_key:
100
99
  specification_version: 4
101
100
  summary: Show current TV programs