xot 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 +4 -4
- data/.github/workflows/release-gem.yml +6 -6
- data/.github/workflows/test.yml +4 -2
- data/ChangeLog.md +12 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +20 -0
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/lib/xot/rake/util.rb +5 -1
- data/lib/xot/rake.rb +17 -1
- data/xot.gemspec +0 -3
- metadata +5 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95d8ed01cbd15d8c102c45728dede62372c51da64883607fd5dc809c207121a8
|
4
|
+
data.tar.gz: 4fe8834a66e6494df456541676239c0c158ae59b8173d3be52ee5dfac8dbd7bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6e04c4802017b00f833e57776f429894b74bfdbe3d648a216ae50ec897bc4edb1a03622b95b5577662fbf041c1a68f2c66e5418f7ea398f14df7f178bdc34d5
|
7
|
+
data.tar.gz: 9262d139d287e2ccdb7d6b044c90d821c7791f76e0ea0b26f44268c20c1b0161fd06f0526bb4d912a08817a90ddef261ab3fa2e9bd4ca3c860cd45656de8d268
|
@@ -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
|
data/.github/workflows/test.yml
CHANGED
@@ -4,7 +4,6 @@ on:
|
|
4
4
|
push:
|
5
5
|
branches: [master]
|
6
6
|
pull_request:
|
7
|
-
branches: [master]
|
8
7
|
|
9
8
|
jobs:
|
10
9
|
test:
|
@@ -19,8 +18,11 @@ jobs:
|
|
19
18
|
- name: checkout
|
20
19
|
uses: actions/checkout@v2
|
21
20
|
|
21
|
+
- name: setup gems
|
22
|
+
run: bundle install
|
23
|
+
|
22
24
|
- name: setup dependencies
|
23
25
|
run: "ruby -I.github/workflows -rutils -e 'setup_dependencies'"
|
24
26
|
|
25
27
|
- name: test
|
26
|
-
run: rake test
|
28
|
+
run: bundle exec rake test
|
data/ChangeLog.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
# xot ChangeLog
|
2
2
|
|
3
3
|
|
4
|
+
## [v0.1.41] - 2023-12-09
|
5
|
+
|
6
|
+
- Add ci?()
|
7
|
+
- Trigger github actions on all pull_request
|
8
|
+
- Fix breaking depend.mf
|
9
|
+
|
10
|
+
|
11
|
+
## [v0.1.40] - 2023-11-09
|
12
|
+
|
13
|
+
- Use Gemfile to install gems for development instead of add_development_dependency in gemspec
|
14
|
+
|
15
|
+
|
4
16
|
## [v0.1.39] - 2023-06-11
|
5
17
|
|
6
18
|
- Add mask_flag()
|
data/Gemfile
ADDED
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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.41
|
data/lib/xot/rake/util.rb
CHANGED
data/lib/xot/rake.rb
CHANGED
@@ -52,6 +52,22 @@ module Xot
|
|
52
52
|
env :TESTS_EXCLUDE, []
|
53
53
|
end
|
54
54
|
|
55
|
+
def use_bundler()
|
56
|
+
task :clobber => 'bundle:clobber'
|
57
|
+
|
58
|
+
task :bundle => 'bundle:install'
|
59
|
+
|
60
|
+
namespace :bundle do
|
61
|
+
task :clobber do
|
62
|
+
sh %( rm -rf vendor/bundle )
|
63
|
+
end
|
64
|
+
|
65
|
+
task :install do
|
66
|
+
sh %( bundle install )
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
55
71
|
def build_native_library()
|
56
72
|
outname = "lib#{target_name}.a"
|
57
73
|
out = File.join lib_dir, outname
|
@@ -84,7 +100,7 @@ module Xot
|
|
84
100
|
sh %( #{cxx} -M #{cppflags} #{srcs.keys.join ' '} > #{depend} )
|
85
101
|
input = open(depend) {|f| f.read}
|
86
102
|
open(depend, 'w') do |output|
|
87
|
-
output << input.gsub(/\w+\.o/, src_dir + '/\0')
|
103
|
+
output << input.gsub(/\w+\.o\W/, src_dir + '/\0')
|
88
104
|
end
|
89
105
|
end
|
90
106
|
|
data/xot.gemspec
CHANGED
@@ -25,9 +25,6 @@ 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_development_dependency 'rake'
|
29
|
-
s.add_development_dependency 'test-unit'
|
30
|
-
|
31
28
|
s.files = `git ls-files`.split $/
|
32
29
|
s.executables = s.files.grep(%r{^bin/}) {|f| File.basename f}
|
33
30
|
s.test_files = s.files.grep %r{^(test|spec|features)/}
|
metadata
CHANGED
@@ -1,43 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
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-
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rake
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: test-unit
|
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'
|
11
|
+
date: 2023-12-09 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
41
13
|
description: This library include some useful utility classes and functions for development
|
42
14
|
with C++.
|
43
15
|
email: xordog@gmail.com
|
@@ -51,6 +23,8 @@ files:
|
|
51
23
|
- ".github/workflows/test.yml"
|
52
24
|
- ".github/workflows/utils.rb"
|
53
25
|
- ChangeLog.md
|
26
|
+
- Gemfile
|
27
|
+
- Gemfile.lock
|
54
28
|
- LICENSE
|
55
29
|
- README.md
|
56
30
|
- Rakefile
|