itamae-plugin-resource-mail_alias 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84ce0660e4333c2563f78653e839c8ff721ca0e3
4
- data.tar.gz: 846b108da7e884f8795f730aa4721c515bf772b5
3
+ metadata.gz: 2bfc99c0d87c2fdff75b72f747f87c689a3b502d
4
+ data.tar.gz: 0d83107f6a773d60ffa04990642fc8bf5ca68911
5
5
  SHA512:
6
- metadata.gz: 88926ca2edf7780c45607bb07e5c299114e09a17930bbc90f860f64ce6677b69d72c1d87b997c1740f66994f342d94c6d305055692db2e8331642ef1d5244a2a
7
- data.tar.gz: 27fea09622e966955e8ba06017f992dd86d2849fe07cfe823ed6c653e16169adb2e3bcc64bce745d59f143d1f39469d543f74c735f2f76f5479d18bef3d73425
6
+ metadata.gz: cce90c23e4ef1fac299b4cd11da03e13b51f1e6242ae17902d4cae187ad4ac194af5b311587a55d7251f702970992619847dd1a41ed57db7a6670d417bf1d588
7
+ data.tar.gz: 218780ea46d5d3b712048fea91f4c32cda818076de602b42ad84b662ab90e17fc7653b0164192da9c8ca5b7ce4da58f315ebf43fe21f5c528b9c317bde521656
@@ -10,8 +10,8 @@ module Itamae
10
10
  define_attribute :recipient, type: String, required: true
11
11
 
12
12
  def action_create(options)
13
- if !run_specinfra(:check_mail_alias_is_aliased_to, mail_alias, recipient)
14
- run_specinfra(:add_mail_alias, mail_alias, recipient)
13
+ if !run_specinfra(:check_mail_alias_is_aliased_to, attributes.mail_alias, attributes.recipient)
14
+ run_specinfra(:add_mail_alias, mail_alias, attributes.recipient)
15
15
  end
16
16
  end
17
17
  end
@@ -4,7 +4,7 @@ module Itamae
4
4
  module Plugin
5
5
  module Resource
6
6
  class MailAlias < Itamae::Resource::Base
7
- VERSION = "0.0.2"
7
+ VERSION = "0.0.3"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-resource-mail_alias
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-29 00:00:00.000000000 Z
11
+ date: 2014-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae