indian-states 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -18,9 +18,7 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- include Indian::States # add line wherever needed
22
-
23
- in_states # returns list of states as JSON format
21
+ Indian::States::in_states # returns list of states as JSON format
24
22
 
25
23
  ## Contributing
26
24
 
@@ -3,10 +3,9 @@ require 'json'
3
3
 
4
4
  module Indian
5
5
  module States
6
- STATES = JSON.parse(File.read('states.json'), :symbolize_names => true)
6
+ STATES = JSON.parse(File.read("#{File.dirname(__FILE__)}/states.json"), :symbolize_names => true)
7
7
  def self.in_states state=nil
8
8
  STATES
9
9
  end
10
10
  end
11
- end
12
-
11
+ end
@@ -1,5 +1,5 @@
1
1
  module Indian
2
2
  module States
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: indian-states
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - vajapravin
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-04-03 00:00:00.000000000 Z
12
+ date: 2014-04-13 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,15 +30,17 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - '>='
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - '>='
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  description: India is a country located in southern Asia. Get list of all indian states
@@ -58,25 +63,26 @@ files:
58
63
  homepage: http://github.com/vajapravin/indian-states
59
64
  licenses:
60
65
  - MIT
61
- metadata: {}
62
66
  post_install_message:
63
67
  rdoc_options: []
64
68
  require_paths:
65
69
  - lib
66
70
  required_ruby_version: !ruby/object:Gem::Requirement
71
+ none: false
67
72
  requirements:
68
- - - '>='
73
+ - - ! '>='
69
74
  - !ruby/object:Gem::Version
70
75
  version: '0'
71
76
  required_rubygems_version: !ruby/object:Gem::Requirement
77
+ none: false
72
78
  requirements:
73
- - - '>='
79
+ - - ! '>='
74
80
  - !ruby/object:Gem::Version
75
81
  version: '0'
76
82
  requirements: []
77
83
  rubyforge_project:
78
- rubygems_version: 2.2.2
84
+ rubygems_version: 1.8.23
79
85
  signing_key:
80
- specification_version: 4
86
+ specification_version: 3
81
87
  summary: indian-states gem provides you list of Indian States with sub-states.
82
88
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 5a44241c351d9433a22e332bd72bc4397d7173e1
4
- data.tar.gz: 5a9464a64b49e74f8a9fdfacc263a3138f0a0e7d
5
- SHA512:
6
- metadata.gz: 56ac38ea824d97a6c792d31e1c87c268b53a2832856e4e5fe913e924ce72286a8db260d75ea71a366b0503f9be6ca677973a98324a4df01c42de78838c6f3e33
7
- data.tar.gz: 1e8c160289da7299fcd25b9ed4e575a8d2f0fb018e40aa79628a2078f315d1cc728baa90a707b322dfc9ea1d425bece532ffad6040d04e402c08ad238ea9b590