Skip to content

Commit

Permalink
V2 - get working again 2024 (#34)
Browse files Browse the repository at this point in the history
* Fix some bugs that crept up due to a bad PR and various environmental changes.

* Regen rdocs.

* Formatting and tweak dockerfile for easy testing on linux.
  • Loading branch information
git-steven authored Mar 21, 2024
1 parent c0ab903 commit 770ee62
Show file tree
Hide file tree
Showing 23 changed files with 1,755 additions and 1,595 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
*.bundle
*.net
*.log
.DS_Store
**/*/.DS_Store
.vscode
.config
coverage
InstalledFiles
Expand Down
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM ruby:3.0
FROM ruby:3.2

# Copy function code
RUN gem install ruby-fann
RUN mkdir /ruby-fann
COPY . /ruby-fann
# RUN gem install ruby-fann
# RUN bundle install
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
source 'https://rubygems.org'
ruby "~> 3.2"

# Specify your gem's dependencies in ruby-fann.gemspec
gem 'json', '~> 2'
Expand Down
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ruby-fann (1.4.0)
ruby-fann (1.4.3)

GEM
remote: https://rubygems.org/
Expand All @@ -19,5 +19,8 @@ DEPENDENCIES
rdoc (~> 6)
ruby-fann!

RUBY VERSION
ruby 3.2.2p53

BUNDLED WITH
2.4.18
4 changes: 3 additions & 1 deletion History.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
== 2.0.x
Get working again after a bad pull request.
== 1.3.x
Dependabot updates, etc.
Dependabot updates, etc.
== 1.2.7
* Update to more recent json and rdoc files
== 1.2.6
Expand Down
1 change: 0 additions & 1 deletion build-docker-image.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash
clear
npm i
echo "Removing docker image..."
docker image rm -f tps:ruby-fann
echo "Building docker image..."
Expand Down
Loading

0 comments on commit 770ee62

Please sign in to comment.