vidibus-core_extensions 0.3.3 → 0.3.4

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.
data/.bundle/config ADDED
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_DISABLE_SHARED_GEMS: "1"
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format nested
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source "http://gemcutter.org"
2
+
3
+ gem "rspec", "~> 2.0.0.beta.20"
4
+ gem "rr"
5
+ gem "relevance-rcov"
data/Gemfile.lock ADDED
@@ -0,0 +1,22 @@
1
+ GEM
2
+ remote: http://gemcutter.org/
3
+ specs:
4
+ diff-lcs (1.1.2)
5
+ relevance-rcov (0.9.2.1)
6
+ rr (1.0.0)
7
+ rspec (2.0.0.beta.20)
8
+ rspec-core (= 2.0.0.beta.20)
9
+ rspec-expectations (= 2.0.0.beta.20)
10
+ rspec-mocks (= 2.0.0.beta.20)
11
+ rspec-core (2.0.0.beta.20)
12
+ rspec-expectations (2.0.0.beta.20)
13
+ diff-lcs (>= 1.1.2)
14
+ rspec-mocks (2.0.0.beta.20)
15
+
16
+ PLATFORMS
17
+ ruby
18
+
19
+ DEPENDENCIES
20
+ relevance-rcov
21
+ rr
22
+ rspec (~> 2.0.0.beta.20)
data/README.rdoc CHANGED
@@ -67,6 +67,23 @@ Returns a copy of self including all but the given keys. Example:
67
67
  { :name => "Rodrigo", :age = 21 }.except(:name) # => { :age => 21 }
68
68
 
69
69
 
70
+ == String
71
+
72
+ === String#latinize
73
+
74
+ Returns a string without exotic chars. Examples:
75
+
76
+ "Hola señor, ¿cómo está?".latinize # => "Hola senor, como esta?"
77
+ "Ähre, wem Ähre gebührt.".latinize # => "AEhre, wem AEhre gebuehrt."
78
+
79
+
80
+ === String#permalink
81
+
82
+ Returns a string that may be used as permalink. Example:
83
+
84
+ "Hola señor, ¿cómo está?".permalink # => "hola-senor-como-esta"
85
+
86
+
70
87
  == Copyright
71
88
 
72
- Copyright (c) 2010 Andre Pankratz. See LICENSE for details.
89
+ Copyright (c) 2010 Andre Pankratz. See LICENSE for details.
data/Rakefile CHANGED
@@ -1,8 +1,11 @@
1
- require 'rubygems'
2
- require 'rake'
1
+ require "rubygems"
2
+ require "rake"
3
+ require "rake/rdoctask"
4
+ require "rspec"
5
+ require "rspec/core/rake_task"
3
6
 
4
7
  begin
5
- require 'jeweler'
8
+ require "jeweler"
6
9
  Jeweler::Tasks.new do |gem|
7
10
  gem.name = "vidibus-core_extensions"
8
11
  gem.summary = %Q{Extends the ruby core.}
@@ -10,34 +13,22 @@ begin
10
13
  gem.email = "andre@vidibus.com"
11
14
  gem.homepage = "http://github.com/vidibus/vidibus-core_extensions"
12
15
  gem.authors = ["Andre Pankratz"]
13
- gem.add_development_dependency "rspec", ">= 1.2.9"
14
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
16
  end
16
17
  Jeweler::GemcutterTasks.new
17
18
  rescue LoadError
18
19
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
19
20
  end
20
21
 
21
- require 'spec/rake/spectask'
22
- Spec::Rake::SpecTask.new(:spec) do |spec|
23
- spec.libs << 'lib' << 'spec'
24
- spec.spec_files = FileList['spec/**/*_spec.rb']
25
- end
26
-
27
- Spec::Rake::SpecTask.new(:rcov) do |t|
28
- t.spec_files = FileList['spec/vidibus/**/*_spec.rb']
22
+ Rspec::Core::RakeTask.new(:rcov) do |t|
23
+ t.pattern = "spec/**/*_spec.rb"
29
24
  t.rcov = true
30
- t.rcov_opts = ['--exclude', '^spec,/gems/']
25
+ t.rcov_opts = ["--exclude", "^spec,/gems/"]
31
26
  end
32
27
 
33
- task :spec => :check_dependencies
34
- task :default => :spec
35
-
36
- require "rake/rdoctask"
37
28
  Rake::RDocTask.new do |rdoc|
38
29
  version = File.exist?("VERSION") ? File.read("VERSION") : ""
39
30
  rdoc.rdoc_dir = "rdoc"
40
- rdoc.title = "vidibus-uuid #{version}"
31
+ rdoc.title = "vidibus-core_extensions #{version}"
41
32
  rdoc.rdoc_files.include("README*")
42
33
  rdoc.rdoc_files.include("lib/**/*.rb")
43
34
  rdoc.options << "--charset=utf-8"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.3
1
+ 0.3.4
@@ -64,4 +64,4 @@ module Vidibus
64
64
  end
65
65
  end
66
66
  end
67
- end
67
+ end
@@ -3,60 +3,79 @@ require "uri"
3
3
  module Vidibus
4
4
  module CoreExtensions
5
5
  module Hash
6
-
7
- # Returns URL-encoded string of uri params.
8
- #
9
- # Examples:
10
- #
11
- # { :some => :value, :another => "speciál" }.to_uri # => "some=value&another=speci%C3%A1l"
12
- # { :some => { :nested => :thing } }.to_uri # => "some=[nested=thing]"
13
- #
14
- def to_uri
15
- list = self.to_a.map do |arg|
16
- value = arg[1]
17
- if value.is_a?(Hash)
18
- value = "[#{value.to_uri}]"
6
+ module ClassMethods
7
+
8
+ # Returns new hash with given arguments.
9
+ # If an array is provided, it will be flattened once. Multi-level arrays are not supported.
10
+ # This method is basically a helper to support different return values of Hash#select:
11
+ # Ruby 1.8.7 returns an array, Ruby 1.9.2 returns a hash.
12
+ #
13
+ def build(args = nil)
14
+ if args.is_a?(::Array)
15
+ args = args.flatten_once
16
+ ::Hash[*args]
17
+ elsif args.is_a?(::Hash)
18
+ args
19
19
  else
20
- value = URI.escape(value.to_s)
20
+ ::Hash.new
21
21
  end
22
- "#{URI.escape(arg[0].to_s)}=#{value}"
23
22
  end
24
- list.join("&")
25
23
  end
26
24
 
27
- # Returns a copy of self including only the given keys.
28
- #
29
- # Example:
30
- #
31
- # { :name => "Rodrigo", :age => 21 }.only(:name) # => { :name => "Rodrigo" }
32
- #
33
- # Inspired by:
34
- # http://www.koders.com/ruby/fid80243BF76758F830B298E0E681B082B3408AB185.aspx?s=%22Rodrigo+Kochenburger%22#L9
35
- # and
36
- # http://snippets.dzone.com/posts/show/302
37
- #
38
- def only(*keys)
39
- keys.flatten!
40
- args = self.select { |k,v| keys.include?(k) }
41
- args = args.flatten_once if args.is_a?(Array) # prior to ruby 1.9.1, Hash#select returns an array
42
- self.class[*args]
43
- end
25
+ module InstanceMethods
26
+
27
+ # Returns URL-encoded string of uri params.
28
+ #
29
+ # Examples:
30
+ #
31
+ # { :some => :value, :another => "speciál" }.to_uri # => "some=value&another=speci%C3%A1l"
32
+ # { :some => { :nested => :thing } }.to_uri # => "some=[nested=thing]"
33
+ #
34
+ def to_uri
35
+ list = self.to_a.map do |arg|
36
+ value = arg[1]
37
+ if value.is_a?(::Hash)
38
+ value = "[#{value.to_uri}]"
39
+ else
40
+ value = URI.escape(value.to_s)
41
+ end
42
+ "#{URI.escape(arg[0].to_s)}=#{value}"
43
+ end
44
+ list.join("&")
45
+ end
46
+
47
+ # Returns a copy of self including only the given keys.
48
+ #
49
+ # Example:
50
+ #
51
+ # { :name => "Rodrigo", :age => 21 }.only(:name) # => { :name => "Rodrigo" }
52
+ #
53
+ # Inspired by:
54
+ # http://www.koders.com/ruby/fid80243BF76758F830B298E0E681B082B3408AB185.aspx?s=%22Rodrigo+Kochenburger%22#L9
55
+ # and
56
+ # http://snippets.dzone.com/posts/show/302
57
+ #
58
+ def only(*keys)
59
+ keys.flatten!
60
+ args = self.select { |k,v| keys.include?(k) }
61
+ ::Hash.build(args)
62
+ end
44
63
 
45
- # Returns a copy of self including all but the given keys.
46
- #
47
- # Example:
48
- #
49
- # { :name => "Rodrigo", :age = 21 }.except(:name) # => { :age => 21 }
50
- #
51
- # Inspired by:
52
- # http://www.koders.com/ruby/fid80243BF76758F830B298E0E681B082B3408AB185.aspx?s=%22Rodrigo+Kochenburger%22#L9
53
- #
54
- def except(*keys)
55
- keys.flatten!
56
- args = self.select { |k,v| !keys.include?(k) }
57
- args = args.flatten_once if args.is_a?(Array) # prior to ruby 1.9.1, Hash#select returns an array
58
- self.class[*args]
64
+ # Returns a copy of self including all but the given keys.
65
+ #
66
+ # Example:
67
+ #
68
+ # { :name => "Rodrigo", :age = 21 }.except(:name) # => { :age => 21 }
69
+ #
70
+ # Inspired by:
71
+ # http://www.koders.com/ruby/fid80243BF76758F830B298E0E681B082B3408AB185.aspx?s=%22Rodrigo+Kochenburger%22#L9
72
+ #
73
+ def except(*keys)
74
+ keys.flatten!
75
+ args = self.select { |k,v| !keys.include?(k) }
76
+ ::Hash.build(args)
77
+ end
59
78
  end
60
79
  end
61
80
  end
62
- end
81
+ end
@@ -15,4 +15,4 @@ module Vidibus
15
15
  end
16
16
  end
17
17
  end
18
- end
18
+ end
@@ -0,0 +1,66 @@
1
+ module Vidibus
2
+ module CoreExtensions
3
+ module String
4
+
5
+ # Map of latin chars and their representations as unicode chars.
6
+ LATIN_MAP = {
7
+ "A" => %w[À Á Â Ã Å Ą Ā],
8
+ "a" => %w["à á â ã å ą ả ã ạ ă ắ ằ ẳ ẵ ặ â ấ ầ ẩ ẫ ậ ā],
9
+ "AE" => %w[Ä Æ Ǽ],
10
+ "ae" => %w[ä æ ǽ],
11
+ "C" => %w[Ç Č Ć Ĉ],
12
+ "c" => %w[ç č ć ĉ],
13
+ "D" => %w[Ð],
14
+ "d" => %w[đ],
15
+ "E" => %w[È É Ê Ẽ Ę Ė Ē Ë],
16
+ "e" => %w[è é ę ë ė ẻ ẽ ẹ ê ế ề ể ễ ệ ē],
17
+ "G" => %w[Ģ],
18
+ "g" => %w[ģ],
19
+ "I" => %w[Ì Í Î Ï Ĩ Į Ī],
20
+ "i" => %w[ì í î ï ĩ į ỉ ị ī],
21
+ "K" => %w[Ķ],
22
+ "k" => %w[ķ],
23
+ "L" => %w[Ļ],
24
+ "l" => %w[ļ],
25
+ "N" => %w[Ñ Ń Ņ],
26
+ "n" => %w[ñ ń ņ],
27
+ "O" => %w[Ò Ó Ô Õ Ø],
28
+ "o" => %w[ò ó õ ỏ õ ọ ô ố ồ ổ ỗ ộ ơ ớ ờ ở ỡ ợ ø],
29
+ "OE" => %w[Ö Œ],
30
+ "oe" => %w[ö œ],
31
+ "R" => %w[Ŗ],
32
+ "r" => %w[ŗ],
33
+ "S" => %w[Š],
34
+ "s" => %w[š],
35
+ "ss" => %w[ß],
36
+ "U" => %w[Ù Ú Ũ Ű Ů Ũ Ų Ū Û],
37
+ "u" => %w[ų ū û ú ù ű ů ủ ũ ụ ư ứ ừ ử ữ ự],
38
+ "UE" => %w[Ü],
39
+ "ue" => %w[ü],
40
+ "x" => %w[×],
41
+ "Y" => %w[Ý Ÿ Ŷ],
42
+ "y" => %w[ý ÿ ŷ ỳ ỷ ỹ ỵ],
43
+ "Z" => %w[Ž],
44
+ "z" => %w[ž]
45
+ }.freeze
46
+
47
+ # Replaces non-latin chars, leaves some special ones.
48
+ def latinize
49
+ c = clone
50
+ for char, map in LATIN_MAP
51
+ c.gsub!(/(#{map.join('|')})/, char)
52
+ end
53
+ c.gsub(/[^a-z0-9\.\,\|\?\!\:;"'=\+\-_]+/i, " ").
54
+ gsub(/ {2,}/, " ")
55
+ end
56
+
57
+ # Returns a string that may be used as permalink
58
+ def permalink
59
+ latinize.
60
+ downcase.
61
+ gsub(/[^a-z0-9]+/, "-").
62
+ gsub(/^-/, "").gsub(/-$/, "")
63
+ end
64
+ end
65
+ end
66
+ end
@@ -1,7 +1,10 @@
1
1
  require "core_extensions/object"
2
2
  require "core_extensions/hash"
3
3
  require "core_extensions/array"
4
+ require "core_extensions/string"
4
5
 
5
6
  Object.send :include, Vidibus::CoreExtensions::Object
6
- Hash.send :include, Vidibus::CoreExtensions::Hash
7
- Array.send :include, Vidibus::CoreExtensions::Array
7
+ Hash.send :extend, Vidibus::CoreExtensions::Hash::ClassMethods
8
+ Hash.send :include, Vidibus::CoreExtensions::Hash::InstanceMethods
9
+ Array.send :include, Vidibus::CoreExtensions::Array
10
+ String.send :include, Vidibus::CoreExtensions::String
@@ -1,2 +1,2 @@
1
1
  $:.unshift(File.join(File.dirname(__FILE__), "..", "lib", "vidibus"))
2
- require "core_extensions"
2
+ require "core_extensions"
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,11 @@
1
1
  $LOAD_PATH.unshift(File.dirname(__FILE__))
2
2
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
3
+
4
+ require "rubygems"
5
+ require "rspec"
6
+ require "rr"
3
7
  require "vidibus-core_extensions"
4
- require "spec"
5
- require "spec/autorun"
8
+
9
+ RSpec.configure do |config|
10
+ config.mock_with :rr
11
+ end
@@ -56,4 +56,4 @@ describe "Vidibus::CoreExtensions::Array" do
56
56
  [2,'b',1,'a'].merge([5,3,6,7,1,2,4]).should eql([2,4,'b',5,3,6,7,1,'a'])
57
57
  end
58
58
  end
59
- end
59
+ end
@@ -4,7 +4,8 @@ describe "Vidibus::CoreExtensions::Hash" do
4
4
  describe "#to_uri" do
5
5
  it "should join params with '&'" do
6
6
  hash = { :some => "value", :another => "thing" }
7
- hash.to_uri.should eql("some=value&another=thing")
7
+ parts = hash.to_uri.split("&")
8
+ parts.sort.should eql(['another=thing', 'some=value'])
8
9
  end
9
10
 
10
11
  it "should return items as urlencoded string" do
@@ -51,4 +52,26 @@ describe "Vidibus::CoreExtensions::Hash" do
51
52
  hash.except(:name).should eql({ :girlfriends => ["Anna", "Maria"] })
52
53
  end
53
54
  end
54
- end
55
+
56
+ describe ".build" do
57
+ it "should return a hash" do
58
+ Hash.build.should eql(Hash.new)
59
+ end
60
+
61
+ it "should accept a hash" do
62
+ Hash.build({ :do => :it }).should eql({ :do => :it })
63
+ end
64
+
65
+ it "should accept an array" do
66
+ Hash.build([:do, :it]).should eql({ :do => :it })
67
+ end
68
+
69
+ it "should accept an array and flatten it once" do
70
+ Hash.build([:do, [:it]]).should eql({ :do => :it })
71
+ end
72
+
73
+ it "should not accept a multi-level array" do
74
+ expect { Hash.build([:do, [:it, [:now]]]) }.to raise_error(ArgumentError, "odd number of arguments for Hash")
75
+ end
76
+ end
77
+ end
@@ -3,7 +3,7 @@ require "spec_helper"
3
3
  describe "Vidibus::CoreExtensions::Object" do
4
4
  describe "#try!" do
5
5
  let(:dog) do
6
- Struct.new("Dog", :out)
6
+ Struct.new("Dog", :out) unless defined?(Struct::Dog)
7
7
  Struct::Dog.new(true)
8
8
  end
9
9
 
@@ -15,4 +15,4 @@ describe "Vidibus::CoreExtensions::Object" do
15
15
  dog.try!(:food).should be_nil
16
16
  end
17
17
  end
18
- end
18
+ end
@@ -0,0 +1,65 @@
1
+ require "spec_helper"
2
+
3
+ describe "Vidibus::CoreExtensions::String" do
4
+ describe "::LATIN_MAP" do
5
+ it "should contain a Hash map" do
6
+ String::LATIN_MAP.should be_a(Hash)
7
+ end
8
+ end
9
+
10
+ describe "#latinize" do
11
+ it "should convert diacritics" do
12
+ "ÀÁÂÃÄÅ Ç Ð ÈÉÊË ÌÍÎÏ Ñ ÒÓÔÕÖØ ÙÚÛÜ Ý àáâãäå ç èéêë ìíîï ñ òóôõöø ùúûü ý".latinize.should
13
+ eql("AAAAAEA C D EEEE IIII N OOOOOEO UUUUE Y aaaaaea c eeee iiii n oooooeo uuuue y")
14
+ end
15
+
16
+ it "should convert ligatures" do
17
+ "Æ".latinize.should eql("AE")
18
+ "ÆǼ æǽ Œ œ".latinize.should eql("AEAE aeae OE oe")
19
+ end
20
+
21
+ it "should keep some regular chars" do
22
+ ".,|?!:;\"'=+-_".latinize.should eql(".,|?!:;\"'=+-_")
23
+ end
24
+
25
+ it "should replace exotic chars by whitespace" do
26
+ "~÷≥≤˛`ˀð".latinize.should eql(" ")
27
+ end
28
+
29
+ it "should normalize white space" do
30
+ "Hola señor, ¿cómo está?".latinize.should eql("Hola senor, como esta?")
31
+ end
32
+ end
33
+
34
+ describe "#permalink" do
35
+ it "should call #latinize" do
36
+ string = "hey"
37
+ mock(string).latinize { string }
38
+ string.permalink.should eql(string)
39
+ end
40
+
41
+ it "should return lower chars only" do
42
+ "HeLlo".permalink.should eql("hello")
43
+ end
44
+
45
+ it "should turn whitespace into dashes" do
46
+ "hey joe".permalink.should eql("hey-joe")
47
+ end
48
+
49
+ it "should turn special chars into dashes" do
50
+ "hi~there".permalink.should eql("hi-there")
51
+ end
52
+
53
+ it "should not begin with dashes" do
54
+ ">duh".permalink.should eql("duh")
55
+ end
56
+
57
+ it "should not end with dashes" do
58
+ "hi!".permalink.should eql("hi")
59
+ end
60
+
61
+ it "should convert multiple adjacent special chars into a single dash" do
62
+ "Hola señor, ¿cómo está?".permalink.should eql("hola-senor-como-esta")
63
+ end
64
+ end
65
+ end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{vidibus-core_extensions}
8
- s.version = "0.3.3"
8
+ s.version = "0.3.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andre Pankratz"]
12
- s.date = %q{2010-08-17}
12
+ s.date = %q{2010-09-02}
13
13
  s.description = %q{Provides some extensions to the ruby core.}
14
14
  s.email = %q{andre@vidibus.com}
15
15
  s.extra_rdoc_files = [
@@ -17,8 +17,12 @@ Gem::Specification.new do |s|
17
17
  "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
- ".document",
20
+ ".bundle/config",
21
+ ".document",
21
22
  ".gitignore",
23
+ ".rspec",
24
+ "Gemfile",
25
+ "Gemfile.lock",
22
26
  "LICENSE",
23
27
  "README.rdoc",
24
28
  "Rakefile",
@@ -28,11 +32,12 @@ Gem::Specification.new do |s|
28
32
  "lib/vidibus/core_extensions/array.rb",
29
33
  "lib/vidibus/core_extensions/hash.rb",
30
34
  "lib/vidibus/core_extensions/object.rb",
31
- "spec/spec.opts",
35
+ "lib/vidibus/core_extensions/string.rb",
32
36
  "spec/spec_helper.rb",
33
37
  "spec/vidibus/core_extensions/array_spec.rb",
34
38
  "spec/vidibus/core_extensions/hash_spec.rb",
35
39
  "spec/vidibus/core_extensions/object_spec.rb",
40
+ "spec/vidibus/core_extensions/string_spec.rb",
36
41
  "vidibus-core_extensions.gemspec"
37
42
  ]
38
43
  s.homepage = %q{http://github.com/vidibus/vidibus-core_extensions}
@@ -44,7 +49,8 @@ Gem::Specification.new do |s|
44
49
  "spec/spec_helper.rb",
45
50
  "spec/vidibus/core_extensions/array_spec.rb",
46
51
  "spec/vidibus/core_extensions/hash_spec.rb",
47
- "spec/vidibus/core_extensions/object_spec.rb"
52
+ "spec/vidibus/core_extensions/object_spec.rb",
53
+ "spec/vidibus/core_extensions/string_spec.rb"
48
54
  ]
49
55
 
50
56
  if s.respond_to? :specification_version then
@@ -52,12 +58,9 @@ Gem::Specification.new do |s|
52
58
  s.specification_version = 3
53
59
 
54
60
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
55
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
56
61
  else
57
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
58
62
  end
59
63
  else
60
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
61
64
  end
62
65
  end
63
66
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidibus-core_extensions
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 3
10
- version: 0.3.3
9
+ - 4
10
+ version: 0.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andre Pankratz
@@ -15,25 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-17 00:00:00 +02:00
18
+ date: 2010-09-02 00:00:00 +02:00
19
19
  default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: rspec
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 13
30
- segments:
31
- - 1
32
- - 2
33
- - 9
34
- version: 1.2.9
35
- type: :development
36
- version_requirements: *id001
20
+ dependencies: []
21
+
37
22
  description: Provides some extensions to the ruby core.
38
23
  email: andre@vidibus.com
39
24
  executables: []
@@ -44,8 +29,12 @@ extra_rdoc_files:
44
29
  - LICENSE
45
30
  - README.rdoc
46
31
  files:
32
+ - .bundle/config
47
33
  - .document
48
34
  - .gitignore
35
+ - .rspec
36
+ - Gemfile
37
+ - Gemfile.lock
49
38
  - LICENSE
50
39
  - README.rdoc
51
40
  - Rakefile
@@ -55,11 +44,12 @@ files:
55
44
  - lib/vidibus/core_extensions/array.rb
56
45
  - lib/vidibus/core_extensions/hash.rb
57
46
  - lib/vidibus/core_extensions/object.rb
58
- - spec/spec.opts
47
+ - lib/vidibus/core_extensions/string.rb
59
48
  - spec/spec_helper.rb
60
49
  - spec/vidibus/core_extensions/array_spec.rb
61
50
  - spec/vidibus/core_extensions/hash_spec.rb
62
51
  - spec/vidibus/core_extensions/object_spec.rb
52
+ - spec/vidibus/core_extensions/string_spec.rb
63
53
  - vidibus-core_extensions.gemspec
64
54
  has_rdoc: true
65
55
  homepage: http://github.com/vidibus/vidibus-core_extensions
@@ -100,3 +90,4 @@ test_files:
100
90
  - spec/vidibus/core_extensions/array_spec.rb
101
91
  - spec/vidibus/core_extensions/hash_spec.rb
102
92
  - spec/vidibus/core_extensions/object_spec.rb
93
+ - spec/vidibus/core_extensions/string_spec.rb
data/spec/spec.opts DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --format nested