mcwrapper 1.6.4 → 1.6.5

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.
@@ -1,4 +1,4 @@
1
1
  module MCWrapper
2
2
  # VERSION = `#{ MCWRAPPER } --version`.split(/\s/).last
3
- VERSION = '1.6.4'
3
+ VERSION = '1.6.5'
4
4
  end
@@ -6,7 +6,7 @@
6
6
  # https://github.com/spikegrobstein/mcwrapper
7
7
  ##
8
8
 
9
- MCWRAPPER_VERSION="1.6.4"
9
+ MCWRAPPER_VERSION="1.6.5"
10
10
 
11
11
  #### Exit Codes
12
12
 
@@ -705,7 +705,7 @@ function get_server_download_uri () {
705
705
  # filter down to only the linux server download link
706
706
  # extract the .jar URL
707
707
  curl -s "$MINECRAFT_DOWNLOAD_PAGE" \
708
- | grep -o -E '<a .+?>' \
708
+ | grep -o -E '<a [^>]+>' \
709
709
  | grep -E 'data-platform=.linux' \
710
710
  | grep -E 'data-dist=.server' \
711
711
  | grep -o -E 'https:.+?jar'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcwrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.6.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: