ruby-yasm 0.3.0 → 0.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a2caa603f754d40e6ba2d6f10ff5e4e63829a28ee3e89a5c0eb76aee4e9b38c
4
- data.tar.gz: df4c5fab51e3a804d7b4f16f515f05eef1e2295742a7e1f36743fddfe4b857e6
3
+ metadata.gz: e5eb2ab4aa16aaba13a740d3da526612f16aba6a9a637a22ea483a227ad59d81
4
+ data.tar.gz: 84b004cb1fe8e0faf9a43d6458af3a5c3ebf86d44635ac9ce27139e09cafea4e
5
5
  SHA512:
6
- metadata.gz: 79baa6465f54ff67bb4697aff6338d6566a1b59611b58af8e69f90f680819828747a2657699d579f1a8c50b1e67cdb00179e9872159b78fa59b7a2fd75ca7d38
7
- data.tar.gz: 7df6abee2fe8b61463e2dff4c361c72c2566996658f99830e0bd2699e9229cec6dcf1556e109cddae3eb72dbbb175c2c1cb96bef0fa4f757b3847639ba5167b7
6
+ metadata.gz: 467baec65f43042bbab6e755e10b729db056816375fb2ec099afe9978e28424cea634518d7579178b4354eef743ab6b4930da7e58b281c6a0774654fd20ccf78
7
+ data.tar.gz: 71346029b9ccbc3152b01cc8c3471aece56f6de4d473a8178a7adfaec0d35f78558191a231d091137ae235d99b56a83b3b87cd4de0da04549c9355b7065decf0
@@ -9,9 +9,10 @@ jobs:
9
9
  fail-fast: false
10
10
  matrix:
11
11
  ruby:
12
- - 2.6
13
- - 2.7
14
- - 3.0
12
+ - '3.0'
13
+ - '3.1'
14
+ - '3.2'
15
+ - '3.3'
15
16
  - jruby
16
17
  name: Ruby ${{ matrix.ruby }}
17
18
  steps:
data/ChangeLog.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.3.1 / 2024-01-25
2
+
3
+ * Switched to using `require_relative` to improve load-times.
4
+ * Added `# frozen_string_literal: true` to all files.
5
+
1
6
  ### 0.3.0 / 2022-01-07
2
7
 
3
8
  * Replace rprogram with [command_mapper].
data/Gemfile CHANGED
@@ -11,6 +11,7 @@ group :development do
11
11
  gem 'simplecov', '~> 0.7'
12
12
 
13
13
  gem 'kramdown'
14
+ gem 'redcarpet', platform: :mri
14
15
  gem 'yard', '~> 0.9'
15
16
  gem 'yard-spellcheck'
16
17
  end
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009-2022 Hal Brodigan
1
+ Copyright (c) 2009-2024 Hal Brodigan
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -75,8 +75,6 @@ $ brew install yasm
75
75
 
76
76
  ## License
77
77
 
78
- Copyright (c) 2009-2022 Hal Brodigan
79
-
80
78
  See {file:LICENSE.txt} for license information.
81
79
 
82
80
  [yasm]: https://www.tortall.net/projects/yasm/
data/lib/yasm/command.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'command_mapper/command'
2
4
 
3
5
  module YASM
data/lib/yasm/program.rb CHANGED
@@ -1,4 +1,6 @@
1
- require 'yasm/command'
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'command'
2
4
 
3
5
  module YASM
4
6
  #
data/lib/yasm/version.rb CHANGED
@@ -1,4 +1,6 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module YASM
2
4
  # ruby-yasm VERSION
3
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
4
6
  end
data/lib/yasm.rb CHANGED
@@ -1,3 +1,3 @@
1
- require 'yasm/command'
2
- require 'yasm/program'
3
- require 'yasm/version'
1
+ require_relative 'yasm/command'
2
+ require_relative 'yasm/program'
3
+ require_relative 'yasm/version'
data/ruby-yasm.gemspec CHANGED
@@ -5,10 +5,7 @@ Gem::Specification.new do |gem|
5
5
 
6
6
  gem.name = gemspec.fetch('name')
7
7
  gem.version = gemspec.fetch('version') do
8
- lib_dir = File.join(File.dirname(__FILE__),'lib')
9
- $LOAD_PATH << lib_dir unless $LOAD_PATH.include?(lib_dir)
10
-
11
- require 'yasm/version'
8
+ require_relative 'lib/yasm/version'
12
9
  YASM::VERSION
13
10
  end
14
11
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-yasm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-08 00:00:00.000000000 Z
11
+ date: 2024-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: command_mapper
@@ -48,7 +48,6 @@ extra_rdoc_files:
48
48
  - README.md
49
49
  files:
50
50
  - ".document"
51
- - ".gemtest"
52
51
  - ".github/workflows/ruby.yml"
53
52
  - ".gitignore"
54
53
  - ".rspec"
@@ -91,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
90
  version: '0'
92
91
  requirements:
93
92
  - yasm >= 0.6.0
94
- rubygems_version: 3.2.22
93
+ rubygems_version: 3.4.10
95
94
  signing_key:
96
95
  specification_version: 4
97
96
  summary: A Ruby interface to YASM.
data/.gemtest DELETED
File without changes