rucy 0.1.39 → 0.1.41

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4ea8cef9540bcb4b3509bf0995d5ca33ebf1867e256d61664d1e95b605e82ac
4
- data.tar.gz: ec3b7f1f65b949fe0859a61e46643b13eff3ea9c046879f4533fbb8d43a67e5d
3
+ metadata.gz: b9f84991f36b0009ce4b09341b0bf3037fb1f70364bb07c57d06609b8c220cfc
4
+ data.tar.gz: 432d29f9d3564856478f6e76d52eeda8edc0efde7c6d61bfcc83d705f00f5781
5
5
  SHA512:
6
- metadata.gz: 040bd3615c7008d2f1aaee830a245d3fa236086f5834a62e1eae2b217aef704c6fb66513ad7616b413f6c97debdbec907642470287f2ef7aea308ee19b6d47bd
7
- data.tar.gz: a07d89dbf4d25fd7a093a0a546141c56efb9b809650b1dd8f81ff538072d564fa26bb55ded95769f3665e76ca4310e90395c3753de7d0d088396e9ddf529762f
6
+ metadata.gz: 3d523a3c5f279f8a8d30d317b8f044be863006babd58c57785da3a02a46efd359c7f6f115d850fe53e23424c0179df1d913ed8aa2067d921a8f93a77c48901ea
7
+ data.tar.gz: 64e108547b0488cdf777103fde711db00f6f486b6c96abc4987214139492b8323f828408dcfcc0ae27d0ea3dad76285a04c6b429dbcd06593c21a73b2895579d
@@ -17,19 +17,19 @@ jobs:
17
17
  - name: checkout
18
18
  uses: actions/checkout@v2
19
19
 
20
+ - name: setup gems
21
+ run: bundle install
22
+
20
23
  - name: setup dependencies
21
24
  run: "ruby -I.github/workflows -rutils -e 'setup_dependencies'"
22
25
 
23
- - name: install gems
24
- run: gem install yard
25
-
26
26
  - name: test
27
- run: rake quiet test
27
+ run: bundle exec rake quiet test
28
28
 
29
29
  - name: create gem
30
30
  id: gem
31
31
  run: |
32
- rake gem
32
+ bundle exec rake gem
33
33
  echo path=$(ruby -e 'print Dir.glob("*.gem").first') >> $GITHUB_OUTPUT
34
34
 
35
35
  - name: create github release
@@ -59,4 +59,4 @@ jobs:
59
59
  touch $HOME/.gem/credentials
60
60
  chmod 0600 $HOME/.gem/credentials
61
61
  printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
62
- rake upload
62
+ bundle exec rake upload
@@ -19,8 +19,11 @@ jobs:
19
19
  - name: checkout
20
20
  uses: actions/checkout@v2
21
21
 
22
+ - name: setup gems
23
+ run: bundle install
24
+
22
25
  - name: setup dependencies
23
26
  run: "ruby -I.github/workflows -rutils -e 'setup_dependencies'"
24
27
 
25
28
  - name: test
26
- run: rake test
29
+ run: bundle exec rake test
data/ChangeLog.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # rucy ChangeLog
2
2
 
3
3
 
4
+ ## [v0.1.41] - 2023-11-09
5
+
6
+ - Use Gemfile to install gems for development instead of add_development_dependency in gemspec
7
+
8
+
9
+ ## [v0.1.40] - 2023-10-25
10
+
11
+ - Add '#include <assert.h>' to Fix compile errors
12
+
13
+
4
14
  ## [v0.1.39] - 2023-05-29
5
15
 
6
16
  - Update dependencies
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rake'
4
+ gem 'test-unit'
5
+ gem 'yard'
data/Gemfile.lock ADDED
@@ -0,0 +1,20 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ power_assert (2.0.3)
5
+ rake (13.1.0)
6
+ test-unit (3.6.1)
7
+ power_assert
8
+ yard (0.9.34)
9
+
10
+ PLATFORMS
11
+ arm64-darwin-21
12
+ x86_64-darwin-20
13
+
14
+ DEPENDENCIES
15
+ rake
16
+ test-unit
17
+ yard
18
+
19
+ BUNDLED WITH
20
+ 2.4.13
data/Rakefile CHANGED
@@ -16,6 +16,7 @@ NPARAM_MAX = 12
16
16
  NTIMES = (0..NPARAM_MAX)
17
17
 
18
18
  default_tasks :ext
19
+ use_bundler
19
20
  build_native_library
20
21
  build_ruby_extension dlname: :tester, liboutput: false
21
22
  test_ruby_extension
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.39
1
+ 0.1.41
data/rucy.gemspec CHANGED
@@ -25,10 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.platform = Gem::Platform::RUBY
26
26
  s.required_ruby_version = '>= 3.0.0'
27
27
 
28
- s.add_runtime_dependency 'xot', '~> 0.1.39'
29
-
30
- s.add_development_dependency 'rake'
31
- s.add_development_dependency 'test-unit'
28
+ s.add_runtime_dependency 'xot', '~> 0.1.40'
32
29
 
33
30
  s.files = `git ls-files`.split $/
34
31
  s.executables = s.files.grep(%r{^bin/}) {|f| File.basename f}
data/src/value.cpp.erb CHANGED
@@ -2,7 +2,6 @@
2
2
  #include "rucy/value.h"
3
3
 
4
4
 
5
- #include <assert.h>
6
5
  #include <ruby/encoding.h>
7
6
  #include "rucy/function.h"
8
7
  #include "rucy/exception.h"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rucy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.39
4
+ version: 0.1.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - xordog
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-11 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xot
@@ -16,42 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.39
19
+ version: 0.1.40
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.39
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: test-unit
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
26
+ version: 0.1.40
55
27
  description: This library helps you to develop Ruby Extension by C++.
56
28
  email: xordog@gmail.com
57
29
  executables:
@@ -77,6 +49,8 @@ files:
77
49
  - ".github/workflows/test.yml"
78
50
  - ".github/workflows/utils.rb"
79
51
  - ChangeLog.md
52
+ - Gemfile
53
+ - Gemfile.lock
80
54
  - LICENSE
81
55
  - README.md
82
56
  - Rakefile