darjeelink 0.14.6 → 0.14.9
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 +4 -4
- data/README.md +1 -22
- data/config/initializers/darjeelink.rb +2 -0
- data/lib/darjeelink/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09e6e5c4021823184609d27cb7ee119ca4a46e49c6b45c7eb4c578a51fcb7f82'
|
4
|
+
data.tar.gz: 66f7bf011450ab67e29ac9f6d319df27dc8579bbc7c42aef32ec01887207fede
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36a8a3b08f739df22de34b245a221fff28ed914bcf1abe1fcdf2cfa83dee14d11a0c259e21e24a867e142d30a38ede154417d774cbf75f8223970f2efc802e9d
|
7
|
+
data.tar.gz: a29256c1e63a1f9fe3f2880f32a50096ed09493f741254a0028cb6906116b4eab6aee8b110f0e04a78f889eccda6913bbbdd54b9f2c241db8aa6c72ebf3c50b7
|
data/README.md
CHANGED
@@ -120,28 +120,7 @@ Change the database url to be different to the development one i.e. `postgres://
|
|
120
120
|
## Releasing
|
121
121
|
Darjeelink follows [Semantic Versioning](https://semver.org)
|
122
122
|
|
123
|
-
|
124
|
-
There are several ways to test the gem before releasing it.
|
125
|
-
|
126
|
-
One way, is to check the new development branch into Github, and then use `portkey-app` to test it in a staging environment.
|
127
|
-
|
128
|
-
- Create a new branch in the `darjeelink` repo with a sensible name related to your intended release: e.g. `darjeelink-v0.14.6-upgrade`.
|
129
|
-
- Perform the required upgrades, security patching, etc for the new release.
|
130
|
-
- Bump the version number as required (see below).
|
131
|
-
- Create a new branch in the `portkey-app` repo with a sensible name related to your intdended release: e.g. `darjeelink-v0.14.6-upgrade`.
|
132
|
-
- In the `Gemfile` of the portkey-app repo, change the `darjeelink` gem to point to the branch you just created in the darjeelink repo.
|
133
|
-
```gemfile
|
134
|
-
# Actual URL Shortener
|
135
|
-
# gem 'darjeelink' <-- Temporarilly change this. Remeber to change it back, and run bundle install to update the Gemfile.lock when done!
|
136
|
-
gem 'darjeelink', git: 'https://github.com/38degrees/darjeelink.git',
|
137
|
-
branch: 'darjeelink-v0.14.6-upgrade'
|
138
|
-
```
|
139
|
-
- Update the `Gemfile.lock` in the `portkey-app` repo by running `bundle install` and commit then push the changes.
|
140
|
-
- Deploy your branch of the portkey-app to the staging environment and test the changes.
|
141
|
-
|
142
|
-
NB: When you have followed the production release steps below and created a GitHub release, you can then update the `Gemfile` in the `portkey-app` repo to point to the new release tag.
|
143
|
-
|
144
|
-
### Releasing - Production
|
123
|
+
NB: Before releasing, ensure that the gem is working as expected by running the tests. If possible perform some manual testing via a webserver.
|
145
124
|
|
146
125
|
Once all necessary changes have made it in to master and you are ready to do a release you need to do these steps.
|
147
126
|
|
@@ -6,6 +6,7 @@ Darjeelink.configure do |config|
|
|
6
6
|
|
7
7
|
# keep in alphabetical order, execpt for 'other' which should be last
|
8
8
|
config.source_mediums = {
|
9
|
+
'bluesky': 'BlueSky',
|
9
10
|
chatbot: 'Chatbot',
|
10
11
|
'digitalorganiser-share': 'Digital Organiser',
|
11
12
|
'email-blast': 'Email blast',
|
@@ -29,6 +30,7 @@ Darjeelink.configure do |config|
|
|
29
30
|
'twitter-advert': 'Twitter advert',
|
30
31
|
'twitter-tweet': 'Twitter tweet',
|
31
32
|
'whatsapp-share': 'WhatsApp share',
|
33
|
+
'what-action': 'WhatAction',
|
32
34
|
youtube: 'Youtube',
|
33
35
|
other: 'Other'
|
34
36
|
}
|
data/lib/darjeelink/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: darjeelink
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Hulme
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -198,7 +198,7 @@ dependencies:
|
|
198
198
|
- - ">="
|
199
199
|
- !ruby/object:Gem::Version
|
200
200
|
version: '0'
|
201
|
-
description:
|
201
|
+
description:
|
202
202
|
email:
|
203
203
|
- james@38degrees.org.uk
|
204
204
|
executables: []
|
@@ -252,7 +252,7 @@ licenses:
|
|
252
252
|
- MIT
|
253
253
|
metadata:
|
254
254
|
rubygems_mfa_required: 'true'
|
255
|
-
post_install_message:
|
255
|
+
post_install_message:
|
256
256
|
rdoc_options: []
|
257
257
|
require_paths:
|
258
258
|
- lib
|
@@ -267,8 +267,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
267
267
|
- !ruby/object:Gem::Version
|
268
268
|
version: '0'
|
269
269
|
requirements: []
|
270
|
-
rubygems_version: 3.3.
|
271
|
-
signing_key:
|
270
|
+
rubygems_version: 3.3.7
|
271
|
+
signing_key:
|
272
272
|
specification_version: 4
|
273
273
|
summary: URL Shortener
|
274
274
|
test_files: []
|