strongmind-agilix-buzz-client 0.8.3

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,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f41a7e41e564c7fc3099bf19f1c917d709625b25751f2500236a5574644ed822
4
+ data.tar.gz: ce8628244fbd4c520db8ff6d6dfd476bec2df48818160d9265481e1293439ef1
5
+ SHA512:
6
+ metadata.gz: 96e5d0c8cfb92943716cf4e428b47c80af82510a7811548beb5ca5f36f2461fe7b2576bba6d7532efd7f57dfda8259934ca393749ea26e9cb8c27a77379bfc3e
7
+ data.tar.gz: 389f76763c2fbba9b4e2c482f96f5a91518ea995c52e73f3a56f2c580d7545a50da0999917c89c651d2e80c00e60607c169fc8b92ac8491c02fd599cfea0e19a
data/.coveralls.yml ADDED
@@ -0,0 +1 @@
1
+ service_name: travis-ci
data/.env.sample ADDED
@@ -0,0 +1,5 @@
1
+ AGILIX_BUZZ_USERNAME: ""
2
+ AGILIX_BUZZ_PASSWORD: ""
3
+ AGILIX_BUZZ_URL: "https://api.agilixbuzz.com"
4
+ AGILIX_BUZZ_DOMAIN: "agilixbuzz.com"
5
+ AGILIX_BUZZ_DEFAULT_DOMAIN: "root"
File without changes
@@ -0,0 +1,51 @@
1
+ name: Publish Gem
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ bundle-and-test:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ - name: Set up Ruby
12
+ uses: ruby/setup-ruby@v1
13
+ with:
14
+ ruby-version: '3.1.4'
15
+ - run: bundle install
16
+ # - run: rake test
17
+
18
+ publish-gem:
19
+ needs: bundle-and-test
20
+ runs-on: ubuntu-latest
21
+ steps:
22
+ - uses: actions/checkout@v3
23
+ #- name: Publish gem
24
+ # uses: cadwallion/publish-rubygems-action@master
25
+ # env:
26
+ # GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
27
+ # RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
28
+ # RELEASE_COMMAND: rake build gem push
29
+ - name: Publish to RubyGems
30
+ run: |
31
+ mkdir -p $HOME/.gem
32
+ touch $HOME/.gem/credentials
33
+ chmod 0600 $HOME/.gem/credentials
34
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
35
+ gem build *.gemspec
36
+ gem push *.gem
37
+ env:
38
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"
39
+ AGILIX_BUZZ_USERNAME: ${{ secrets.AGILIX_BUZZ_USERNAME }}
40
+ AGILIX_BUZZ_PASSWORD: ${{ secrets.AGILIX_BUZZ_PASSWORD }}
41
+ VelocityCheckin:
42
+ uses: StrongMind/public-reusable-workflows/.github/workflows/velocityCheckin.yml@main
43
+ with:
44
+ sourceEnvironment: prod
45
+ sourceBranch: ${{ github.ref_name }}
46
+ sourceRevision: ${{ github.sha }}
47
+ sourceRepo: ${{ github.server_url }}/${{ github.repository }}
48
+ sourceVersion: ${{ github.run_id }}.${{ github.run_number }}.${{ github.run_attempt }}
49
+ secrets:
50
+ VELOCITY_DEPLOYMENT_TOKEN: ${{ secrets.VELOCITY_DEPLOYMENT_TOKEN }}
51
+
@@ -0,0 +1,45 @@
1
+ # This Workflow takes 5 inputs and sends them to the velocity deployment
2
+ # endpoint
3
+
4
+ name: VelocityCheckin
5
+
6
+ # Controls when the workflow will run
7
+ on:
8
+ # Allows you to run this workflow manually from the Actions tab
9
+ workflow_dispatch:
10
+ inputs:
11
+ sourceEnvironment:
12
+ required: true
13
+ workflow_call:
14
+ inputs:
15
+ sourceBranch:
16
+ required: true
17
+ type: string
18
+ sourceRevision:
19
+ required: true
20
+ type: string
21
+ sourceRepo:
22
+ required: true
23
+ type: string
24
+ sourceEnvironment:
25
+ required: true
26
+ type: string
27
+ sourceVersion:
28
+ required: true
29
+ type: string
30
+ secrets:
31
+ VELOCITY_DEPLOYMENT_TOKEN:
32
+ required: true
33
+
34
+
35
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
36
+ jobs:
37
+ # This workflow contains a single job called "build"
38
+ build:
39
+ # The type of runner that the job will run on
40
+ runs-on: ubuntu-latest
41
+
42
+ # Steps represent a sequence of tasks that will be executed as part of the job
43
+ steps:
44
+ # run the curl command, taking inputs.
45
+ - run: curl -d "token=${{ secrets.VELOCITY_DEPLOYMENT_TOKEN }}" -d "revision=${{ inputs.sourceRevision }}" -d "repository_url=${{ inputs.sourceRepo }}" -d "branch=${{ inputs.sourceBranch }}" -d "version=${{ inputs.sourceVersion }}" -d "environment=${{ inputs.sourceEnvironment }}" https://velocity.codeclimate.com/deploys
data/.gitignore ADDED
@@ -0,0 +1,25 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ coverage/*
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ *.sublime-project
16
+ *.sublime-workspace
17
+
18
+ .DS_Store
19
+ .env
20
+ .ruby-version
21
+ .ruby-gemset
22
+ .idea
23
+ .idea/
24
+ .iml
25
+
data/.idea/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Editor-based HTTP Client requests
5
+ /httpRequests/
6
+ # Datasource local storage ignored files
7
+ /dataSources/
8
+ /dataSources.local.xml
@@ -0,0 +1,61 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="ModuleRunConfigurationManager">
4
+ <shared />
5
+ </component>
6
+ <component name="NewModuleRootManager">
7
+ <content url="file://$MODULE_DIR$">
8
+ <sourceFolder url="file://$MODULE_DIR$/features" isTestSource="true" />
9
+ <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
10
+ <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
11
+ </content>
12
+ <orderEntry type="jdk" jdkName="rbenv: 3.1.4" jdkType="RUBY_SDK" />
13
+ <orderEntry type="sourceFolder" forTests="false" />
14
+ <orderEntry type="library" scope="PROVIDED" name="agilix (v0.8.2, rbenv: 3.1.4) [gem]" level="application" />
15
+ <orderEntry type="library" scope="PROVIDED" name="builder (v3.2.4, rbenv: 3.1.4) [gem]" level="application" />
16
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v2.4.14, rbenv: 3.1.4) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.3, rbenv: 3.1.4) [gem]" level="application" />
18
+ <orderEntry type="library" scope="PROVIDED" name="dotenv (v2.8.1, rbenv: 3.1.4) [gem]" level="application" />
19
+ <orderEntry type="library" scope="PROVIDED" name="httparty (v0.21.0, rbenv: 3.1.4) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="method_source (v1.0.0, rbenv: 3.1.4) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="mini_mime (v1.1.2, rbenv: 3.1.4) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="minitest (v5.18.1, rbenv: 3.1.4) [gem]" level="application" />
23
+ <orderEntry type="library" scope="PROVIDED" name="multi_xml (v0.6.0, rbenv: 3.1.4) [gem]" level="application" />
24
+ <orderEntry type="library" scope="PROVIDED" name="pry (v0.14.2, rbenv: 3.1.4) [gem]" level="application" />
25
+ <orderEntry type="library" scope="PROVIDED" name="rake (v13.0.6, rbenv: 3.1.4) [gem]" level="application" />
26
+ <orderEntry type="library" scope="PROVIDED" name="vcr (v6.2.0, rbenv: 3.1.4) [gem]" level="application" />
27
+ </component>
28
+ <component name="RakeTasksCache">
29
+ <option name="myRootTask">
30
+ <RakeTaskImpl id="rake">
31
+ <subtasks>
32
+ <RakeTaskImpl description="Build strongmind-agilix-buzz-client-0.8.3.gem into the pkg directory" fullCommand="build" id="build" />
33
+ <RakeTaskImpl id="build">
34
+ <subtasks>
35
+ <RakeTaskImpl description="Generate SHA512 checksum if strongmind-agilix-buzz-client-0.8.3.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
36
+ </subtasks>
37
+ </RakeTaskImpl>
38
+ <RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
39
+ <RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
40
+ <RakeTaskImpl description="Build and install strongmind-agilix-buzz-client-0.8.3.gem into system gems" fullCommand="install" id="install" />
41
+ <RakeTaskImpl id="install">
42
+ <subtasks>
43
+ <RakeTaskImpl description="Build and install strongmind-agilix-buzz-client-0.8.3.gem into system gems without network access" fullCommand="install:local" id="local" />
44
+ </subtasks>
45
+ </RakeTaskImpl>
46
+ <RakeTaskImpl description="Create tag v0.8.3 and build and push strongmind-agilix-buzz-client-0.8.3.gem to https://rubygems.org/" fullCommand="release[remote]" id="release[remote]" />
47
+ <RakeTaskImpl description="Run tests" fullCommand="test" id="test" />
48
+ <RakeTaskImpl description="" fullCommand="default" id="default" />
49
+ <RakeTaskImpl description="" fullCommand="release" id="release" />
50
+ <RakeTaskImpl id="release">
51
+ <subtasks>
52
+ <RakeTaskImpl description="" fullCommand="release:guard_clean" id="guard_clean" />
53
+ <RakeTaskImpl description="" fullCommand="release:rubygem_push" id="rubygem_push" />
54
+ <RakeTaskImpl description="" fullCommand="release:source_control_push" id="source_control_push" />
55
+ </subtasks>
56
+ </RakeTaskImpl>
57
+ </subtasks>
58
+ </RakeTaskImpl>
59
+ </option>
60
+ </component>
61
+ </module>
data/.idea/misc.xml ADDED
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="rbenv: 3.1.3" project-jdk-type="RUBY_SDK" />
4
+ </project>
data/.idea/modules.xml ADDED
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/agilix-buzz-client.iml" filepath="$PROJECT_DIR$/.idea/agilix-buzz-client.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at beneggett@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in agilix.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Ben Eggett
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.