discourse_theme 0.3.3 → 0.3.4

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: ed19147c8208315a736b690c90e072986604c9c4fd7c10b05b42dc7dfeb8b400
4
- data.tar.gz: 75553d2685a0ee8c3083c73e11d449a6bedefc36b6212b432cd488b8882cbb1a
3
+ metadata.gz: 8fd5f66fdfa679cb8f4dc50546a4a3bf968de6b4718f64bb3ac96c0bbd614eda
4
+ data.tar.gz: 9541e02e302a4d443c6a0c52b0a71b97aa1774c310c42f7f126a7940a7734615
5
5
  SHA512:
6
- metadata.gz: 59603310b69ea2702828ac5a79ef74da0d091dfbd5cf7d5184b8f1943198a72446b9ebbcd243f9f05d6f89ea7de192f7f49c9a434cc4d95bff51a4794f1a286e
7
- data.tar.gz: a45dc46ff96d8bd1a9fcffb6d4757e38908bd8e43e4a9e641c32c3458061ccfc15bc3855c65026c2b13fbff0b3e9b90f53c9243c80511c7c51a3877c7a9d02e2
6
+ metadata.gz: 6c4a264ad197c92d762cf7b1e8f48fe60f865f6ea693ad0d52d4fd383a90465d3a81267804ab6af0f2c1d76852edb36198b6bb8bd99de38e3b30965bf7b2aeea
7
+ data.tar.gz: 315305cdd465294a7904d77031a3bc76666566cd85b1fb93ecf0f63ae0602b4598feea964d017a53271cbb5791b75f5abc9cf811a19ed9f3a5bc178232342a0c
@@ -0,0 +1,21 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ tags:
8
+ - v*
9
+
10
+ jobs:
11
+ publish:
12
+ if: contains(github.ref, 'refs/tags/v')
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+
18
+ - name: Release Gem
19
+ uses: CvX/publish-rubygems-action@master
20
+ env:
21
+ RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
@@ -93,11 +93,10 @@ module DiscourseTheme
93
93
 
94
94
  if !theme || theme["component"] == false
95
95
  options = {}
96
- options["Add missing but leave all extra components as is"] = :add
97
- options["Add missing and remove superfluous"] = :sync
98
- options["Do nothing"] = :none
96
+ options["Yes"] = :sync
97
+ options["No"] = :none
99
98
  options = options.sort_by { |_, b| b == components.to_sym ? 0 : 1 }.to_h if components
100
- choice = Cli.select('How would you like to update child theme components?', options.keys)
99
+ choice = Cli.select('Would you like to update child theme components?', options.keys)
101
100
  settings.components = components = options[choice].to_s
102
101
  end
103
102
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module DiscourseTheme
3
- VERSION = "0.3.3"
3
+ VERSION = "0.3.4"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discourse_theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-26 00:00:00.000000000 Z
11
+ date: 2020-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -172,6 +172,7 @@ executables:
172
172
  extensions: []
173
173
  extra_rdoc_files: []
174
174
  files:
175
+ - ".github/workflows/ci.yml"
175
176
  - ".gitignore"
176
177
  - ".rubocop.yml"
177
178
  - ".travis.yml"