cs-rails 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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0db3a424ccb5afef3980ed6abdd7d442be81bb3c
4
- data.tar.gz: c7f51bfc43469b9583f8b232e9b08125017659d4
3
+ metadata.gz: 458044d30b4cf3567df9845c21a71fb4c730c700
4
+ data.tar.gz: 97284b89f2b60c5ad83c7082eb3233a1e59b08d8
5
5
  SHA512:
6
- metadata.gz: f2731b6d70c24acb6f6cb0c62151e94201687151e23a3e0b1120a7126f861daf3a981aa98ef18bf7c61086ee2e6c4e49615a1ca6c36aa0d7a6a378b53495dc35
7
- data.tar.gz: b49459768cd74eadc6ec8c80093013c6edba1428d39f59f218625ea7d4f1dd001d6cab9c7fffc75882c2b84dfcf194734404c0959253119e41a2f1f98c8037d9
6
+ metadata.gz: 7f23ceded617098545b60e1cd53a8b525ebb67f10eeda6272d3b08fc89b29535884790b6e67e7fbd8b352f72b35a33184a691bb441afa80b80bd3e1d0c1fb68b
7
+ data.tar.gz: 075d4bd6a9d2ef6a52903bce7dda7e9443a7e6d503c40039524d4c38730caf0fba71bc6f10c6abafd4ddcfb7b1d905a44783f8c8dd823aea87ca1b4a91e249dc
@@ -1,4 +1,4 @@
1
- $(document).on 'page:change', ->
1
+ $(document).on 'page:change turbolinks:load', ->
2
2
  $('select[data-cs-rails]').change (event, callback) ->
3
3
  $.get "<%= CsRails::Engine.routes.url_helpers.states_index_path %>",
4
4
  {
@@ -6,4 +6,4 @@ $(document).on 'page:change', ->
6
6
  state_input_id: $(@).data('state-input-id')
7
7
  }, null, 'script'
8
8
  .done ->
9
- callback() if callback
9
+ callback() if callback
@@ -1,6 +1,5 @@
1
1
  require "cs-rails/engine"
2
- require "countries/global"
3
- require "core_extensions/action_view/helpers/form_options_helper"
2
+ require "country_select"
4
3
 
5
4
  module CsRails
6
5
  end
@@ -1,3 +1,3 @@
1
1
  module CsRails
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cs-rails
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
  - Kadu Diógenes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-26 00:00:00.000000000 Z
11
+ date: 2017-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
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: '4.2'
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: '4.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: coffee-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.1'
34
34
  type: :runtime
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: '4.1'
41
41
  - !ruby/object:Gem::Dependency
42
- name: countries
42
+ name: country_select
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '1.2'
47
+ version: 3.0.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '1.2'
54
+ version: 3.0.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pg
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -103,8 +103,8 @@ extra_rdoc_files: []
103
103
  files:
104
104
  - MIT-LICENSE
105
105
  - Rakefile
106
- - app/assets/javascripts/cs-rails/application.js
107
106
  - app/assets/javascripts/cs-rails/countries.coffee.erb
107
+ - app/assets/javascripts/cs-rails/index.js
108
108
  - app/assets/stylesheets/cs_rails/application.css
109
109
  - app/assets/stylesheets/cs_rails/states.css
110
110
  - app/controllers/cs_rails/application_controller.rb