simply_useful 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 2
4
- :patch: 0
4
+ :patch: 1
5
5
  :build:
@@ -14,8 +14,6 @@ class Module
14
14
  methods << "#{options_or_property.to_s}="
15
15
  end
16
16
  end
17
- puts methods
18
- puts options
19
17
 
20
18
  delegate *methods, options
21
19
  end
data/lib/simply_useful.rb CHANGED
@@ -1,5 +1,3 @@
1
- require('has_attributes')
2
- require('bsearch')
3
- require('format')
1
+ module SimplyUseful
4
2
 
5
- require('core_ext')
3
+ end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "simply_useful"
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Maciej Bilas"]
@@ -38,6 +38,7 @@ Gem::Specification.new do |s|
38
38
  "spec/core_ext/property_delegation_spec.rb",
39
39
  "spec/has_attributes_spec.rb",
40
40
  "spec/java_native2ascii_spec.rb",
41
+ "spec/simply_useful_all_spec.rb",
41
42
  "spec/simply_useful_spec.rb",
42
43
  "spec/spec.opts",
43
44
  "spec/spec_helper.rb"
@@ -0,0 +1,17 @@
1
+ require File.dirname(__FILE__) + '/spec_helper'
2
+ require 'simply_useful/all'
3
+
4
+ describe SimplyUseful::All do
5
+ it "should load" do
6
+ # if it gets here then it means no errors were raised during loading of the module (probably, right?)
7
+ end
8
+
9
+ describe "included modules" do
10
+
11
+ it "should define Hash.deep_symbolize_keys!" do
12
+ lambda { {"a" => "b"}.deep_symbolize_keys! }.should_not raise_error
13
+ end
14
+
15
+ end
16
+
17
+ end
@@ -1,18 +1,11 @@
1
1
  require File.dirname(__FILE__) + '/spec_helper'
2
- require 'simply_useful/all'
2
+ require 'simply_useful_spec'
3
3
 
4
4
  describe SimplyUseful do
5
- it "should load" do
6
- # if it gets here then it means no errors were raised during loading of the module (probably, right?)
5
+ it "should not load any extensions" do
6
+ lambda {
7
+ SimplyUseful::Format
8
+ }.should raise_error(NameError)
7
9
  end
8
10
 
9
- describe "included modules" do
10
-
11
- it "should define Hash.deep_symbolize_keys!" do
12
- lambda { {"a" => "b"}.deep_symbolize_keys! }.should_not raise_error
13
- end
14
-
15
- end
16
-
17
-
18
- end
11
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simply_useful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -136,6 +136,7 @@ files:
136
136
  - spec/core_ext/property_delegation_spec.rb
137
137
  - spec/has_attributes_spec.rb
138
138
  - spec/java_native2ascii_spec.rb
139
+ - spec/simply_useful_all_spec.rb
139
140
  - spec/simply_useful_spec.rb
140
141
  - spec/spec.opts
141
142
  - spec/spec_helper.rb
@@ -154,7 +155,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
154
155
  version: '0'
155
156
  segments:
156
157
  - 0
157
- hash: -1403904800812772273
158
+ hash: 4481099966841840911
158
159
  required_rubygems_version: !ruby/object:Gem::Requirement
159
160
  none: false
160
161
  requirements: