stringex 2.0.9 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/lib/stringex/configuration_lite.rb +3 -0
- data/lib/stringex_lite.rb +15 -0
- data/stringex.gemspec +4 -2
- data/test/unit/version_test.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGU3ODRhYzViYjE1ZjliODcxNzFiNjUyMWYwY2QzMTVmODZjNmMzOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWM1NmU4N2VmNzc3MTYwYTI2MGUwZjY1ZmNhYWJhNDY2MmQ2YjJhMQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2EyNTA5YmYyMDE3ZTMzNTdhYzQwOGM4NzMzNzk5ZjZkYjU0YmQwNDZjZjA5
|
10
|
+
ODZhNWRkMGI0ODU3Y2ZhNWU3MGY5ZTIwZmUwMjk0MDYxYWEzYThiNzIxMWM1
|
11
|
+
OThlNzA2MmNkOTIwNGI1ZWM5ZDk5MmYzNDE1OTFhYWQ1NTZkNmM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjYwMTZiMjdjMWI0ZTBmMTNiNzg5OGQxOWI1MGVmYzE0MGEzMjMxZDE3NTQ0
|
14
|
+
MDczYTNmNzJkOGEzN2U5NThkZjFmYmY2MGY4MWQ1NjhhYzMyMGEzMmY4N2Mx
|
15
|
+
MGI2NTVlMjAyZjE5ZjBiNzdhYWNmZDUwNGYyMDZkYzgxMjU5ZDg=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.10
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
require 'ostruct'
|
4
|
+
require 'stringex/configuration'
|
5
|
+
require 'stringex/localization'
|
6
|
+
require 'stringex/string_extensions'
|
7
|
+
require 'stringex/unidecoder'
|
8
|
+
require 'stringex/version'
|
9
|
+
|
10
|
+
String.send :include, Stringex::StringExtensions::PublicInstanceMethods
|
11
|
+
String.send :extend, Stringex::StringExtensions::PublicClassMethods
|
12
|
+
|
13
|
+
if defined?(Rails::Railtie)
|
14
|
+
require 'stringex/rails/railtie'
|
15
|
+
end
|
data/stringex.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "stringex"
|
8
|
-
s.version = "2.0.
|
8
|
+
s.version = "2.0.10"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Russell Norris"]
|
12
|
-
s.date = "2013-08-
|
12
|
+
s.date = "2013-08-27"
|
13
13
|
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]."
|
14
14
|
s.email = "rsl@luckysneaks.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -35,6 +35,7 @@ Gem::Specification.new do |s|
|
|
35
35
|
"lib/stringex/configuration/base.rb",
|
36
36
|
"lib/stringex/configuration/configurator.rb",
|
37
37
|
"lib/stringex/configuration/string_extensions.rb",
|
38
|
+
"lib/stringex/configuration_lite.rb",
|
38
39
|
"lib/stringex/localization.rb",
|
39
40
|
"lib/stringex/localization/backend/base.rb",
|
40
41
|
"lib/stringex/localization/backend/i18n.rb",
|
@@ -226,6 +227,7 @@ Gem::Specification.new do |s|
|
|
226
227
|
"lib/stringex/unidecoder_data/xfe.yml",
|
227
228
|
"lib/stringex/unidecoder_data/xff.yml",
|
228
229
|
"lib/stringex/version.rb",
|
230
|
+
"lib/stringex_lite.rb",
|
229
231
|
"locales/da.yml",
|
230
232
|
"locales/de.yml",
|
231
233
|
"locales/en.yml",
|
data/test/unit/version_test.rb
CHANGED
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.0.
|
4
|
+
version: 2.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Russell Norris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -193,6 +193,7 @@ files:
|
|
193
193
|
- lib/stringex/configuration/base.rb
|
194
194
|
- lib/stringex/configuration/configurator.rb
|
195
195
|
- lib/stringex/configuration/string_extensions.rb
|
196
|
+
- lib/stringex/configuration_lite.rb
|
196
197
|
- lib/stringex/localization.rb
|
197
198
|
- lib/stringex/localization/backend/base.rb
|
198
199
|
- lib/stringex/localization/backend/i18n.rb
|
@@ -384,6 +385,7 @@ files:
|
|
384
385
|
- lib/stringex/unidecoder_data/xfe.yml
|
385
386
|
- lib/stringex/unidecoder_data/xff.yml
|
386
387
|
- lib/stringex/version.rb
|
388
|
+
- lib/stringex_lite.rb
|
387
389
|
- locales/da.yml
|
388
390
|
- locales/de.yml
|
389
391
|
- locales/en.yml
|