serenity_now 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,11 +66,11 @@ module SerenityNow
66
66
 
67
67
  #
68
68
  # Full Schedule
69
- # available options: { country: 'US', 24_format: 1 }
69
+ # available options: { country: 'US', 24_format: '1' }
70
70
  #
71
- def schedule( country = 'US', 24h = false )
72
- query = { country: country, 24_format: (24h ? 1 : 0) }
73
- self.clas.get( '/fullschedule.php', query: query )
71
+ def schedule( country = 'US', format24 = false )
72
+ uri = "/fullschedule.php?country="+country+"&24_format=" + (format24 ? '1' : '0')
73
+ self.class.get( uri )
74
74
  end
75
75
 
76
76
  end
@@ -1,3 +1,3 @@
1
1
  module SerenityNow
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serenity_now
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: