stringex 2.8.5 → 2.8.6

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: 4601c7bb52f6ec7d8f5f3f5405c3fbe60bf52f24d938baeebcdcd04bf02c2613
4
- data.tar.gz: 48e08d8f731206280a31a9f2edbce0a4c77f1a7eb0e8203cc7449e3d5b1fdd6b
3
+ metadata.gz: 1b26eaa16536e306141877a8ee3f50acdd23d8cb3601fe1830ccf798e7a2b433
4
+ data.tar.gz: 8062ea4ee5667139acb8337fa979d212ab1ef52a69a1303efd302df142c83c8c
5
5
  SHA512:
6
- metadata.gz: b0bb69075f4b16f602686f5fc4d761c93eceabcec5303c140774ab8a389ac535c3a78dd01640fa9709b6fe40e068a981cbe4eaeb0d9856fe8069560eca214931
7
- data.tar.gz: 942a286a6199c87ddc9070b31e27131b448c24710bb5cde7020738ec9d2b97ba782559d08e8512662bc0293cfc2c9b12968428508f44143cffd8487c02c469ad
6
+ metadata.gz: 7179fa45397f05d438470e2ae225e0e4ac03a6f0cf2922af031ca4e7c68bb7be20d8d833bab9f928782687ccc78f5cdac30142a2923941e23441616b948b3041
7
+ data.tar.gz: b42d191422c1340122677106d7360a05ec6c41f30206f577701a276ac253509a3f4553a5f628b383b3aed4fa293e4c0b7498eb0466cc565eeaefe576e9ebba08
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.8.5
1
+ 2.8.6
@@ -70,7 +70,11 @@ module Stringex
70
70
  end
71
71
 
72
72
  def create_callback
73
- klass.send klass_callback_method, :ensure_unique_url, callback_options
73
+ klass.send(
74
+ klass_callback_method,
75
+ :ensure_unique_url,
76
+ **callback_options
77
+ )
74
78
  end
75
79
 
76
80
  def klass_callback_method
data/stringex.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: stringex 2.8.5 ruby lib
5
+ # stub: stringex 2.8.6 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "stringex".freeze
9
- s.version = "2.8.5"
9
+ s.version = "2.8.6"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Russell Norris".freeze]
14
- s.date = "2018-11-06"
14
+ s.date = "2023-04-19"
15
15
  s.description = "Some [hopefully] useful extensions to Ruby's String class. Stringex is made up of three libraries: ActsAsUrl [permalink solution with better character translation], Unidecoder [Unicode to ASCII transliteration], and StringExtensions [miscellaneous helper methods for the String class].".freeze
16
16
  s.email = "rsl@luckysneaks.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -274,37 +274,17 @@ Gem::Specification.new do |s|
274
274
  s.homepage = "http://github.com/rsl/stringex".freeze
275
275
  s.licenses = ["MIT".freeze]
276
276
  s.rdoc_options = ["--main".freeze, "README.rdoc".freeze, "--charset".freeze, "utf-8".freeze, "--line-numbers".freeze]
277
- s.rubygems_version = "2.7.3".freeze
277
+ s.rubygems_version = "3.4.9".freeze
278
278
  s.summary = "Some [hopefully] useful extensions to Ruby's String class".freeze
279
279
 
280
- if s.respond_to? :specification_version then
281
- s.specification_version = 4
280
+ s.specification_version = 4
282
281
 
283
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
284
- s.add_development_dependency(%q<jeweler>.freeze, ["= 2.3.7"])
285
- s.add_development_dependency(%q<travis-lint>.freeze, ["= 1.7.0"])
286
- s.add_development_dependency(%q<RedCloth>.freeze, ["= 4.2.9"])
287
- s.add_development_dependency(%q<sqlite3>.freeze, ["= 1.3.10"])
288
- s.add_development_dependency(%q<test-unit>.freeze, ["= 3.0.9"])
289
- s.add_development_dependency(%q<activerecord>.freeze, ["= 5.1.4"])
290
- s.add_development_dependency(%q<i18n>.freeze, ["= 0.7.0"])
291
- else
292
- s.add_dependency(%q<jeweler>.freeze, ["= 2.3.7"])
293
- s.add_dependency(%q<travis-lint>.freeze, ["= 1.7.0"])
294
- s.add_dependency(%q<RedCloth>.freeze, ["= 4.2.9"])
295
- s.add_dependency(%q<sqlite3>.freeze, ["= 1.3.10"])
296
- s.add_dependency(%q<test-unit>.freeze, ["= 3.0.9"])
297
- s.add_dependency(%q<activerecord>.freeze, ["= 5.1.4"])
298
- s.add_dependency(%q<i18n>.freeze, ["= 0.7.0"])
299
- end
300
- else
301
- s.add_dependency(%q<jeweler>.freeze, ["= 2.3.7"])
302
- s.add_dependency(%q<travis-lint>.freeze, ["= 1.7.0"])
303
- s.add_dependency(%q<RedCloth>.freeze, ["= 4.2.9"])
304
- s.add_dependency(%q<sqlite3>.freeze, ["= 1.3.10"])
305
- s.add_dependency(%q<test-unit>.freeze, ["= 3.0.9"])
306
- s.add_dependency(%q<activerecord>.freeze, ["= 5.1.4"])
307
- s.add_dependency(%q<i18n>.freeze, ["= 0.7.0"])
308
- end
282
+ s.add_development_dependency(%q<jeweler>.freeze, ["= 2.3.7"])
283
+ s.add_development_dependency(%q<travis-lint>.freeze, ["= 1.7.0"])
284
+ s.add_development_dependency(%q<RedCloth>.freeze, ["= 4.2.9"])
285
+ s.add_development_dependency(%q<sqlite3>.freeze, ["= 1.3.10"])
286
+ s.add_development_dependency(%q<test-unit>.freeze, ["= 3.0.9"])
287
+ s.add_development_dependency(%q<activerecord>.freeze, ["= 5.1.4"])
288
+ s.add_development_dependency(%q<i18n>.freeze, ["= 0.7.0"])
309
289
  end
310
290
 
@@ -66,6 +66,6 @@ module AdapterSpecificTestBehaviors
66
66
  end
67
67
 
68
68
  def adapter_specific_update(instance, hash)
69
- instance.send :update_attributes!, hash
69
+ instance.send :update!, hash
70
70
  end
71
71
  end
@@ -77,6 +77,6 @@ module AdapterSpecificTestBehaviors
77
77
  end
78
78
 
79
79
  def adapter_specific_update(instance, hash)
80
- instance.send :update_attributes!, hash
80
+ instance.send :update!, hash
81
81
  end
82
82
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stringex
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.5
4
+ version: 2.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Russell Norris
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-06 00:00:00.000000000 Z
11
+ date: 2023-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jeweler
@@ -374,7 +374,7 @@ homepage: http://github.com/rsl/stringex
374
374
  licenses:
375
375
  - MIT
376
376
  metadata: {}
377
- post_install_message:
377
+ post_install_message:
378
378
  rdoc_options:
379
379
  - "--main"
380
380
  - README.rdoc
@@ -394,9 +394,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
394
394
  - !ruby/object:Gem::Version
395
395
  version: '0'
396
396
  requirements: []
397
- rubyforge_project:
398
- rubygems_version: 2.7.3
399
- signing_key:
397
+ rubygems_version: 3.4.9
398
+ signing_key:
400
399
  specification_version: 4
401
400
  summary: Some [hopefully] useful extensions to Ruby's String class
402
401
  test_files: []