kanazawa_loop_bus 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -31,6 +31,9 @@ service.buses[0].prev_stop.name # 前のバス停の名前
31
31
  service.buses[0].next_stop.name # 次のバス停の名前
32
32
 
33
33
  service.buses[0].next_stop.next.name # 次のバス停のさらに次のバス停の名前
34
+
35
+ # データの再取得
36
+ service.refetch!
34
37
  ```
35
38
 
36
39
  ## Contributing
@@ -15,7 +15,7 @@ module KanazawaLoopBus
15
15
  raise "Service Finished" if service_finished?
16
16
  @fetch_time = Time.now
17
17
  end
18
- alias_method :refetch, :fetch
18
+ alias_method :refetch!, :fetch
19
19
 
20
20
  def buses
21
21
  @doc.xpath('//td/img').select { |img|
@@ -1,3 +1,3 @@
1
1
  module KanazawaLoopBus
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanazawa_loop_bus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: