fanforce-internal-utils 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/fanforce-internal-utils.gemspec +2 -2
- data/lib/fanforce/utils.rb +11 -3
- data/lib/fanforce/utils/version.rb +5 -0
- metadata +2 -3
- data/lib/fanforce.rb +0 -13
- data/lib/fanforce/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzFjMzdiMDVkODljM2MwZDViYTU4NGMwMGUyMDM5MjQ4MDlhNjVkOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGY3YTYxMTBhOWQ5OGQyNTAwN2VmMDViNmNjZjgwYmQ0NzNhMmE3Mg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWMxZTEwM2JkOTkyNzBjNzJhZWNiNzgyNzIxZWY4MGIwNzQ5ZDA2YzZiYjQ1
|
10
|
+
NTZiMjMzODA3MWVjODBjYzJkM2Q2OTlhMmZmYWIzYzcyYWZhZGRhNWIyYjli
|
11
|
+
NDgwZTJiMzJkNjg4NzQ2MDA5ZGNhMjBhNWMwMzNkYTVlMjZjN2Y=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjQ2MTI3YjJhMTg2OTMyMjY0ODdlYTQ4MDUyMDY2YmM3YjYxNjAzZGFiYWIy
|
14
|
+
M2RiZjEzZjM4NDBmZjg5YzI4ODlkN2IxOGVhMWE3YTM5YmQ0OTY3NjQ4OTky
|
15
|
+
ZGI5OGM3YmMwMmQzZjM4MDMxYTg4NjdkY2U2ODJmNDlhOWE4OWI=
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'fanforce/version'
|
4
|
+
require 'fanforce/utils/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = 'fanforce-internal-utils'
|
8
|
-
gem.version = Fanforce::VERSION
|
8
|
+
gem.version = Fanforce::Utils::VERSION
|
9
9
|
gem.date = '2012-10-19'
|
10
10
|
gem.summary = %q{Internal utils library used by the Fanforce codebase.}
|
11
11
|
gem.authors = ['Caleb Clark']
|
data/lib/fanforce/utils.rb
CHANGED
@@ -1,6 +1,14 @@
|
|
1
|
-
class Fanforce
|
2
|
-
|
1
|
+
class Fanforce
|
2
|
+
def self.env(&block)
|
3
|
+
if !block.nil?
|
4
|
+
@env = block
|
5
|
+
elsif !@env.nil?
|
6
|
+
@env.call()
|
7
|
+
else
|
8
|
+
{}
|
9
|
+
end
|
10
|
+
end
|
11
|
+
require_relative 'utils/version'
|
3
12
|
require_relative 'utils/utils'
|
4
|
-
require_relative '../fanforce'
|
5
13
|
end
|
6
14
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fanforce-internal-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Clark
|
@@ -36,10 +36,9 @@ files:
|
|
36
36
|
- README.md
|
37
37
|
- Rakefile
|
38
38
|
- fanforce-internal-utils.gemspec
|
39
|
-
- lib/fanforce.rb
|
40
39
|
- lib/fanforce/utils.rb
|
41
40
|
- lib/fanforce/utils/utils.rb
|
42
|
-
- lib/fanforce/version.rb
|
41
|
+
- lib/fanforce/utils/version.rb
|
43
42
|
homepage: http://github.com/mlabs/fanforce-internal-utils
|
44
43
|
licenses: []
|
45
44
|
metadata: {}
|
data/lib/fanforce.rb
DELETED
data/lib/fanforce/version.rb
DELETED