Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: ['3.2.3']
ruby: ['3.1', '3.2']

runs-on: ${{ matrix.os }}
name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 3.0
TargetRubyVersion: 3.1.0

Style/StringLiterals:
Enabled: true
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Renamed main file from `lib/ta_lib.rb` to `lib/ta_lib_ffi.rb`
- Updated require statements in specs and gemspec

## [0.1.0] - 2024-01-21
## [0.1.0] - 2025-01-21

### Added
- Initial release of ta_lib_ffi
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ GEM
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
webrick (1.9.1)

PLATFORMS
ruby
Expand All @@ -74,6 +75,7 @@ DEPENDENCIES
rubocop-rspec (~> 3.3)
ruby-lsp-rspec (~> 0.1.20)
ta_lib_ffi!
webrick (~> 1.9)

BUNDLED WITH
2.5.6
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ TALibFFI is a Ruby binding for [TA-Lib](https://ta-lib.org/) (Technical Analysis

## Requirements

- Ruby >= 3.0.0
- Ruby >= 3.1.0
- TA-Lib >= 0.6.4

## Installation
Expand Down
19 changes: 19 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,22 @@ require "rubocop/rake_task"
RuboCop::RakeTask.new

task default: %i[spec rubocop]

namespace :doc do
desc "Start a local server to view RDoc documentation"
task :server do
require "webrick"
server = WEBrick::HTTPServer.new(
Port: 8808,
DocumentRoot: File.expand_path("./doc"),
AccessLog: [],
Logger: WEBrick::Log.new(File::NULL)
)

puts "Documentation server started at http://localhost:8808"
puts "Press Ctrl+C to stop"

trap("INT") { server.shutdown }
server.start
end
end
3 changes: 2 additions & 1 deletion ta_lib_ffi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.description = "A Ruby wrapper for TA-Lib using FFI, providing technical analysis functions for financial market data"
spec.homepage = "https://github.com/TA-Lib/ta-lib-ruby"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.0"
spec.required_ruby_version = ">= 3.1.0"
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/TA-Lib/ta-lib-ruby"
Expand All @@ -34,6 +34,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rspec", "~> 3.13"
spec.add_development_dependency "rubocop-rspec", "~> 3.3"
spec.add_development_dependency "ruby-lsp-rspec", "~> 0.1.20"
spec.add_development_dependency "webrick", "~> 1.9"

# For more information and examples about making a new gem, check out our
# guide at: https://bundler.io/guides/creating_gem.html
Expand Down
Loading