my-sugar 0.0.4 → 0.0.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/README.md +1 -1
- data/lib/my-sugar/version.rb +1 -1
- data/lib/my-sugar.rb +12 -1
- metadata +2 -2
data/README.md
CHANGED
data/lib/my-sugar/version.rb
CHANGED
data/lib/my-sugar.rb
CHANGED
|
@@ -11,11 +11,22 @@ end
|
|
|
11
11
|
|
|
12
12
|
include MySugar::Stuff # ah..
|
|
13
13
|
|
|
14
|
-
|
|
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
|
+
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-
|
|
12
|
+
date: 2013-01-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rspec
|