glowing-archer 0.0.6.3 → 0.0.6.5

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/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'https://rubygems.org'
1
+ source :rubygems
2
2
 
3
- # Specify your gem's dependencies in glowing-archer.gemspec
4
3
  gemspec
4
+ gem 'rspec'
@@ -7,7 +7,7 @@ Array.class_eval do
7
7
  delete_if {|x| x == nil || x == ''}
8
8
  end
9
9
 
10
- def to_csv(sep = ', ')
11
- self.join(sep)
10
+ def to_csv
11
+ self.join(", ")
12
12
  end
13
13
  end
@@ -1,5 +1,5 @@
1
1
  module Glowing
2
2
  module Archer
3
- VERSION = "0.0.6.3"
3
+ VERSION = "0.0.6.5"
4
4
  end
5
5
  end
@@ -0,0 +1,23 @@
1
+ require 'spec_helper'
2
+
3
+ describe Glowing::Archer do
4
+
5
+ context "Array" do
6
+ it "should drop_nils from arrays" do
7
+ ["", "a"].drop_nil.should eq ["a"]
8
+ end
9
+ end
10
+
11
+ context "Boolean" do
12
+ end
13
+
14
+ context "Numeric" do
15
+ end
16
+
17
+ context "String" do
18
+ end
19
+
20
+ context "Time" do
21
+ end
22
+
23
+ end
@@ -0,0 +1,8 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ require 'glowing-archer' # and any other gems you need
5
+
6
+ RSpec.configure do |config|
7
+ # some (optional) config here
8
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glowing-archer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6.3
4
+ version: 0.0.6.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -48,6 +48,8 @@ files:
48
48
  - lib/glowing-archer/rails/string.rb
49
49
  - lib/glowing-archer/rails/time.rb
50
50
  - lib/glowing-archer/version.rb
51
+ - spec/glowing_archer_spec.rb
52
+ - spec/spec_helper.rb
51
53
  homepage: https://github.com/johnantoni/glowing-archer
52
54
  licenses: []
53
55
  post_install_message:
@@ -62,7 +64,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
64
  version: '0'
63
65
  segments:
64
66
  - 0
65
- hash: 4111423196197848795
67
+ hash: 1656255534451648988
66
68
  required_rubygems_version: !ruby/object:Gem::Requirement
67
69
  none: false
68
70
  requirements:
@@ -71,11 +73,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
73
  version: '0'
72
74
  segments:
73
75
  - 0
74
- hash: 4111423196197848795
76
+ hash: 1656255534451648988
75
77
  requirements: []
76
78
  rubyforge_project:
77
79
  rubygems_version: 1.8.23
78
80
  signing_key:
79
81
  specification_version: 3
80
82
  summary: addons to help arrays, strings, etc. i keep on using
81
- test_files: []
83
+ test_files:
84
+ - spec/glowing_archer_spec.rb
85
+ - spec/spec_helper.rb