ns-api 0.0.2 → 0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,6 @@ module Ns
32
32
  def new_disruption(raw_disruption)
33
33
  if raw_disruption.size >= 2
34
34
  raw_disruption = raw_disruption[1]
35
- raw_disruption = raw_disruption[0] if raw_disruption.is_a?(Array)
36
35
 
37
36
  Ns::Disruption.new(
38
37
  route: raw_disruption['Traject'],
@@ -1,3 +1,3 @@
1
1
  module Ns
2
- VERSION = '0.2'
2
+ VERSION = '0.1'
3
3
  end
data/ns.gemspec CHANGED
@@ -2,11 +2,9 @@
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
- require 'ns/version'
6
-
7
5
  Gem::Specification.new do |gem|
8
6
  gem.name = "ns-api"
9
- gem.version = Ns::VERSION
7
+ gem.version = "0.1"
10
8
  gem.authors = ["Marcel de Graaf"]
11
9
  gem.email = ["mail@marceldegraaf.net"]
12
10
  gem.description = %q{A Ruby implementation of the NS (Dutch Railways) API}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ns-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: '0.1'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-20 00:00:00.000000000 Z
12
+ date: 2013-02-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httpi