ansible-ruby 1.0.16 → 1.0.17

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: bee8d266bf5aaedd590ce916685fa9d58c9636dd
4
- data.tar.gz: 9e6f0bacc22a270f407b43f1ae1e8529f2705689
3
+ metadata.gz: 362d3aac14d6c799c27f0859213949c6f3b11711
4
+ data.tar.gz: a5715cdede21f51ca4817846b616f833ef00c29d
5
5
  SHA512:
6
- metadata.gz: 9aafb8b01db885d0a9b7b2c2d640468560b84f7577cc13e045c05982b1cdf1afba02544fdeeb04df403f437e7782fdcf10fd08fc8dc35e14ab1dd996d5d6f8db
7
- data.tar.gz: 4403520099ca0ea6f24eb7d1bdb157e85653b3cbff796468197698347d089fa02d19f3d9f4c69f7b63d5faaceedfda725d91f60d634ff2bc7e26e3d0c63c7ad9
6
+ metadata.gz: 0b21ab274c60ad3c4aba3c8ca10abc81676a1e03e7418d6b036e8745127de6bbc917baa373ecc719ca38fd9dbb31a23e8da3021da6f9359887d600bcb845ed2b
7
+ data.tar.gz: 7ba6742b6e34bd987ebb7ccfba1be2a2cd8d166621fcc87d616fcfcb7d9c4dafed8bd89e9bea16cd35e62e2f204d6db0ae5635f0eed7c365180c5990aec961a5
@@ -888,7 +888,8 @@ ansible_mod.autoload(:Iso_extract, 'ansible/ruby/modules/generated/files/iso_ext
888
888
  # Using custom module
889
889
  ansible_mod.autoload(:Lineinfile, 'ansible/ruby/modules/custom/files/lineinfile')
890
890
  ansible_mod.autoload(:Patch, 'ansible/ruby/modules/generated/files/patch')
891
- ansible_mod.autoload(:Replace, 'ansible/ruby/modules/generated/files/replace')
891
+ # Using custom module
892
+ ansible_mod.autoload(:Replace, 'ansible/ruby/modules/custom/files/replace')
892
893
  ansible_mod.autoload(:Stat, 'ansible/ruby/modules/generated/files/stat')
893
894
  ansible_mod.autoload(:Synchronize, 'ansible/ruby/modules/generated/files/synchronize')
894
895
  ansible_mod.autoload(:Tempfile, 'ansible/ruby/modules/generated/files/tempfile')
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ # VALIDATED_CHECKSUM: 8tGO4W1AOIcyDgnmv++QyJ4bwnzbhVmIPO4QPdR0bKs=
4
+
5
+ # see LICENSE.txt in project root
6
+
7
+ require 'ansible/ruby/modules/generated/files/replace'
8
+ require 'ansible/ruby/modules/helpers/file_attributes'
9
+
10
+ module Ansible
11
+ module Ruby
12
+ module Modules
13
+ class Replace
14
+ include Helpers::FileAttributes
15
+ end
16
+ end
17
+ end
18
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ansible
4
4
  module Ruby
5
- VERSION = '1.0.16'
5
+ VERSION = '1.0.17'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ansible-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.16
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brady Wied
@@ -86,6 +86,7 @@ files:
86
86
  - lib/ansible/ruby/modules/custom/files/copy.rb
87
87
  - lib/ansible/ruby/modules/custom/files/file.rb
88
88
  - lib/ansible/ruby/modules/custom/files/lineinfile.rb
89
+ - lib/ansible/ruby/modules/custom/files/replace.rb
89
90
  - lib/ansible/ruby/modules/custom/files/template.rb
90
91
  - lib/ansible/ruby/modules/custom/files/unarchive.rb
91
92
  - lib/ansible/ruby/modules/custom/net_tools/basics/get_url.rb