activeoopish 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/activeoopish/inheritance.rb +2 -2
- data/lib/activeoopish/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a2114fbd9afdf72c4e55bde93c734dd864d998f
|
4
|
+
data.tar.gz: 2abc9dbb758e7353028d9af080ee5a45c32514e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 240567d5706da9de714ce682c693a1188ac4532a371f8b5a53a9ebbd3c771c02f5a62a4dd785c5cf64611f3b858c8fcf152196f9dbd028dae0d5c1e81efcf5e7
|
7
|
+
data.tar.gz: 421c47a19154061669920ab601b98e078e9705ecba6bb89d5d21fbf88791b6769ff8ebb0c8cf852b0286a4b321ce25ec4feb62045803db52813d75089527f093
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# AvtiveOopish
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/yuku-t/activeoopish.svg?branch=master)](https://travis-ci.org/yuku-t/activeoopish) [![Code Climate](https://codeclimate.com/github/yuku-t/activeoopish/badges/gpa.svg)](https://codeclimate.com/github/yuku-t/activeoopish) [![Coverage Status](https://coveralls.io/repos/yuku-t/activeoopish/badge.svg)](https://coveralls.io/r/yuku-t/activeoopish) [![Dependency Status](https://gemnasium.com/yuku-t/activeoopish.svg)](https://gemnasium.com/yuku-t/activeoopish)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/activeoopish.svg)](http://badge.fury.io/rb/activeoopish) [![Build Status](https://travis-ci.org/yuku-t/activeoopish.svg?branch=master)](https://travis-ci.org/yuku-t/activeoopish) [![Code Climate](https://codeclimate.com/github/yuku-t/activeoopish/badges/gpa.svg)](https://codeclimate.com/github/yuku-t/activeoopish) [![Coverage Status](https://coveralls.io/repos/yuku-t/activeoopish/badge.svg)](https://coveralls.io/r/yuku-t/activeoopish) [![Dependency Status](https://gemnasium.com/yuku-t/activeoopish.svg)](https://gemnasium.com/yuku-t/activeoopish)
|
4
4
|
|
5
5
|
Simple tools for better OOP in Rails projects.
|
6
6
|
|
@@ -12,10 +12,10 @@ module ActiveOopish
|
|
12
12
|
# Public:
|
13
13
|
#
|
14
14
|
# class_name - A String represents the class which instantiates an instance.
|
15
|
-
# condition - A Hash
|
15
|
+
# condition - A Hash.
|
16
16
|
#
|
17
17
|
def instantiate_as(class_name, options = {})
|
18
|
-
@instantiation_rules << { class_name: class_name, condition: options
|
18
|
+
@instantiation_rules << { class_name: class_name, condition: options.stringify_keys }
|
19
19
|
end
|
20
20
|
|
21
21
|
private
|
data/lib/activeoopish/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeoopish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuku Takahashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|