puppet-module-win-system-r 0.0.0 → 1.0

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
  SHA256:
3
- metadata.gz: cc4be49f92fa2250203ff4721c9afb43cc2d33b56c24ce86b705f032677e6ff4
4
- data.tar.gz: f99d516e5c63c306497f745d0a8fc7f3d9b79cca2ec1e3c53044a66784844ad5
3
+ metadata.gz: 7c3a9cca92fdb14c8e186c14f3b6832d926da17fcefda3d5c16a2ecc34ccbfca
4
+ data.tar.gz: fc4a6cfd2723c9263917e36af88aa9ffb95bec2659265265f7d3ba5e8b188775
5
5
  SHA512:
6
- metadata.gz: cc2e784c62ed3d6858632795ffa389275ea1e42f4370d7146616d9e2a65b731581b4b484f5aeb9aea1d968023f06e4eca8d9564a643873cbf38914cbe71dd50a
7
- data.tar.gz: a3308ccb4fc0f595e565ae3005657dc6b7596ae5210136401887cc61711229db8998768f3783f38d9e02b7ea2c58102c4b3c063091ca7677ce099c089dfbd9d8
6
+ metadata.gz: 2a046c567c829ec0d483a78965b2b42e16b21a50764aa6bce37c173add705de23c5245372b095a26a82f39d12ac123e6677f8a15c3ab7ada664a8a7675ddc7d3
7
+ data.tar.gz: 77ec9cbf587c8b2d1dfa7f9c887ae8c5149d1dacd337a98508bfd6444c69580cabb27c82135b9c3e8bb1806b6e54991c14aab3741533132c5bf07ee74b9a0872
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+ require 'puppet-module-win-system-r'
3
+
4
+ MyGem.display_message
@@ -1,5 +1,5 @@
1
- class Hola
2
- def self.hi
1
+ module MyGem
2
+ def self.display_message
3
3
  puts "poc by @gopal_ethical"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,27 +1,25 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-module-win-system-r
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: '1.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - "@gopal_ethical"
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-11 00:00:00.000000000 Z
11
+ date: 2024-07-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: poc by @gopal_ethical
14
- email: poc@email.com
15
- executables: []
14
+ email: ftest.first@gmail.com
15
+ executables:
16
+ - puppet-module-win-system-r
16
17
  extensions: []
17
18
  extra_rdoc_files: []
18
19
  files:
19
- - Rakefile
20
- - bin/hola
21
- - lib/hola.rb
22
- - lib/hola/translator.rb
23
- - test/test_hola.rb
24
- homepage: http://rubygems.org/gems/puppet-module-win-system-r
20
+ - bin/puppet-module-win-system-r
21
+ - lib/puppet-module-win-system-r.rb
22
+ homepage:
25
23
  licenses: []
26
24
  metadata: {}
27
25
  post_install_message:
@@ -41,7 +39,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
41
39
  requirements: []
42
40
  rubygems_version: 3.3.15
43
41
  signing_key:
44
- specification_version: 3
45
- summary: Hola!
46
- test_files:
47
- - test/test_hola.rb
42
+ specification_version: 4
43
+ summary: poc by @gopal_ethical
44
+ test_files: []
data/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- require 'rake/testtask'
2
-
3
- Rake::TestTask.new do |t|
4
- t.libs << 'test'
5
- end
6
-
7
- desc "Run tests"
8
- task :default => :test
data/bin/hola DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'hola'
4
- puts Hola.hi(ARGV[0])
@@ -1,16 +0,0 @@
1
- class Hola::Translator
2
- def initialize(language = "english")
3
- @language = language
4
- end
5
-
6
- def hi
7
- case @language
8
- when "spanish"
9
- "hola mundo"
10
- when "korean"
11
- "anyoung ha se yo"
12
- else
13
- "hello world"
14
- end
15
- end
16
- end
data/test/test_hola.rb DELETED
@@ -1,16 +0,0 @@
1
- require 'test/unit'
2
- require 'hola'
3
-
4
- class HolaTest < Test::Unit::TestCase
5
- def test_english_hello
6
- assert_equal "hello world", Hola.hi("english")
7
- end
8
-
9
- def test_any_hello
10
- assert_equal "hello world", Hola.hi("ruby")
11
- end
12
-
13
- def test_spanish_hello
14
- assert_equal "hola mundo", Hola.hi("spanish")
15
- end
16
- end