workarea-google_address_autocomplete 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.editorconfig +20 -0
- data/.eslintignore +2 -0
- data/.eslintrc +24 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
- data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.gitignore +16 -0
- data/.rspec +2 -0
- data/.scss-lint.yml +188 -0
- data/CHANGELOG.md +119 -0
- data/CODE_OF_CONDUCT.md +3 -0
- data/CONTRIBUTING.md +3 -0
- data/Gemfile +9 -0
- data/LICENSE +52 -0
- data/README.md +88 -0
- data/Rakefile +64 -0
- data/app/assets/javascripts/workarea/storefront/google_address_autocomplete/config.js.erb +38 -0
- data/app/assets/javascripts/workarea/storefront/google_address_autocomplete/modules/google_address_autocomplete.js.erb +175 -0
- data/app/assets/javascripts/workarea/storefront/google_address_autocomplete/templates/autocomplete_text_box.jst.ejs +1 -0
- data/bin/rails +18 -0
- data/config/initializers/append_points.rb +19 -0
- data/config/initializers/workarea.rb +2 -0
- data/config/locales/en.yml +6 -0
- data/example.png +0 -0
- data/lib/workarea/google_address_autocomplete.rb +12 -0
- data/lib/workarea/google_address_autocomplete/engine.rb +8 -0
- data/lib/workarea/google_address_autocomplete/version.rb +5 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +4 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/jobs/application_job.rb +2 -0
- data/test/dummy/app/mailers/application_mailer.rb +4 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +34 -0
- data/test/dummy/bin/update +29 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/cable.yml +9 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +54 -0
- data/test/dummy/config/environments/production.rb +86 -0
- data/test/dummy/config/environments/test.rb +43 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/new_framework_defaults.rb +21 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/workarea.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/puma.rb +47 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/javascripts/fixtures/address_fields.html.haml +59 -0
- data/test/javascripts/google_address_autocomplete_spec.js +92 -0
- data/test/javascripts/spec_helper.js +4 -0
- data/test/teaspoon_env.rb +10 -0
- data/test/test_helper.rb +10 -0
- data/workarea-google_address_autocomplete.gemspec +24 -0
- metadata +151 -0
data/test/test_helper.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV['RAILS_ENV'] = 'test'
|
3
|
+
|
4
|
+
require File.expand_path('../../test/dummy/config/environment.rb', __FILE__)
|
5
|
+
require 'rails/test_help'
|
6
|
+
require 'workarea/test_help'
|
7
|
+
|
8
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
9
|
+
# to be shown.
|
10
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
@@ -0,0 +1,24 @@
|
|
1
|
+
$:.push File.expand_path('../lib', __FILE__)
|
2
|
+
|
3
|
+
# Maintain your gem's version:
|
4
|
+
require 'workarea/google_address_autocomplete/version'
|
5
|
+
|
6
|
+
# Describe your gem and declare its dependencies:
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = 'workarea-google_address_autocomplete'
|
9
|
+
s.version = Workarea::GoogleAddressAutocomplete::VERSION
|
10
|
+
s.authors = ['Curt Howard']
|
11
|
+
s.email = ['choward@workarea.com']
|
12
|
+
s.homepage = 'https://github.com/workarea-commerce/workarea-google-address-autocomplete'
|
13
|
+
s.summary = 'Adds address autocomplete based on Google Places to the Workarea Commerce Platform'
|
14
|
+
s.description = 'A Google Address Autocomplete plugin, made possible by ' +
|
15
|
+
"Google Maps API's Geocoding & Google Places Autocomplete, " +
|
16
|
+
'via the jQuery Geocomplete plugin.'
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.license = 'Business Software License'
|
19
|
+
|
20
|
+
s.required_ruby_version = '>= 2.0.0'
|
21
|
+
|
22
|
+
s.add_dependency 'workarea', '~> 3.x'
|
23
|
+
s.add_dependency 'geocomplete_rails', '~> 1.6.5'
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,151 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: workarea-google_address_autocomplete
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Curt Howard
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: workarea
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.x
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.x
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: geocomplete_rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.6.5
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.6.5
|
41
|
+
description: A Google Address Autocomplete plugin, made possible by Google Maps API's
|
42
|
+
Geocoding & Google Places Autocomplete, via the jQuery Geocomplete plugin.
|
43
|
+
email:
|
44
|
+
- choward@workarea.com
|
45
|
+
executables: []
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files: []
|
48
|
+
files:
|
49
|
+
- ".editorconfig"
|
50
|
+
- ".eslintignore"
|
51
|
+
- ".eslintrc"
|
52
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
53
|
+
- ".github/ISSUE_TEMPLATE/documentation-request.md"
|
54
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
55
|
+
- ".gitignore"
|
56
|
+
- ".rspec"
|
57
|
+
- ".scss-lint.yml"
|
58
|
+
- CHANGELOG.md
|
59
|
+
- CODE_OF_CONDUCT.md
|
60
|
+
- CONTRIBUTING.md
|
61
|
+
- Gemfile
|
62
|
+
- LICENSE
|
63
|
+
- README.md
|
64
|
+
- Rakefile
|
65
|
+
- app/assets/javascripts/workarea/storefront/google_address_autocomplete/config.js.erb
|
66
|
+
- app/assets/javascripts/workarea/storefront/google_address_autocomplete/modules/google_address_autocomplete.js.erb
|
67
|
+
- app/assets/javascripts/workarea/storefront/google_address_autocomplete/templates/autocomplete_text_box.jst.ejs
|
68
|
+
- bin/rails
|
69
|
+
- config/initializers/append_points.rb
|
70
|
+
- config/initializers/workarea.rb
|
71
|
+
- config/locales/en.yml
|
72
|
+
- example.png
|
73
|
+
- lib/workarea/google_address_autocomplete.rb
|
74
|
+
- lib/workarea/google_address_autocomplete/engine.rb
|
75
|
+
- lib/workarea/google_address_autocomplete/version.rb
|
76
|
+
- test/dummy/Rakefile
|
77
|
+
- test/dummy/app/assets/config/manifest.js
|
78
|
+
- test/dummy/app/assets/images/.keep
|
79
|
+
- test/dummy/app/assets/javascripts/application.js
|
80
|
+
- test/dummy/app/assets/stylesheets/application.css
|
81
|
+
- test/dummy/app/controllers/application_controller.rb
|
82
|
+
- test/dummy/app/controllers/concerns/.keep
|
83
|
+
- test/dummy/app/helpers/application_helper.rb
|
84
|
+
- test/dummy/app/jobs/application_job.rb
|
85
|
+
- test/dummy/app/mailers/application_mailer.rb
|
86
|
+
- test/dummy/app/models/concerns/.keep
|
87
|
+
- test/dummy/app/views/layouts/application.html.erb
|
88
|
+
- test/dummy/app/views/layouts/mailer.html.erb
|
89
|
+
- test/dummy/app/views/layouts/mailer.text.erb
|
90
|
+
- test/dummy/bin/bundle
|
91
|
+
- test/dummy/bin/rails
|
92
|
+
- test/dummy/bin/rake
|
93
|
+
- test/dummy/bin/setup
|
94
|
+
- test/dummy/bin/update
|
95
|
+
- test/dummy/config.ru
|
96
|
+
- test/dummy/config/application.rb
|
97
|
+
- test/dummy/config/boot.rb
|
98
|
+
- test/dummy/config/cable.yml
|
99
|
+
- test/dummy/config/environment.rb
|
100
|
+
- test/dummy/config/environments/development.rb
|
101
|
+
- test/dummy/config/environments/production.rb
|
102
|
+
- test/dummy/config/environments/test.rb
|
103
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
104
|
+
- test/dummy/config/initializers/assets.rb
|
105
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
106
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
107
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
108
|
+
- test/dummy/config/initializers/inflections.rb
|
109
|
+
- test/dummy/config/initializers/mime_types.rb
|
110
|
+
- test/dummy/config/initializers/new_framework_defaults.rb
|
111
|
+
- test/dummy/config/initializers/session_store.rb
|
112
|
+
- test/dummy/config/initializers/workarea.rb
|
113
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
114
|
+
- test/dummy/config/locales/en.yml
|
115
|
+
- test/dummy/config/puma.rb
|
116
|
+
- test/dummy/config/routes.rb
|
117
|
+
- test/dummy/config/secrets.yml
|
118
|
+
- test/dummy/config/spring.rb
|
119
|
+
- test/dummy/lib/assets/.keep
|
120
|
+
- test/dummy/log/.keep
|
121
|
+
- test/javascripts/fixtures/address_fields.html.haml
|
122
|
+
- test/javascripts/google_address_autocomplete_spec.js
|
123
|
+
- test/javascripts/spec_helper.js
|
124
|
+
- test/teaspoon_env.rb
|
125
|
+
- test/test_helper.rb
|
126
|
+
- workarea-google_address_autocomplete.gemspec
|
127
|
+
homepage: https://github.com/workarea-commerce/workarea-google-address-autocomplete
|
128
|
+
licenses:
|
129
|
+
- Business Software License
|
130
|
+
metadata: {}
|
131
|
+
post_install_message:
|
132
|
+
rdoc_options: []
|
133
|
+
require_paths:
|
134
|
+
- lib
|
135
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: 2.0.0
|
140
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0'
|
145
|
+
requirements: []
|
146
|
+
rubygems_version: 3.0.4
|
147
|
+
signing_key:
|
148
|
+
specification_version: 4
|
149
|
+
summary: Adds address autocomplete based on Google Places to the Workarea Commerce
|
150
|
+
Platform
|
151
|
+
test_files: []
|