]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/3332'
authorTom Hughes <tom@compton.nu>
Wed, 29 Sep 2021 18:10:22 +0000 (19:10 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 29 Sep 2021 18:10:22 +0000 (19:10 +0100)
Gemfile.lock
app/models/trace.rb
config/locales/en.yml

index 00da83e1a2045bb42207dab716e6c80b3442ae2a..06752b223c0cba44b65bfcc3bb79eb2baa62bc4d 100644 (file)
@@ -77,8 +77,8 @@ GEM
     autoprefixer-rails (10.3.3.0)
       execjs (~> 2)
     aws-eventstream (1.2.0)
-    aws-partitions (1.503.0)
-    aws-sdk-core (3.121.0)
+    aws-partitions (1.507.0)
+    aws-sdk-core (3.121.1)
       aws-eventstream (~> 1, >= 1.0.2)
       aws-partitions (~> 1, >= 1.239.0)
       aws-sigv4 (~> 1.1)
@@ -151,9 +151,9 @@ GEM
       activerecord (>= 3.0, < 6.2)
       delayed_job (>= 3.0, < 5)
     docile (1.4.0)
-    doorkeeper (5.5.2)
+    doorkeeper (5.5.3)
       railties (>= 5)
-    doorkeeper-i18n (5.2.2)
+    doorkeeper-i18n (5.2.3)
       doorkeeper (>= 5.2)
     dry-configurable (0.13.0)
       concurrent-ruby (~> 1.0)
@@ -405,18 +405,18 @@ GEM
     rexml (3.2.5)
     rinku (2.0.6)
     rotp (6.2.0)
-    rubocop (1.21.0)
+    rubocop (1.22.0)
       parallel (~> 1.10)
       parser (>= 3.0.0.0)
       rainbow (>= 2.2.2, < 4.0)
       regexp_parser (>= 1.8, < 3.0)
       rexml
-      rubocop-ast (>= 1.9.1, < 2.0)
+      rubocop-ast (>= 1.12.0, < 2.0)
       ruby-progressbar (~> 1.7)
       unicode-display_width (>= 1.4.0, < 3.0)
-    rubocop-ast (1.11.0)
+    rubocop-ast (1.12.0)
       parser (>= 3.0.1.1)
-    rubocop-minitest (0.15.0)
+    rubocop-minitest (0.15.1)
       rubocop (>= 0.90, < 2.0)
     rubocop-performance (1.11.5)
       rubocop (>= 1.7.0, < 2.0)
@@ -465,7 +465,7 @@ GEM
       sprockets (>= 3.0.0)
     strong_migrations (0.7.8)
       activerecord (>= 5)
-    terser (1.1.6)
+    terser (1.1.7)
       execjs (>= 0.3.0, < 3)
     thor (1.1.0)
     tilt (2.0.10)
index 0860d2b31954e1a3d255594650b071443399f702..b3d87fc0947be767264db9300b5426b909375415 100644 (file)
@@ -53,7 +53,7 @@ class Trace < ApplicationRecord
 
   def tagstring=(s)
     self.tags = if s.include? ","
-                  s.split(/\s*,\s*/).reject { |tag| tag =~ /^\s*$/ }.collect do |tag|
+                  s.split(/\s*,\s*/).grep_v(/^\s*$/).collect do |tag|
                     tt = Tracetag.new
                     tt.tag = tag
                     tt
index 6869e966b821503bafb3b4e568ef033cecb95ca7..c8392231e2f2bfcadbbd09c8a631ce4ccb13a644 100644 (file)
@@ -1864,9 +1864,8 @@ en:
         credit_3_1_html: |
           The map tiles in the &ldquo;standard style&rdquo; at www.openstreetmap.org are a
           Produced Work by the OpenStreetMap Foundation using OpenStreetMap data
-          under the Open Database License. If you are using these tiles please use
-          the following attribution:
-          &ldquo;Base map and data from OpenStreetMap and OpenStreetMap Foundation&rdquo;.
+          under the Open Database License. When using this map style, the same attribution is
+          required as for the map data.
         credit_4_html: |
           For a browsable electronic map, the credit should appear in the corner of the map.
           For example: