abstractive 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cfa9d5e62738a9b773b6bf3076e163e811ab83cc
4
+ data.tar.gz: d6743f30e41dc967d30859321ae80ff8b862cda2
5
+ SHA512:
6
+ metadata.gz: 6943ed3d3009902a5fe0e1a3c0528faa5383f2bfaf0be0cf28571a42a12132d3d87319e73914f9d76524768793528c366ffbf7111b981faa64a6e9505f4812b2
7
+ data.tar.gz: d48a04bc2505ac1357f8108b5899884bc6802ac56e6a21a9afee3ece65b111ef54672e586657cbe29b86d6bfbe7b1c3792cf8625b2d0b89c545938c88bbbcb9e
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ Gemfile.lock
2
+ pkg/*
3
+
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gemspec
data/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Abstractive
2
+
3
+ Base module definition for `Abstractive` gems.
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,20 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |gem|
4
+ gem.name = "abstractive"
5
+ gem.version = "0.0.1"
6
+ gem.platform = Gem::Platform::RUBY
7
+ gem.summary = "Base utilities and framework for Abstractive gems."
8
+ gem.description = "Base utilities and framework for Abstractive gems."
9
+ gem.licenses = ["MIT"]
10
+
11
+ gem.authors = ["digitalextremist //"]
12
+ gem.email = ["code@extremist.digital"]
13
+ gem.homepage = "https://github.com/abstractive/abstractive"
14
+
15
+ gem.required_ruby_version = ">= 1.9.2"
16
+ gem.required_rubygems_version = ">= 1.3.6"
17
+
18
+ gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|examples|spec|features)/}) }
19
+ gem.require_path = "lib"
20
+ end
@@ -0,0 +1,20 @@
1
+ module Abstractive
2
+ class << self
3
+ def [](actor)
4
+ if Celluloid[actor]
5
+ Celluloid[actor]
6
+ else
7
+ const_get(actor.to_s.capitalize)
8
+ end
9
+ end
10
+
11
+ def shash(data)
12
+ return unless data.is_a? Hash
13
+ data.reduce({}) { |cleaned, (k, v)| cleaned.tap { |m| m[k.to_sym] = v } }
14
+ end
15
+
16
+ def recursive_merge(a, b)
17
+ a.merge(b) {|key, a_item, b_item| recursive_merge(a_item, b_item) }
18
+ end
19
+ end
20
+ end
metadata ADDED
@@ -0,0 +1,50 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: abstractive
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - digitalextremist //
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-07-20 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Base utilities and framework for Abstractive gems.
14
+ email:
15
+ - code@extremist.digital
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - .gitignore
21
+ - Gemfile
22
+ - README.md
23
+ - Rakefile
24
+ - abstractive.gemspec
25
+ - lib/abstractive.rb
26
+ homepage: https://github.com/abstractive/abstractive
27
+ licenses:
28
+ - MIT
29
+ metadata: {}
30
+ post_install_message:
31
+ rdoc_options: []
32
+ require_paths:
33
+ - lib
34
+ required_ruby_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - '>='
37
+ - !ruby/object:Gem::Version
38
+ version: 1.9.2
39
+ required_rubygems_version: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 1.3.6
44
+ requirements: []
45
+ rubyforge_project:
46
+ rubygems_version: 2.4.8
47
+ signing_key:
48
+ specification_version: 4
49
+ summary: Base utilities and framework for Abstractive gems.
50
+ test_files: []