govuk_markdown 0.1.0 → 0.2.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: 0c2bf69c727cecd9d3e788871391e738b0b712cbd34cbf1ff559c224fddec762
4
- data.tar.gz: 5f170bc341b75a0b887dd5eef25a862d553385fa8b79a87e3cba5146099a7e90
3
+ metadata.gz: a5831dad142da4586919e0a8aece9189e4f258a27afdd2397eb74f193e196257
4
+ data.tar.gz: 0d5e675b6dbd043434fe2f08aa93c661d30113e4d6c3cbb9a4ef4568c0215045
5
5
  SHA512:
6
- metadata.gz: c809e58e4a5bc3691bd8c892f27e4db3f7de33f262070ffdcacf1328ebd97183b98b61c369d549df0844f68c93aa4029a5334a78cb57ca42edddebfbc11d083a
7
- data.tar.gz: 5d1b909df197a7080b0472d4412902c1f08ba1da06530ac2e3a6cd46fe499c1d65658bcb3ed15ee9c3effe5a383b5657090403e9a06d640a4a97c5ad90831cb1
6
+ metadata.gz: 3cb6c5ff6f059c940226382e604bb8fe318ff9dc311f37a6126f751859106dc617750987fa94229d6a10af25bb1dab5fd6632dd75df64c3ee786a9e52f57f265
7
+ data.tar.gz: 4a5fe7e5b914e221fd3cb39fe2b0c5cb2bf599683ee25c066e9313ff04f6ad500e75ef61c922268a68f34576c91061792b14d3d1b0794fb53b4070dd4ef6ddad
@@ -2,7 +2,7 @@ on:
2
2
  - push
3
3
 
4
4
  jobs:
5
- release:
5
+ build:
6
6
  runs-on: ubuntu-latest
7
7
  if: ${{ github.ref == 'refs/heads/main' }}
8
8
  steps:
data/Gemfile CHANGED
@@ -2,6 +2,3 @@ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in govuk_markdown.gemspec
4
4
  gemspec
5
-
6
- gem "rake", "~> 12.0"
7
- gem "bundler"
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- govuk_markdown (0.1.0)
4
+ govuk_markdown (0.2.0)
5
5
  activesupport
6
- bundler
7
6
  redcarpet
8
7
 
9
8
  GEM
@@ -26,7 +25,7 @@ GEM
26
25
  ast (~> 2.4.1)
27
26
  rack (2.2.3)
28
27
  rainbow (3.0.0)
29
- rake (12.3.3)
28
+ rake (13.0.1)
30
29
  redcarpet (3.5.0)
31
30
  regexp_parser (1.8.2)
32
31
  rexml (3.2.4)
@@ -79,9 +78,8 @@ PLATFORMS
79
78
  ruby
80
79
 
81
80
  DEPENDENCIES
82
- bundler
83
81
  govuk_markdown!
84
- rake (~> 12.0)
82
+ rake (~> 13.0)
85
83
  rspec
86
84
  rubocop-govuk
87
85
 
data/README.md CHANGED
@@ -44,6 +44,10 @@ You can regenerate the example HTML file from Markdown using:
44
44
  bundle exec rake generate_example
45
45
  ```
46
46
 
47
+ ## Release a new version
48
+
49
+ Update the version in [lib/govuk_markdown/version.rb](lib/govuk_markdown/version.rb) and merge to main. This will automatically release a new version using GitHub actions.
50
+
47
51
  ## Contributing
48
52
 
49
53
  Bug reports and pull requests are welcome on GitHub at https://github.com/DfE-digital/govuk_markdown.
data/Rakefile CHANGED
@@ -12,6 +12,7 @@ task :generate_example do
12
12
  sh "open example/example.html"
13
13
  end
14
14
 
15
+ desc "Print the current version of the gem"
15
16
  task :gem_version do
16
17
  require_relative "lib/govuk_markdown/version"
17
18
 
@@ -26,7 +26,6 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_dependency "activesupport"
28
28
  spec.add_dependency "redcarpet"
29
- spec.add_dependency "bundler"
30
29
 
31
30
  spec.add_development_dependency "rake", "~> 13.0"
32
31
  spec.add_development_dependency "rspec"
@@ -1,3 +1,3 @@
1
1
  module GovukMarkdown
2
- VERSION = "0.1.0".freeze
2
+ VERSION = "0.2.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tijmen Brommet
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: bundler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement