country_state_select 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NGNhZWIyOTQzM2VhYjc2YWRjODQxZmVlMzdiMDVlNTc1MGU0M2I5OA==
5
- data.tar.gz: !binary |-
6
- OGQxMWVjY2VhZDQzZjc2MTg4OGRjYWE1NDY3NDBkYTRjMWNhN2E3OQ==
2
+ SHA1:
3
+ metadata.gz: b2f1d88b3de9f0500fe9a10c68aa4bdac005f260
4
+ data.tar.gz: d7b873f94d223d8dd2d0705862c76a44c16f49c9
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZjU2NWUyYTczNWY1ZjFhYzgwNjcxZTc0YjVkNmU0MDBmMzYxOGZkN2U4ZGVj
10
- OTYzNWU0NzIxZWY3ZGQwMjRmNmI1NDY1MGYyZWE0ZjFhMTNmMDQ1YzFmYzUz
11
- NTU2OTQxMjY2NjEzNmFlYzNjMGU4MGVjOTE2Y2JjNjA4NjY5YmI=
12
- data.tar.gz: !binary |-
13
- NGJjMWJhYTg5ZGY0ZmI3MWIyY2VhMjcyOTgzYzgzNzA5ZjE4YmE2YmVkZjA2
14
- MjQ3NGZlMDNhNTZkMDk3MzRmYjE3NWEwMjZhODNmZjAxOTM0NDk3MWU0NTU2
15
- ODE1OGQ1YThhNTQzMGMwOWM1NGZhZmY5ZmRmZDYyMjBmZTBhNTM=
6
+ metadata.gz: e93598b103a8f04c767b09a3e6b84a4d62c04c63691374cee2eaf91f141cffb9e34dd39f8ce7bd47ee3a3f54034f9e6e8d0b5cb4722b267c89fc5923c94bf673
7
+ data.tar.gz: 81dd744bf3ec0e83444271d3431134123159d31c33aba86702396ffe52ba40d01381950ba0e3537395d32a4e70d7a9dfbfaf14ccfcc7e8ae6f8fc4e9c2ad8a3e
data/README.md CHANGED
@@ -18,6 +18,10 @@ Or install it yourself as:
18
18
 
19
19
  ##Very easy to create select box just follow below steps
20
20
 
21
+ First put this to the application.js file to load the js file
22
+
23
+ //= require country_state_select
24
+
21
25
  It will create for you a select option, just care about 'id' if you want to update your state field
22
26
 
23
27
  <%= f.select :country_name, CountryStateSelect::Constant::COUNTRIES, {}, id: 'country_id' %>
@@ -36,7 +40,7 @@ If you want to fetch the country name By 'id' then you have to just write
36
40
  <%= CountryStateSelect::Constant::COUNTRIES['PASS THE COUNTRY ID WHICH YOU SAVE HERE'] %>
37
41
 
38
42
 
39
- NOTE :- It will update the state field when there will be India,United Kingdom,Canada and United States so except there country if you select other country then you have to manually enter the state name, we are working on this soon we will cover most of the country
43
+ NOTE :- It will update the state field when there will be India,United Kingdom,Canada and United States so except these country if you select other country then you have to manually enter the state name, we are working on this soon we will cover most of the country
40
44
 
41
45
 
42
46
  ## Contributing
@@ -1,3 +1,3 @@
1
1
  module CountryStateSelect
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: country_state_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvind Vyas
@@ -14,42 +14,42 @@ dependencies:
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.6'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Can list out country and according to that can list stae.
@@ -59,7 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
62
+ - ".gitignore"
63
63
  - Gemfile
64
64
  - LICENSE.txt
65
65
  - README.md
@@ -155,12 +155,12 @@ require_paths:
155
155
  - lib
156
156
  required_ruby_version: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - ! '>='
158
+ - - ">="
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - ! '>='
163
+ - - ">="
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []