framecurve 2.2.4 → 2.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62704f016bc263de6c1b1c855536d989256a62dc2aa7b57c20778214d91500cc
4
- data.tar.gz: 9e837f507f2961aeda8c5bf06527cba6d27c98a24b9ac9086b8461823a44d5d0
3
+ metadata.gz: 9ad48b620ce6b486622f60f9da7563f0747a9034c0cfae760bb4922e6c3f1e0a
4
+ data.tar.gz: f6d1c372cdd086d2b1550abae5ad98c3b568ad0127ba668d415948f186250836
5
5
  SHA512:
6
- metadata.gz: 1be0d8de8be19abab1baa3f22b11e496e539c410592f7e101a436807cacb447cb917916d8d63c3f22ab5cbcf74ca11af085f4806fbd5359d8217df6c6841e05d
7
- data.tar.gz: 25312f95cccd6e8626f5913daf37a78bba3ad35eeaf8bb9adda30f9d1370f417ff5bc0500b56b3c2e2986c739a5ee762446465d28649219d9c705cb802472de0
6
+ metadata.gz: 152a492ba60bf9b0954eeeae935d6097c32a9c3d8a4ebd282d7c6290e42ba77a846b2343db28228fe88fd26cf63050ba1e90c18a1ba7ad737fb60dfae122a7de
7
+ data.tar.gz: 3e10869dd49d82ca0334e2d1b989a1eee75edf6c81c34f45fa50898264384fdbc2caec2954d61cb1042fa78f9e85789cfda517f4f39f6e13aea14d6775d58f63
@@ -0,0 +1,23 @@
1
+ name: CI
2
+
3
+ on:
4
+ - push
5
+ - pull_request
6
+
7
+ jobs:
8
+ test:
9
+ name: Ruby ${{ matrix.ruby }}
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ ruby:
15
+ - '2.6'
16
+ - '4.0'
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: ${{ matrix.ruby }}
22
+ bundler-cache: true
23
+ - run: bundle exec rake test
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ 2.2.5
2
+
3
+ * Add frozen_string_literal magic comments to all library files
4
+
1
5
  2.2.4
2
6
 
3
7
  * Fix `Curve#each` and the XML bridge on Ruby 3+ (`Proc.new` without a block)
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Represents a framecurve comment
2
3
  class Framecurve::Comment
3
4
  include Comparable
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Represents a curve file with comments and frame correlation records
2
3
  class Framecurve::Curve
3
4
  include Enumerable
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require File.dirname(__FILE__) + "/xml_bridge"
2
3
 
3
4
  module Framecurve
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rexml/document"
2
3
 
3
4
  #:nodoc:
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Parses the data in the passed file/IO into a Curve object.
2
3
  # curve = Framecurve::Parser.new.parse("/tmp/curve.framecurve.txt")
3
4
  class Framecurve::Parser
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Writes out a Curve object to the passed IO
2
3
  class Framecurve::Serializer
3
4
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Represents one Framecurve frame correlation record
2
3
  class Framecurve::Tuple
3
4
  include Comparable
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Validates a Curve object for well-formedness and completeness.
2
3
  # v = Validator.new
3
4
  # v.parse(io_handle)
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Framecurve
2
- VERSION = "2.2.4"
3
+ VERSION = "2.2.5"
3
4
  end
data/lib/framecurve.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Framecurve
2
3
  # Is raised when a malformed framecurve bit has occurred in the system
3
4
  class Malformed < RuntimeError
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: framecurve
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julik
@@ -76,8 +76,8 @@ extra_rdoc_files:
76
76
  - README.rdoc
77
77
  files:
78
78
  - ".document"
79
+ - ".github/workflows/ci.yml"
79
80
  - ".gitignore"
80
- - ".travis.yml"
81
81
  - Gemfile
82
82
  - History.txt
83
83
  - LICENSE.txt
data/.travis.yml DELETED
@@ -1,4 +0,0 @@
1
- rvm:
2
- - 1.9.3
3
- - 2.5.0
4
- cache: bundler