useful_string_extensions 0.0.18 → 0.0.20.1

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.
@@ -162,4 +162,8 @@ class String
162
162
  def encode_to_utf8
163
163
  self.encode("utf-8", :invalid => :replace)
164
164
  end
165
+
166
+ def to_production_zones
167
+ self.gsub("local", "ru").gsub("en", "com")
168
+ end
165
169
  end
@@ -1,3 +1,3 @@
1
1
  module UsefulStringExtensions
2
- VERSION = "0.0.18"
2
+ VERSION = "0.0.20.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: useful_string_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.20.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-27 00:00:00.000000000 Z
12
+ date: 2013-10-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chardet