kandianying 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4181cfc366f1cc1f689792160a867bb983f991d9
4
- data.tar.gz: b65db717527dd283012f36a673e091327326a714
3
+ metadata.gz: 544cdc2a437c48b151690a6421a41b22bb26d52c
4
+ data.tar.gz: 3eccff9eac264a4de2907c9eab78ba627ae745fd
5
5
  SHA512:
6
- metadata.gz: e6daed77e55ec70cbfe9b58de2f0ea9a2f1fcc3bbd61135e44278e973cbd572fd3b665ea135a00e67d7674f807a9e1abe16d798e2962539e6b4ff49bdfc32038
7
- data.tar.gz: e01da39bbdd68836b4a279c1a062301663f548f58549a69ea5118264457131797029f2aa33491ac1f72ad6b8ad979b43a2c1cc06cf66bda135063cd9559f3b09
6
+ metadata.gz: e3d100b85b91e49c72656b19ca47abf189cd18f997d0fe2c0cd3ead25a14a3ad189abfd7d5a6a354b9695b7f85f920ff1282195f7948fed16b99cf12afdc8014
7
+ data.tar.gz: 98d6596a367b4572259133acfb0f06377ef309f74d4ad02a51806eef6a4a66ef3acc9f542a2683245d6471ee0264f28674c0e62da22fdb6ff7a68b78d1121c08
data/README.md CHANGED
@@ -1 +1,33 @@
1
1
  # Hsinchu_Movie
2
+
3
+ https://rubygems.org/gems/kan_dian_ying
4
+
5
+ A simple Ruby Gem to scrap the website vieshow and to get film list and its dates and time.
6
+
7
+
8
+ ## Usage
9
+
10
+ Run the following command:
11
+
12
+ ```
13
+ gem install kandianying
14
+ ```
15
+ ### Command line usage
16
+
17
+ ```
18
+ kandianying 0005 # Puts JSON array of vieshow's films to command line
19
+ ```
20
+
21
+ ### Usage in ruby code
22
+ ```
23
+ require 'soa_codeschool'
24
+
25
+ code_school = SiteScraper.new
26
+ code_school.course_names # Returns array of course names
27
+ code_school.code_school_data # Returns JSON array of code school courses and teachers
28
+ code_school.code_school_output # Puts JSON array of code school courses and teachers
29
+ ```
30
+
31
+ ## License
32
+
33
+ Distributed under the [MIT License](LICENSE).
data/bin/kandianying CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/kandianying'
3
3
 
4
- movie = HsinChuMovie.new(ARGV[1].to_s)
4
+ movie = HsinChuMovie.new(ARGV[0].to_s)
5
5
  movie.movie_table_output
data/lib/kandianying.rb CHANGED
@@ -5,6 +5,6 @@ class HsinChuMovie
5
5
  include VieShow
6
6
 
7
7
  def movie_table_output
8
- puts to_json
8
+ to_json
9
9
  end
10
10
  end
@@ -1,5 +1,5 @@
1
1
  # Gem info
2
2
  module KanDianYing
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
  DATE = '2015-10-24'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kandianying
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - stonegold546