my-sugar 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # My::Sugar
1
+ # MySugar
2
2
 
3
3
  TODO: Write a gem description
4
4
 
@@ -1,3 +1,3 @@
1
1
  module MySugar
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/my-sugar.rb CHANGED
@@ -11,11 +11,22 @@ end
11
11
 
12
12
  include MySugar::Stuff # ah..
13
13
 
14
- # require 'active_support/core_ext/module/delegation' # oh..
14
+
15
+
16
+ ## CAUTION: not tested area
15
17
  def require_delegation
16
18
  require 'active_support/core_ext/module/delegation'
17
19
  end
18
20
 
21
+ def require_bundle
22
+ require 'bundler'
23
+ Bundler.require
24
+ end
25
+ alias require_bundler require_bundle
26
+ ###########################
27
+
28
+
29
+
19
30
  # monkeys out of the zoo!
20
31
  class Module
21
32
  def is *others; include *others end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my-sugar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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-01-16 00:00:00.000000000 Z
12
+ date: 2013-01-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec