banken-dsl 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/banken/dsl.rb +4 -0
- data/lib/banken/dsl/error.rb +1 -1
- data/lib/banken/dsl/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: 042b5e1b5f4c3237c5927697b2ef149448c62c9f
|
4
|
+
data.tar.gz: db69e6c8829469e48651a50352a2512e201efd66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4317fff6c34021451427b1ebcc156e31e2c9d51ecc63841867969e1c77817de6ded4b915b7de10593045c1f95b41dfda88763cbd7e0951f400ec8c22b95112a
|
7
|
+
data.tar.gz: a1560391d54cabf5d6ec7df03b4a98412aaf19bf45a7017fd28c7fadea9195d2e9f8979930ae59c52df65cd79ea90c61e491659c0764f90c135e06df5ec9087f
|
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Banken::DSL
|
2
2
|
|
3
|
+
[![Build Status](https://travis-ci.org/yhirano55/banken-dsl.svg?branch=master)](https://travis-ci.org/yhirano55/banken-dsl)
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/banken-dsl.svg)](https://badge.fury.io/rb/banken-dsl)
|
5
|
+
|
3
6
|
This plugin gives directly define query methods to the controller for a Banken loyalty class by DSL
|
4
7
|
|
5
8
|
## Installation
|
data/lib/banken/dsl.rb
CHANGED
@@ -13,6 +13,10 @@ module Banken
|
|
13
13
|
banken_dsl_proxy.define_banken_query_method_for(action_name, &block)
|
14
14
|
end
|
15
15
|
|
16
|
+
def define_banken_permit_attributes_method(&block)
|
17
|
+
banken_dsl_proxy.define_banken_permit_attributes_method(&block)
|
18
|
+
end
|
19
|
+
|
16
20
|
private
|
17
21
|
|
18
22
|
def banken_dsl_proxy
|
data/lib/banken/dsl/error.rb
CHANGED
data/lib/banken/dsl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: banken-dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshiyuki Hirano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: banken
|