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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3edb938e54606119cee460e75f0e7f11aa4e4a52
4
- data.tar.gz: 2ed831955290e554210e0fbf43b354fa5256c895
3
+ metadata.gz: 042b5e1b5f4c3237c5927697b2ef149448c62c9f
4
+ data.tar.gz: db69e6c8829469e48651a50352a2512e201efd66
5
5
  SHA512:
6
- metadata.gz: 733797495d20baa17cca40b315c843b71d3210cca2c4e6d4817d8255a105355134985fdee1ff6f22ded7d211de9c08ec2370e69f9b460eb9b1264a120889d849
7
- data.tar.gz: 80cd6bb91b1797aa171a5e330a3d783002e02bc18e94e83b593936909ee4f1382ab4afded6ea0edbbbd38da07c39105656aa8ad1fabdf9e7fb5855dc9ab5c601
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
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Banken
2
2
  module DSL
3
- UndefinedAction = Class.new(NameError)
3
+ UndefinedAction = Class.new(NoMethodError)
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  module Banken
2
2
  module DSL
3
- VERSION = "0.1.0".freeze
3
+ VERSION = "0.1.1".freeze
4
4
  end
5
5
  end
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.0
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-10 00:00:00.000000000 Z
11
+ date: 2017-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: banken