rails-rail-in 0.0.2 → 0.0.3

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: ff2bbe6e65a7e64e8dc37f55661278dcfed7af16
4
- data.tar.gz: 0313b4a21451b0e3287028b091e0c373849e8ee1
3
+ metadata.gz: 9be7bcc798e3ecb598de3733fb68ec2ed902a6ab
4
+ data.tar.gz: 191133bbf5e3fe538c8e437d39bc003964c78e6b
5
5
  SHA512:
6
- metadata.gz: 28c97bef8070045c8fd1a031ecd81f9b5372258db65954cb72d32e03fc1c5ee74ec6ec1ebd9921c83ebc2398684654a1e6ae740f30a25a62bbb81aa4de82eace
7
- data.tar.gz: 2e1d8148d7007a2e2f7f598e2e0550a1957bd90c1bd00316194e48f58944ebecd059578060edf3d5880fd87041014a475daa4c6038d6238a1fce880c9b71a203
6
+ metadata.gz: 670fb33878a91e18570b29468fff43d650fcabd490ca0cc8de80ba1b13e3d3b3f8c7fdaedb5da9ff619210bde3229b3da74b8ad9cdbf16440e84e865a80e3a52
7
+ data.tar.gz: 253d1a2efb799e9991b66cfdf455bb845ee73688463bf58c98a51537eec3fb880bdcfe29b240646b2dc004381fb7694a1055fb030cf134721e1fba38ca093501
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Rails::Rail::In
2
2
 
3
- TODO: Write a gem description
3
+ Indian Railways Trains, PNR Status, Features to come IRCTC Availability, Running Status, Map, Arrival Departure, Route, Fare Check...
4
4
 
5
5
  ## Installation
6
6
 
@@ -21,7 +21,7 @@ Or install it yourself as:
21
21
  ## Usage
22
22
 
23
23
  var1 = Rails::Rail::In.pnr_status(your_pnr_number)
24
- <!-- You will get JSON response -->
24
+ # You will get JSON response
25
25
 
26
26
  ## Contributing
27
27
 
@@ -1,7 +1,7 @@
1
1
  module Rails
2
2
  module Rail
3
3
  module In
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
data/lib/rails/rail/in.rb CHANGED
@@ -5,7 +5,7 @@ module Rails
5
5
  module Rail
6
6
  module In
7
7
  def self.pnr_status(pnr_no)
8
- RestClient.get "http://api.erail.in/pnr?key=fd3ebf59-3ed8-424f-a99d-5cfad4337d94&#{pnr_no}"
8
+ RestClient.get "http://api.erail.in/pnr?key=fd3ebf59-3ed8-424f-a99d-5cfad4337d94&pnr=#{pnr_no}"
9
9
  end
10
10
 
11
11
  def self.base_url
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-rail-in
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - psaravanan11
@@ -54,6 +54,7 @@ files:
54
54
  - lib/rails/rail/in.rb
55
55
  - lib/rails/rail/in/version.rb
56
56
  - rails-rail-in-0.0.1.gem
57
+ - rails-rail-in-0.0.2.gem
57
58
  - rails-rail-in.gemspec
58
59
  homepage: ''
59
60
  licenses: