conversejs 3.4.0 → 3.5.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: 89d49375501f694fb37726e716e2f4669940815a9977adee8ab324be293cde7d
4
- data.tar.gz: 115cc6d1899bbfd3e4eaf83ee29a4fa1ecae04950e9fbc99500ad37c2a47ce10
3
+ metadata.gz: d3f66f123dd141b971701ec78ebd72e4175212f0bf426fc53662ea4d03668622
4
+ data.tar.gz: 1b5a8e6130635f5555fc3dfcfe9524baa6408c87d8bda70cbf1ff4c71bc79b75
5
5
  SHA512:
6
- metadata.gz: 77c72bc478d9b19bec3e0ac07d92e913082bc89edb9126f18dbc37674f7fe9df7cc519b713bd20389a4070e013134d9083552bbbe3f702a343e065a4e62a91c3
7
- data.tar.gz: e214a6c6e1107644ed7cee501d4f35c4d119728312d5fb77a0bb66dff8ce217c7e16ba6861dac07e2faa7426662c06dc7af83c7a8c950ae3414360e4e16f06d9
6
+ metadata.gz: 5cddc8fe1016473258596994f7f1d47d68b9bea0c7fb01cf9ae4d88e466430284c285cdcdf88957fae04fa209c9a68d72ea110db3736b47ef9c481f8c34325dc
7
+ data.tar.gz: eadb7f0bc585a8a39d5e3ef570066221cc1d629943b8a7099e3d559b264dd7c67878fb87f194d6f5359ef54d367d10c96eba7ab2cd80d4e6039fe8b7995a6963
@@ -0,0 +1,47 @@
1
+ name: Release
2
+ run-name: Release ${{ github.event.inputs.VERSION }}
3
+
4
+ on:
5
+ workflow_dispatch:
6
+ inputs:
7
+ VERSION:
8
+ description: The new version to release. (eg. `1.0.0`) Check the
9
+ changelog for the latest version.
10
+
11
+ concurrency:
12
+ group: '${{ github.event.inputs.VERSION }}'
13
+ cancel-in-progress: true
14
+
15
+ jobs:
16
+ docs:
17
+ name: Release the gem
18
+ runs-on: ubuntu-22.04
19
+ timeout-minutes: 5
20
+ steps:
21
+ - uses: actions/checkout@v3
22
+
23
+ - name: Install Ruby 2.5
24
+ uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: 2.5
27
+ bundler-cache: true
28
+ rubygems: '3.3.26'
29
+
30
+ - name: Prepare the virtual environment
31
+ uses: hausgold/actions/ci@master
32
+ with:
33
+ clone_token: '${{ secrets.CLONE_TOKEN }}'
34
+ settings: '${{ github.repository }}'
35
+ target: ci/gem-test
36
+
37
+ - name: Switch to SSH remotes for the Git repository
38
+ run: git-ssh-remotes
39
+
40
+ - name: Enforce version '${{ github.event.inputs.VERSION }}'
41
+ run: set-gem-version '${{ github.event.inputs.VERSION }}'
42
+
43
+ - name: Prepare the Git release commit
44
+ run: git-release-commit '${{ github.event.inputs.VERSION }}'
45
+
46
+ - name: Push the release Git commit/tag and package to the registry
47
+ run: make release
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### next
2
+
3
+ * TODO: Replace this bullet point with an actual description of a change.
4
+
5
+ ### 3.5.0
6
+
7
+ * Added support for Gem release automation
8
+
1
9
  ### 3.4.0
2
10
 
3
11
  * Bundler >= 2.3 is from now on required as minimal version (#3)
@@ -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 development@hausgold.de. 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/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
3
  Copyright (c) 2023 HAUSGOLD | talocasa GmbH
4
4
 
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
9
  copies of the Software, and to permit persons to whom the Software is
10
10
  furnished to do so, subject to the following conditions:
11
11
 
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
14
 
15
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
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.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -12,8 +12,9 @@ for your Rails 4+ application.
12
12
  - [Installation](#installation)
13
13
  - [Usage](#usage)
14
14
  - [Development](#development)
15
+ - [Code of Conduct](#code-of-conduct)
15
16
  - [Contributing](#contributing)
16
- - [License](#license)
17
+ - [Releasing](#releasing)
17
18
 
18
19
  ## Installation
19
20
 
@@ -54,22 +55,28 @@ your `app/assets/stylesheets/application.scss`. Just add this line:
54
55
 
55
56
  ## Development
56
57
 
57
- After checking out the repo, run `bin/setup` to install dependencies. Then, run
58
- `rake spec` to run the tests. You can also run `bin/console` for an interactive
59
- prompt that will allow you to experiment.
58
+ After checking out the repo, run `make install` to install dependencies. Then,
59
+ run `make test` to run the tests. You can also run `make shell-irb` for an
60
+ interactive prompt that will allow you to experiment.
60
61
 
61
- To install this gem onto your local machine, run `bundle exec rake install`. To
62
- release a new version, update the version number in `version.rb`, and then run
63
- `bundle exec rake release`, which will create a git tag for the version, push
64
- git commits and tags, and push the `.gem` file to
65
- [rubygems.org](https://rubygems.org).
62
+ ## Code of Conduct
63
+
64
+ Everyone interacting in the project codebase, issue tracker, chat
65
+ rooms and mailing lists is expected to follow the [code of
66
+ conduct](./CODE_OF_CONDUCT.md).
66
67
 
67
68
  ## Contributing
68
69
 
69
70
  Bug reports and pull requests are welcome on GitHub at
70
- https://github.com/hausgold/conversejs.
71
-
72
- ## License
73
-
74
- The gem is available as open source under the terms of the [MIT
75
- License](https://opensource.org/licenses/MIT).
71
+ https://github.com/hausgold/conversejs. Make sure that every pull request adds
72
+ a bullet point to the [changelog](./CHANGELOG.md) file with a reference to the
73
+ actual pull request.
74
+
75
+ ## Releasing
76
+
77
+ The release process of this Gem is fully automated. You just need to open the
78
+ Github Actions [Release
79
+ Workflow](https://github.com/hausgold/conversejs/actions/workflows/release.yml)
80
+ and trigger a new run via the **Run workflow** button. Insert the new version
81
+ number (check the [changelog](./CHANGELOG.md) first for the latest release) and
82
+ you're done.
@@ -4,7 +4,7 @@ module Conversejs
4
4
  # The gem version details.
5
5
  module Rails
6
6
  # The version of the +conversejs+ gem
7
- VERSION = '3.4.0'
7
+ VERSION = '3.5.0'
8
8
 
9
9
  class << self
10
10
  # Returns the version of gem as a string.
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conversejs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
8
8
  - Henning Vogt
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2023-01-18 00:00:00.000000000 Z
12
+ date: 2023-02-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -221,7 +221,7 @@ dependencies:
221
221
  - - ">="
222
222
  - !ruby/object:Gem::Version
223
223
  version: 0.0.1
224
- description:
224
+ description:
225
225
  email:
226
226
  - hermann.mayer92@gmail.com
227
227
  - henning.vogt@hausgold.de
@@ -231,6 +231,7 @@ extra_rdoc_files: []
231
231
  files:
232
232
  - ".editorconfig"
233
233
  - ".github/workflows/documentation.yml"
234
+ - ".github/workflows/release.yml"
234
235
  - ".github/workflows/test.yml"
235
236
  - ".gitignore"
236
237
  - ".rspec"
@@ -239,6 +240,7 @@ files:
239
240
  - ".yardopts"
240
241
  - Appraisals
241
242
  - CHANGELOG.md
243
+ - CODE_OF_CONDUCT.md
242
244
  - Dockerfile
243
245
  - Envfile
244
246
  - Gemfile
@@ -271,7 +273,7 @@ metadata:
271
273
  changelog_uri: https://github.com/hausgold/conversejs/blob/master/CHANGELOG.md
272
274
  bug_tracker_uri: https://github.com/hausgold/conversejs/issues
273
275
  documentation_uri: https://www.rubydoc.info/gems/conversejs
274
- post_install_message:
276
+ post_install_message:
275
277
  rdoc_options: []
276
278
  require_paths:
277
279
  - lib
@@ -286,8 +288,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
286
288
  - !ruby/object:Gem::Version
287
289
  version: '0'
288
290
  requirements: []
289
- rubygems_version: 3.3.8
290
- signing_key:
291
+ rubygems_version: 3.3.26
292
+ signing_key:
291
293
  specification_version: 4
292
294
  summary: Converse.js for your Rails application
293
295
  test_files: []