blacklight-maps 1.1.0 → 1.2.0

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
  SHA256:
3
- metadata.gz: b23c73a0ba75175cfe101746f9ff1ae0592a42556a34c9d1e4fe8cc2c42b8081
4
- data.tar.gz: ce938a6f2884faccb3051985ab84fe0bf40505f1246fe56ca1d2621ca823b2a9
3
+ metadata.gz: a5f97f65f09264f6f7c17afda244ee952c15c01fccf072e60e89ec7401a15989
4
+ data.tar.gz: c00ba470859274d2e62cff117c875deea3c7aa4c419595e46b5087bbc30b4c99
5
5
  SHA512:
6
- metadata.gz: c83862d2c315629f8610d15978b386aa7f9e6d889a82fd70ef540870f6b7e80bb6c0cd2b507bbf06019f31b39a68f34970721d90bffb1bc747b86fec433c8607
7
- data.tar.gz: e1de2250bbe1f18826ff9ab17f814ef3e2ce53e745fd0c66e3f19c2de7f45e13bff72224da8d042ca91ae0546ad87c673e93cd136fe84d3abb8927b98f374b2c
6
+ metadata.gz: e27c8bc1357431f728a924d8ff6557ec6e9ea0d32962cb3c94eeaf0e0c5a8fff5a7eb7c7dc62f2c84c89f77ae1308521eef579c76d4ee01991b813cdbc76d5a6
7
+ data.tar.gz: 00134ab9767316aa17974520e3b8f8a050bbd7959c7b31d24913d791a7556028307b4266fa60d495e6f15c7adf1df0d9389914ac68e023fb4dadb88e6fbb7e37
@@ -0,0 +1,33 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [master]
6
+ pull_request:
7
+ branches: [master]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ name: test (ruby ${{ matrix.ruby }} / rails ${{ matrix.rails_version }} / blacklight ${{ matrix.blacklight_version }} ${{ matrix.additional_name }})
13
+ strategy:
14
+ matrix:
15
+ ruby: ["3.2", "3.3", "3.4"]
16
+ rails_version: ["7.1.5.1", "7.2.2"]
17
+ blacklight_version: ["~> 7.0"]
18
+ additional_engine_cart_rails_options: [""]
19
+ additional_name: [""]
20
+ env:
21
+ RAILS_VERSION: ${{ matrix.rails_version }}
22
+ BLACKLIGHT_VERSION: ${{ matrix.blacklight_version }}
23
+ ENGINE_CART_RAILS_OPTIONS: "--skip-action-cable ${{ matrix.additional_engine_cart_rails_options }}"
24
+ steps:
25
+ - uses: actions/checkout@v4
26
+ - name: Set up Ruby ${{ matrix.ruby }}
27
+ uses: ruby/setup-ruby@v1
28
+ with:
29
+ ruby-version: ${{ matrix.ruby }}
30
+ - name: Install dependencies with Rails ${{ matrix.rails_version }}
31
+ run: bundle install
32
+ - name: Run tests
33
+ run: bundle exec rake
data/.rubocop.yml CHANGED
@@ -1,8 +1,10 @@
1
- require: rubocop-rspec
1
+ plugins:
2
+ - rubocop-rspec
3
+ - rubocop-rails
2
4
 
3
5
  AllCops:
4
6
  DisplayCopNames: true
5
- TargetRubyVersion: 2.3
7
+ TargetRubyVersion: 3.4
6
8
  Exclude:
7
9
  - "lib/generators/blacklight_maps/templates/**/*"
8
10
  - "blacklight-maps.gemspec"
@@ -33,7 +35,7 @@ Metrics/ClassLength:
33
35
  Exclude:
34
36
  - 'lib/blacklight/maps/export.rb'
35
37
 
36
- Metrics/LineLength:
38
+ Layout/LineLength:
37
39
  Max: 200
38
40
  Exclude:
39
41
  - 'lib/blacklight/maps/engine.rb'
@@ -46,12 +48,15 @@ Naming/HeredocDelimiterNaming:
46
48
  Enabled: false
47
49
 
48
50
  Naming/PredicateName:
49
- NamePrefixBlacklist:
51
+ ForbiddenPrefixes:
50
52
  - is_
51
53
 
52
54
  Rails:
53
55
  Enabled: true
54
56
 
57
+ Rails/HelperInstanceVariable:
58
+ Enabled: false
59
+
55
60
  Rails/OutputSafety:
56
61
  Enabled: false
57
62
 
@@ -66,7 +71,7 @@ RSpec/DescribeClass:
66
71
  Exclude:
67
72
  - 'spec/system/*'
68
73
 
69
- RSpec/FilePath:
74
+ RSpec/SpecFilePathFormat:
70
75
  Exclude:
71
76
  - 'spec/lib/blacklight/maps/*'
72
77
 
@@ -76,6 +81,9 @@ RSpec/MessageSpies:
76
81
  RSpec/MultipleExpectations:
77
82
  Max: 4
78
83
 
84
+ RSpec/MultipleMemoizedHelpers:
85
+ Max: 10
86
+
79
87
  RSpec/NestedGroups:
80
88
  Max: 5
81
89
 
@@ -87,10 +95,6 @@ RSpec/PredicateMatcher:
87
95
  Style/AccessModifierDeclarations:
88
96
  Enabled: false
89
97
 
90
- Style/BracesAroundHashParameters:
91
- Exclude:
92
- - 'spec/lib/blacklight/maps/export_spec.rb'
93
-
94
98
  Style/Documentation:
95
99
  Enabled: false
96
100
 
data/.solr_wrapper.yml CHANGED
@@ -5,3 +5,4 @@
5
5
  collection:
6
6
  dir: ./.internal_test_app/solr/conf/
7
7
  name: blacklight-core
8
+ version: 9.6.1
data/Gemfile CHANGED
@@ -5,13 +5,12 @@ source 'https://rubygems.org'
5
5
  gemspec
6
6
 
7
7
  group :development, :test do
8
- gem 'coveralls', require: false
8
+ gem 'coveralls_reborn', require: false
9
9
  end
10
10
 
11
- gem 'engine_cart'
12
11
  # BEGIN ENGINE_CART BLOCK
13
- # engine_cart: 1.2.0
14
- # engine_cart stanza: 0.10.0
12
+ # engine_cart: 2.6.0
13
+ # engine_cart stanza: 2.5.0
15
14
  # the below comes from engine_cart, a gem used to test this Rails engine gem in the context of a Rails app.
16
15
  file = File.expand_path('Gemfile', ENV['ENGINE_CART_DESTINATION'] || ENV['RAILS_ROOT'] || File.expand_path('.internal_test_app', File.dirname(__FILE__)))
17
16
  if File.exist?(file)
@@ -31,18 +30,16 @@ else
31
30
  else
32
31
  gem 'rails', ENV['RAILS_VERSION']
33
32
  end
34
- end
35
33
 
36
- case ENV['RAILS_VERSION']
37
- when /^5.[12]/, /^6.0/
38
- gem 'sass-rails', '~> 5.0'
39
- when /^4.2/
40
- gem 'responders', '~> 2.0'
41
- gem 'sass-rails', '>= 5.0'
42
- gem 'coffee-rails', '~> 4.1.0'
43
- gem 'json', '~> 1.8'
44
- when /^4.[01]/
45
- gem 'sass-rails', '< 5.0'
34
+ case ENV['RAILS_VERSION']
35
+ when /^6.0/
36
+ gem 'sass-rails', '>= 6'
37
+ gem 'webpacker', '~> 4.0'
38
+ when /^5.[12]/
39
+ gem 'sass-rails', '~> 5.0'
40
+ gem 'sprockets', '~> 3.7'
41
+ gem 'thor', '~> 0.20'
42
+ end
46
43
  end
47
44
  end
48
45
  # END ENGINE_CART BLOCK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Blacklight::Maps
2
2
 
3
- [![Build Status](https://travis-ci.org/projectblacklight/blacklight-maps.png?branch=master)](https://travis-ci.org/projectblacklight/blacklight-maps) | [![Coverage Status](https://coveralls.io/repos/projectblacklight/blacklight-maps/badge.svg?branch=master)](https://coveralls.io/r/projectblacklight/blacklight-maps?branch=master)
3
+ ![CI](https://github.com/projectblacklight/blacklight-maps/workflows/CI/badge.svg) | [![Coverage Status](https://coveralls.io/repos/projectblacklight/blacklight-maps/badge.svg?branch=master)](https://coveralls.io/r/projectblacklight/blacklight-maps?branch=master)
4
4
 
5
5
  Provides map views for Blacklight for items with geospatial coordinate (latitude/longitude) metadata.
6
6
 
@@ -196,6 +196,7 @@ The table below indicates which versions of Blacklight Maps are compatible with
196
196
 
197
197
  Blacklight Maps version | works with Blacklight version
198
198
  ----------------------- | ---------------------
199
+ 1.2.* | >= 7.35.0, < 8
199
200
  1.1.* | >= 7.8.0, < 8
200
201
  0.5.* | >= 6.1.0, < 7
201
202
  0.4.* | >= 5.12.0, < 6.*
@@ -12,7 +12,7 @@ module Blacklight
12
12
  mapattribution: maps_config.mapattribution
13
13
  }
14
14
  options = { id: id, data: default_data }.deep_merge(tag_options)
15
- block_given? ? content_tag(:div, options, &block) : tag(:div, options)
15
+ block_given? ? content_tag(:div, options, &block) : tag.div(**options)
16
16
  end
17
17
 
18
18
  # return the placename value to be used as a link
@@ -20,15 +20,15 @@ Gem::Specification.new do |s|
20
20
  s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  s.require_paths = ['lib']
22
22
 
23
- s.add_dependency 'blacklight', '>= 7.8.0', '< 8'
24
- s.add_dependency 'rails', '>= 5.1', '< 7'
23
+ s.add_dependency 'blacklight', '>= 7.35.0', '< 8'
24
+ s.add_dependency 'rails', '>= 7.1', '< 8'
25
25
 
26
26
  s.add_development_dependency 'capybara'
27
- s.add_development_dependency 'engine_cart', '~> 2.1'
28
- s.add_development_dependency 'rspec-rails', '~> 3.0'
29
- s.add_development_dependency 'rubocop', '~> 0.63.0'
30
- s.add_development_dependency 'rubocop-rspec', '~> 1.8'
31
- s.add_development_dependency 'selenium-webdriver', '>= 3.13.1'
32
- s.add_development_dependency 'solr_wrapper', '~> 2.0'
33
- s.add_development_dependency 'webdrivers', '~> 3.0'
27
+ s.add_development_dependency 'engine_cart', '~> 2.6'
28
+ s.add_development_dependency 'rspec-rails', '~> 7.1'
29
+ s.add_development_dependency 'rubocop', '~> 1.72.2'
30
+ s.add_development_dependency 'rubocop-rspec', '~> 3.4'
31
+ s.add_development_dependency "rubocop-rails", '~> 2.30'
32
+ s.add_development_dependency 'selenium-webdriver', '~> 4.0'
33
+ s.add_development_dependency 'solr_wrapper', '~> 4.1'
34
34
  end
@@ -23,7 +23,9 @@ module Blacklight
23
23
 
24
24
  # Add our helpers
25
25
  initializer 'blacklight-maps.helpers' do |_app|
26
- ActionView::Base.send :include, BlacklightMapsHelper
26
+ config.after_initialize do
27
+ ActionView::Base.include BlacklightMapsHelper
28
+ end
27
29
  end
28
30
 
29
31
  # This makes our rake tasks visible.
@@ -94,6 +94,7 @@ module BlacklightMaps
94
94
  # turn bboxes into points for index view so we don't get weird mix of boxes and markers
95
95
  # @param loc [Hash]
96
96
  # @param hits [Integer]
97
+ # rubocop:disable Metrics/AbcSize
97
98
  def build_feature_from_geojson(loc, hits = nil)
98
99
  geojson = JSON.parse(loc).deep_symbolize_keys
99
100
  if @action != :show && geojson[:bbox]
@@ -107,6 +108,7 @@ module BlacklightMaps
107
108
  geojson[:properties][:popup] = render_leaflet_popup_content(geojson, hits)
108
109
  geojson
109
110
  end
111
+ # rubocop:enable Metrics/AbcSize
110
112
 
111
113
  # build GeoJSON feature from incoming raw coordinate data
112
114
  # turn bboxes into points for index view so we don't get weird mix of boxes and markers
@@ -116,7 +118,7 @@ module BlacklightMaps
116
118
  geojson = { type: 'Feature', properties: {} }
117
119
  if coords =~ /ENVELOPE/ # bbox
118
120
  geojson.merge!(build_bbox_feature_from_coords(coords))
119
- elsif coords =~ /^[-]?[\d]*[\.]?[\d]*[ ,][-]?[\d]*[\.]?[\d]*$/ # point
121
+ elsif coords =~ /^-?\d*\.?\d*[ ,]-?\d*\.?\d*$/ # point
120
122
  geojson[:geometry] = build_point_geometry(coords)
121
123
  else
122
124
  Rails.logger.error("This coordinate format is not yet supported: '#{coords}'")
@@ -46,7 +46,7 @@ module BlacklightMaps
46
46
  # Creates a new bounding box from from a Solr WKT Envelope string
47
47
  # "ENVELOPE(34.26, 35.89, 33.33, 29.47)" (minX, maxX, maxY, minY)
48
48
  def self.from_wkt_envelope(envelope)
49
- coords = envelope.gsub(/[[A-Z]\(\)]/, '')&.split(', ')
49
+ coords = envelope.gsub(/[[A-Z]()]/, '')&.split(', ')
50
50
  new([coords[0], coords[3], coords[1], coords[2]])
51
51
  end
52
52
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Blacklight
4
4
  module Maps
5
- VERSION = '1.1.0'
5
+ VERSION = '1.2.0'
6
6
  end
7
7
  end
@@ -6,7 +6,7 @@ describe BlacklightMaps::GeojsonExport do
6
6
  let(:controller) { CatalogController.new }
7
7
  let(:action) { :index }
8
8
  let(:response_docs) do
9
- YAML.safe_load(File.open(File.join(fixture_path, 'sample_solr_documents.yml')))
9
+ YAML.safe_load(File.open(File.join(RSpec.configuration.fixture_paths.first, 'sample_solr_documents.yml')))
10
10
  end
11
11
  let(:export) { described_class.new(controller, action, response_docs, foo: 'bar') }
12
12
 
data/spec/spec_helper.rb CHANGED
@@ -22,13 +22,12 @@ require 'blacklight/maps'
22
22
  require 'rspec/rails'
23
23
  require 'capybara/rspec'
24
24
  require 'selenium-webdriver'
25
- require 'webdrivers'
26
25
 
27
26
  RSpec.configure do |config|
28
27
  config.infer_spec_type_from_file_location!
29
- config.fixture_path = "#{Blacklight::Maps.root}/spec/fixtures"
28
+ config.fixture_paths = ["#{Blacklight::Maps.root}/spec/fixtures"]
30
29
 
31
- config.before(:each, type: :system, js: true) do
30
+ config.before(:each, :js, type: :system) do
32
31
  driven_by :selenium, using: :headless_chrome, screen_size: [1024, 768]
33
32
  end
34
33
  end
@@ -2,12 +2,13 @@
2
2
 
3
3
  require 'spec_helper'
4
4
 
5
- describe 'catalog#index map view', js: true do
5
+ describe 'catalog#index map view', :js do
6
6
  before do
7
7
  CatalogController.blacklight_config = Blacklight::Configuration.new
8
8
  CatalogController.configure_blacklight do |config|
9
9
  # use geojson facet for blacklight-maps catalog#index map view specs
10
10
  config.add_facet_field 'geojson_ssim', limit: -2, label: 'GeoJSON', show: false
11
+ config.add_facet_field 'subject_geo_ssim', label: 'Region'
11
12
  config.add_facet_fields_to_solr_request!
12
13
  end
13
14
  visit search_catalog_path q: 'korea', view: 'maps'
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'spec_helper'
4
4
 
5
- describe 'Initial map bounds view parameter', js: true do
5
+ describe 'Initial map bounds view parameter', :js do
6
6
  before(:all) do
7
7
  CatalogController.configure_blacklight do |config|
8
8
  config.view.maps.facet_mode = 'coordinates'
@@ -20,7 +20,7 @@ describe 'Initial map bounds view parameter', js: true do
20
20
  let(:map_tag) { '<div id="blacklight-index-map" data-initialview="[[37.65, -122.56],[37.89, -122.27]]" data-maxzoom="18" data-tileurl="http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" data-mapattribution="Map data &amp;copy; &lt;a href=&quot;http://openstreetmap.org&quot;&gt;OpenStreetMap&lt;/a&gt; contributors, &lt;a href=&quot;http://creativecommons.org/licenses/by-sa/2.0/&quot;&gt;CC-BY-SA&lt;/a&gt;" data-searchcontrol="true" data-catalogpath="/catalog" data-placenamefield="placename_field" data-clustercount="hits" />'.html_safe }
21
21
 
22
22
  it 'sets map to correct bounds when initialview provided' do
23
- expect_any_instance_of(Blacklight::BlacklightMapsHelperBehavior).to receive(:blacklight_map_tag).and_return(map_tag)
23
+ allow_any_instance_of(Blacklight::BlacklightMapsHelperBehavior).to receive(:blacklight_map_tag).and_return(map_tag)
24
24
  visit search_catalog_path f: { format: ['Book'] }, view: 'maps'
25
25
  expect(page).not_to have_selector('.leaflet-marker-icon.marker-cluster')
26
26
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'spec_helper'
4
4
 
5
- describe 'catalog#map view', js: true do
5
+ describe 'catalog#map view', :js do
6
6
  before do
7
7
  CatalogController.blacklight_config = Blacklight::Configuration.new
8
8
  CatalogController.configure_blacklight do |config|
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'spec_helper'
4
4
 
5
- describe 'catalog#show view', js: true do
5
+ describe 'catalog#show view', :js do
6
6
  before(:all) do
7
7
  CatalogController.blacklight_config = Blacklight::Configuration.new
8
8
  CatalogController.configure_blacklight do |config|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-maps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2020-06-11 00:00:00.000000000 Z
13
+ date: 2025-02-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: blacklight
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 7.8.0
21
+ version: 7.35.0
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
24
  version: '8'
@@ -28,7 +28,7 @@ dependencies:
28
28
  requirements:
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 7.8.0
31
+ version: 7.35.0
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
34
  version: '8'
@@ -38,20 +38,20 @@ dependencies:
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '5.1'
41
+ version: '7.1'
42
42
  - - "<"
43
43
  - !ruby/object:Gem::Version
44
- version: '7'
44
+ version: '8'
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
48
48
  requirements:
49
49
  - - ">="
50
50
  - !ruby/object:Gem::Version
51
- version: '5.1'
51
+ version: '7.1'
52
52
  - - "<"
53
53
  - !ruby/object:Gem::Version
54
- version: '7'
54
+ version: '8'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: capybara
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,98 +72,98 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.1'
75
+ version: '2.6'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '2.1'
82
+ version: '2.6'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec-rails
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.0'
89
+ version: '7.1'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '3.0'
96
+ version: '7.1'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.63.0
103
+ version: 1.72.2
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.63.0
110
+ version: 1.72.2
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rubocop-rspec
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '1.8'
117
+ version: '3.4'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '1.8'
124
+ version: '3.4'
125
125
  - !ruby/object:Gem::Dependency
126
- name: selenium-webdriver
126
+ name: rubocop-rails
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 3.13.1
131
+ version: '2.30'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ">="
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 3.13.1
138
+ version: '2.30'
139
139
  - !ruby/object:Gem::Dependency
140
- name: solr_wrapper
140
+ name: selenium-webdriver
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '2.0'
145
+ version: '4.0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '2.0'
152
+ version: '4.0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: webdrivers
154
+ name: solr_wrapper
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '3.0'
159
+ version: '4.1'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '3.0'
166
+ version: '4.1'
167
167
  description: Blacklight plugin providing map views for records with geographic data.
168
168
  email:
169
169
  - cabeer@stanford.edu
@@ -174,10 +174,10 @@ extensions: []
174
174
  extra_rdoc_files: []
175
175
  files:
176
176
  - ".coveralls.yml"
177
+ - ".github/workflows/ruby.yml"
177
178
  - ".gitignore"
178
179
  - ".rubocop.yml"
179
180
  - ".solr_wrapper.yml"
180
- - ".travis.yml"
181
181
  - CONTRIBUTING.md
182
182
  - Gemfile
183
183
  - LICENSE.txt
@@ -269,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
269
269
  - !ruby/object:Gem::Version
270
270
  version: '0'
271
271
  requirements: []
272
- rubygems_version: 3.0.8
272
+ rubygems_version: 3.4.19
273
273
  signing_key:
274
274
  specification_version: 4
275
275
  summary: Maps for Blacklight
data/.travis.yml DELETED
@@ -1,28 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- dist: bionic
4
-
5
- addons:
6
- chrome: stable
7
-
8
- before_install:
9
- - google-chrome-stable --headless --disable-gpu --no-sandbox --remote-debugging-port=9222 http://localhost &
10
-
11
- env:
12
- global:
13
- - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
14
- - ENGINE_CART_RAILS_OPTIONS='--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test'
15
-
16
- matrix:
17
- include:
18
- - rvm: 2.7.0
19
- env: "RAILS_VERSION=6.0.2.2"
20
- - rvm: 2.6.5
21
- env: "RAILS_VERSION=6.0.2.2"
22
- - rvm: 2.6.5
23
- env: "RAILS_VERSION=5.2.4.2"
24
- - rvm: 2.5.7
25
- env: "RAILS_VERSION=5.2.4.2"
26
- fast_finish: true
27
-
28
- jdk: openjdk11