cool_stuff 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OGZlNTY4ZTVhNzJjNTA2YTE5MmRiNTM5NmVkZjM2N2M0ZTY2ODkxMg==
5
+ data.tar.gz: !binary |-
6
+ N2Y1YjA3MWIyZGZkYThiNjU1MTMxZmZmMTg1YzA4YTJkZjA0MTI3YQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZjVmZTRhYWZhMWE1YWZjYjZmYTg4ZjRjZmJjNWJiMTVmNTJmMWMzZTdlOTRm
10
+ ODAwMjA4NDA1NzFjNjA0ZjE1NWZmYjFlZGRiM2NkOWZmMGNkOWQ5N2MzZjYz
11
+ NDczMTZmMzRhMzRjNDdkZTFkOTA0ZTZkZTQxODFlYTBlYjY4NWM=
12
+ data.tar.gz: !binary |-
13
+ NWZjMjFmMjNlOWE1NTU2NjYxOTRmMmU5Y2MyNDVjZTdlZDZjOWJmYmI1MzRh
14
+ NWYwYjExN2IxMjBjYTk4YWEzMzIzM2UyNWE0YjEyNDVjNDc0YTIwNmY2YzA4
15
+ ZWZmYjM1YmM1OWNkYjI5NjVjN2Y0MTkyYzVkY2U0MWYxNWYzMjE=
data/.gitignore ADDED
@@ -0,0 +1,37 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /test/tmp/
9
+ /test/version_tmp/
10
+ /tmp/
11
+
12
+ ## Specific to RubyMotion:
13
+ .dat*
14
+ .repl_history
15
+ build/
16
+
17
+ ## Documentation cache and generated files:
18
+ /.yardoc/
19
+ /_yardoc/
20
+ /doc/
21
+ /rdoc/
22
+
23
+ ## Environment normalisation:
24
+ /.bundle/
25
+ /lib/bundler/man/
26
+
27
+ # for a library or gem, you might want to ignore these files since the code is
28
+ # intended to run in multiple environments; otherwise, check them in:
29
+ Gemfile.lock
30
+ .ruby-gemset
31
+
32
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
33
+ .rvmrc
34
+
35
+ .DS_Store
36
+
37
+ .idea
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ brpm_content
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 1.9.3-p392
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/Rakefile ADDED
@@ -0,0 +1,23 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require 'rspec/core/rake_task'
4
+
5
+ # Immediately sync all stdout so that tools like buildbot can
6
+ # immediately load in the output.
7
+ $stdout.sync = true
8
+ $stderr.sync = true
9
+
10
+ # Change to the directory of this file.
11
+ Dir.chdir(File.expand_path("../", __FILE__))
12
+
13
+ # This installs the tasks that help with gem creation and
14
+ # publishing.
15
+ Bundler::GemHelper.install_tasks
16
+
17
+ # Install the `spec` task so that we can run tests.
18
+ RSpec::Core::RakeTask.new do |task|
19
+ task.pattern = "tests/**/*_spec.rb"
20
+ end
21
+
22
+ # Default task is to run the unit tests
23
+ task :default => "spec"
@@ -0,0 +1,25 @@
1
+ # list all input and output params
2
+ params:
3
+ first_addend:
4
+ name: First addend
5
+ second_addend:
6
+ name: Second addend
7
+ sum:
8
+ name: Sum
9
+ type: out-text
10
+
11
+ # friendly_name: <script friendly name> # this value will be used as the name of the automation script BRPM, if not specified the file name of the file will be used
12
+ description: Sums two numbers
13
+
14
+ # if your automation script depends on an integration server, you can specify here the type of the integration server it needs
15
+ # during the installation the applicable integration server of the BRPM instance will then be linked to the automation script
16
+
17
+ # supported integration server types:
18
+ # Jira
19
+ # Hudson/Jenkins, Jenkins
20
+ # Remedy via AO, AO, "AtriumOrchestrator
21
+ # BMC Application Automation, Bladelogic
22
+ # RLM Deployment Engine, BRPD
23
+
24
+ # integration_server_type: <integration server type>
25
+
@@ -0,0 +1,3 @@
1
+ sum = BrpmAuto.params["first_addend"].to_i + BrpmAuto.params["second_addend"].to_i
2
+
3
+ BrpmAuto.pack_response "sum", sum
data/config.yml ADDED
@@ -0,0 +1,13 @@
1
+ #list all dependencies
2
+ #dependencies:
3
+ # - <module name> { version: x.x.x } # version is optional
4
+
5
+ version: 0.0.1
6
+
7
+ friendly_name: Cool stuff # this value will be used to create an automation category in BRPM for the module, if not specified the name of the repository (minus "brpm_module_") will be used
8
+ author: Niek Bartholomeus
9
+ email: niek.bartholomeus@gmail.com
10
+ homepage: https://github.com/BMC-RLM/cool_stuff
11
+ license: MIT
12
+ summary: Cool stuff
13
+ description: This is my cool stuff
data/module.gemspec ADDED
@@ -0,0 +1,36 @@
1
+ require "yaml"
2
+
3
+ config = YAML.load_file(File.join(File.dirname(__FILE__), "config.yml"))
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = File.basename(File.expand_path(File.dirname(__FILE__))).sub("-#{config["version"]}", "")
7
+ spec.version = config["version"]
8
+ spec.platform = Gem::Platform::RUBY
9
+ spec.license = config["license"]
10
+ spec.authors = [config["author"]]
11
+ spec.email = config["email"]
12
+ spec.homepage = config["homepage"]
13
+ spec.summary = config["summary"]
14
+ spec.description = config["description"]
15
+
16
+ spec.add_runtime_dependency "brpm_content_framework", ">=0.2.11"
17
+
18
+ if config["dependencies"]
19
+ config["dependencies"].each do |dependency|
20
+ if dependency.is_a?(Hash)
21
+ modul = dependency.keys[0]
22
+ options = dependency.values[0]
23
+ else
24
+ modul = dependency
25
+ options = {}
26
+ end
27
+ spec.add_runtime_dependency modul, options["version"]
28
+ end
29
+ end
30
+
31
+ spec.add_development_dependency "rake"
32
+ spec.add_development_dependency "rspec"
33
+
34
+ spec.files = `git ls-files`.split("\n")
35
+ spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
36
+ end
metadata ADDED
@@ -0,0 +1,94 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cool_stuff
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Niek Bartholomeus
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-10-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: brpm_content_framework
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 0.2.11
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.2.11
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: This is my cool stuff
56
+ email: niek.bartholomeus@gmail.com
57
+ executables: []
58
+ extensions: []
59
+ extra_rdoc_files: []
60
+ files:
61
+ - .gitignore
62
+ - .ruby-gemset
63
+ - .ruby-version
64
+ - Gemfile
65
+ - Rakefile
66
+ - automations/addition.meta
67
+ - automations/addition.rb
68
+ - config.yml
69
+ - module.gemspec
70
+ homepage: https://github.com/BMC-RLM/cool_stuff
71
+ licenses:
72
+ - MIT
73
+ metadata: {}
74
+ post_install_message:
75
+ rdoc_options: []
76
+ require_paths:
77
+ - lib
78
+ required_ruby_version: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ required_rubygems_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ requirements: []
89
+ rubyforge_project:
90
+ rubygems_version: 2.1.9
91
+ signing_key:
92
+ specification_version: 4
93
+ summary: Cool stuff
94
+ test_files: []