stringex 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OThiMTMzOWIyNTA2MjgyMjBlZjEzZWU0MTZiNGU0ZWM2OGQwMGY2Zg==
4
+ MzM4MDQ5OGJlOWM2Mzk0NGIxZmYxZDAxYWQ3MDYxYzQyN2VhMGQ5Nw==
5
5
  data.tar.gz: !binary |-
6
- MDk5YTJhMTlmOWNiZjE1YTcwN2Y3YzRhNWU5ZDYzM2RjMTVkNDVhYg==
6
+ YzcxYjcxMDEyZjZjNmVjZmI0YmU4NDFjZWViNzU4ODRmNDljZTQ0Mg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OTI0OGQ1NjQzNThkY2YwZTEzYmEwOTllMGI2Mzk5YzllMDRkNmQxYTgwYmFh
10
- MGJkMDVkMTFiNzQzMmFjZGM5ZWFiY2M5YTBkMWI1YmM1NzU3Y2FjMTJlYTQx
11
- OTcwNmUzOGNjOGJiNTFjMzVhZWFmNGE1OTU1ZTZmOTIzYjZiOTM=
9
+ ODRkZWIxMzdmMzkyYjMwZDU5MjNjNzc2Y2YzYzJjOGEwNzIxZGUyMDA3MjIz
10
+ NGI4NjBjNzBhZjIxMWRjMWJiOTIyMzJhMThmOGFjYjlhZGFkYmQwY2I4MGJm
11
+ YzA2OTExNmExNzdiNWZmNzgwMGU1NTgyYTJiMzM4MTQzMjFlM2E=
12
12
  data.tar.gz: !binary |-
13
- YTc3ZDkyYTA4ZmI4MjQwOTM1YzFkZjM5YTg5ZTA1N2FkODE5YzllMjQwNDVi
14
- ZWNkZjIyYzcxMmI5NTA2YjBlNmJjNDdmYTBjZWQwMTIwMjZlY2ZmMmYyMDg0
15
- YjA4MWFjZDNjODllYzE0Yjc5NmI2MWI0NjZjZDQ4N2E2MWFlODE=
13
+ MTc2YmNkNWUzNGVjOWQzMDIzNTQwYjNlZDhkODExMWE4ZTk2Mjc1OWJmZjRh
14
+ NzhhMjJjODAxZmQwZGRlNDhjZjI4NzNlOTU0YzkzZjQyNGU0NjJmZmE0MTQy
15
+ ZjhjNWNhYmUwM2EyZmNlYWExZjY4ZTNjOTU2ZDkyZjliYTgwOGI=
data/Gemfile CHANGED
@@ -8,7 +8,11 @@ group :development do
8
8
  gem "dm-sqlite-adapter", "1.2.0"
9
9
  gem "dm-validations", "1.2.0"
10
10
  gem "jeweler", "1.8.4"
11
- gem "mongoid", "3.1.4"
11
+ if RUBY_VERSION > "1.8.x"
12
+ gem "mongoid", "3.1.4"
13
+ else
14
+ puts "Mongoid requires Ruby higher than 1.8.x"
15
+ end
12
16
  gem "RedCloth", "4.2.9" # Can I state that I really dislike camelcased gem names?
13
17
  gem "sqlite3", "1.3.7"
14
18
  gem "travis-lint", "1.7.0"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
data/lib/stringex.rb CHANGED
@@ -6,6 +6,7 @@ require 'stringex/localization'
6
6
  require 'stringex/string_extensions'
7
7
  require 'stringex/unidecoder'
8
8
  require 'stringex/acts_as_url'
9
+ require 'stringex/version'
9
10
 
10
11
  String.send :include, Stringex::StringExtensions::PublicInstanceMethods
11
12
  String.send :extend, Stringex::StringExtensions::PublicClassMethods
@@ -1,7 +1,7 @@
1
1
  module Stringex
2
2
  module Version
3
- MAJOR = 1
4
- MINOR = 5
3
+ MAJOR = 2
4
+ MINOR = 0
5
5
  PATCH = 0
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
data/stringex.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "stringex"
8
- s.version = "2.0.0"
8
+ s.version = "2.0.1"
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"]
@@ -246,7 +246,8 @@ Gem::Specification.new do |s|
246
246
  "test/unicode_point_suite/codepoint_test_helper.rb",
247
247
  "test/unidecoder/bad_localization.yml",
248
248
  "test/unidecoder/localization.yml",
249
- "test/unidecoder_test.rb"
249
+ "test/unidecoder_test.rb",
250
+ "test/version_test.rb"
250
251
  ]
251
252
  s.homepage = "http://github.com/rsl/stringex"
252
253
  s.licenses = ["MIT"]
@@ -0,0 +1,12 @@
1
+ # encoding: UTF-8
2
+
3
+ require 'test_helper'
4
+ require 'stringex'
5
+
6
+ class VersionTest < Test::Unit::TestCase
7
+ def test_version_is_exposed
8
+ assert_nothing_raised do
9
+ Stringex::Version
10
+ end
11
+ end
12
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stringex
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Russell Norris
@@ -405,6 +405,7 @@ files:
405
405
  - test/unidecoder/bad_localization.yml
406
406
  - test/unidecoder/localization.yml
407
407
  - test/unidecoder_test.rb
408
+ - test/version_test.rb
408
409
  homepage: http://github.com/rsl/stringex
409
410
  licenses:
410
411
  - MIT