reflexion 0.5.0 → 0.5.1
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 +4 -4
- data/ChangeLog.md +5 -0
- data/Reflex.podspec +37 -34
- data/VERSION +1 -1
- data/pod.rake +22 -28
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 347a1a598730b4db06360251a75936112311616a9113945e235c088a729a04f6
|
|
4
|
+
data.tar.gz: a65ae5255b06a205c712c6c96b13fad2715fc5161518f3be3b8c59ab44a77c2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52d1461840d8ce455c3ca42e52816dc8ca54e3a2182f8007ae2a3c8e1ae87c85934c91c86511ddc9d8209458f39bd2ebe3748e4f49f0d8c9a85126ab10ae0623
|
|
7
|
+
data.tar.gz: cc9c1299b07f204b0f1d3602f694ceb36f657815576a85ba08371576af0ae865afbb6929ad055e73f1652b698f90bd3fc29c38572bc2f324a85451a253461b01
|
data/ChangeLog.md
CHANGED
data/Reflex.podspec
CHANGED
|
@@ -14,25 +14,26 @@ Pod::Spec.new do |s|
|
|
|
14
14
|
s.osx.deployment_target = "10.10"
|
|
15
15
|
s.ios.deployment_target = "12.0"
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
root = "${PODS_ROOT}/#{s.name}"
|
|
18
|
+
exts = File.read(File.expand_path 'Rakefile', __dir__)
|
|
19
19
|
.lines(chomp: true)
|
|
20
20
|
.map {_1[%r|require\s*['"](\w+)/extension['"]|, 1]}
|
|
21
|
-
.compact
|
|
22
|
-
|
|
23
|
-
incdirs =
|
|
24
|
-
#{
|
|
25
|
-
#{
|
|
26
|
-
#{
|
|
27
|
-
#{
|
|
28
|
-
#{
|
|
29
|
-
#{
|
|
30
|
-
#{
|
|
21
|
+
.compact - [s.name.downcase]
|
|
22
|
+
|
|
23
|
+
incdirs = exts.map {"#{root}/#{_1}/include"}.concat %W[
|
|
24
|
+
#{root}/include
|
|
25
|
+
#{root}/rays/vendor/glm
|
|
26
|
+
#{root}/rays/vendor/clipper/cpp
|
|
27
|
+
#{root}/rays/vendor/earcut.hpp/include/mapbox
|
|
28
|
+
#{root}/rays/vendor/splines-lib
|
|
29
|
+
#{root}/vendor/box2d/include
|
|
30
|
+
#{root}/vendor/box2d/src
|
|
31
|
+
#{root}/vendor/rtmidi/rtmidi
|
|
31
32
|
${PODS_ROOT}/CRuby/CRuby/include
|
|
32
33
|
]
|
|
33
34
|
|
|
34
35
|
s.prepare_command = 'rake -f pod.rake setup'
|
|
35
|
-
s.preserve_paths =
|
|
36
|
+
s.preserve_paths = exts + %w[src]
|
|
36
37
|
s.requires_arc = false
|
|
37
38
|
s.osx.compiler_flags = "-DOSX"
|
|
38
39
|
s.ios.compiler_flags = "-DIOS"
|
|
@@ -43,63 +44,65 @@ Pod::Spec.new do |s|
|
|
|
43
44
|
"HEADER_SEARCH_PATHS" => incdirs.join(' ')
|
|
44
45
|
}
|
|
45
46
|
|
|
47
|
+
#s.dependency = 'CRuby', git: 'https://github.com/xord/cruby'
|
|
48
|
+
|
|
46
49
|
s.resource_bundles =
|
|
47
|
-
|
|
48
|
-
hash[
|
|
50
|
+
exts.each_with_object({'Reflex' => %w[lib VERSION]}) do |ext, hash|
|
|
51
|
+
hash[ext.capitalize] = %W[#{ext}/lib #{ext}/VERSION]
|
|
49
52
|
end
|
|
50
53
|
|
|
51
54
|
s.subspec "Xot" do |spec|
|
|
52
|
-
spec.source_files = "
|
|
55
|
+
spec.source_files = "xot/src/*.cpp"
|
|
53
56
|
end
|
|
54
57
|
|
|
55
58
|
s.subspec "Rucy" do |spec|
|
|
56
|
-
spec.source_files = "
|
|
59
|
+
spec.source_files = "rucy/src/*.cpp"
|
|
57
60
|
|
|
58
61
|
spec.subspec "Ext" do |ext|
|
|
59
|
-
ext.source_files = "
|
|
62
|
+
ext.source_files = "rucy/ext/rucy/*.cpp"
|
|
60
63
|
end
|
|
61
64
|
end
|
|
62
65
|
|
|
63
66
|
s.subspec "Rays" do |spec|
|
|
64
|
-
spec .source_files = "
|
|
65
|
-
spec.osx.source_files = "
|
|
66
|
-
spec.ios.source_files = "
|
|
67
|
+
spec .source_files = "rays/src/*.cpp", "rays/src/opengl/*.cpp"
|
|
68
|
+
spec.osx.source_files = "rays/src/**/osx/*.{cpp,mm}"
|
|
69
|
+
spec.ios.source_files = "rays/src/**/ios/*.{cpp,mm}"
|
|
67
70
|
spec.osx.frameworks = %w[AppKit OpenGL CoreImage CoreVideo CoreMedia AVFoundation]
|
|
68
|
-
spec.ios.frameworks = %w[GLKit MobileCoreServices AVFoundation]
|
|
71
|
+
spec.ios.frameworks = %w[GLKit MobileCoreServices AVFoundation]# ImageIO
|
|
69
72
|
|
|
70
73
|
spec.subspec "Clipper" do |sub|
|
|
71
|
-
sub.source_files = "
|
|
74
|
+
sub.source_files = "rays/vendor/clipper/cpp/*.cpp"
|
|
72
75
|
end
|
|
73
76
|
|
|
74
77
|
spec.subspec "SplineLib" do |sub|
|
|
75
|
-
sub.source_files = "
|
|
78
|
+
sub.source_files = "rays/vendor/splines-lib/Splines.cpp"
|
|
76
79
|
end
|
|
77
80
|
|
|
78
81
|
spec.subspec "Ext" do |ext|
|
|
79
|
-
ext.source_files = "
|
|
82
|
+
ext.source_files = "rays/ext/rays/*.cpp"
|
|
80
83
|
end
|
|
81
84
|
end
|
|
82
85
|
|
|
83
86
|
s.subspec "Reflex" do |spec|
|
|
84
|
-
spec .source_files = "
|
|
85
|
-
spec.osx.source_files = "
|
|
86
|
-
spec.ios.source_files = "
|
|
87
|
+
spec .source_files = "src/*.cpp"
|
|
88
|
+
spec.osx.source_files = "src/osx/*.{cpp,mm}"
|
|
89
|
+
spec.ios.source_files = "src/ios/*.{cpp,mm}"
|
|
87
90
|
spec.osx.frameworks = %w[Cocoa IOKit GameController]
|
|
88
91
|
spec.ios.frameworks = %w[CoreMotion GameController]
|
|
89
92
|
|
|
90
93
|
spec.subspec "Box2D" do |sub|
|
|
91
|
-
|
|
92
|
-
sub.source_files = "all/reflex/vendor/box2d/src/**/*.c"
|
|
94
|
+
sub.source_files = "vendor/box2d/src/**/*.c"
|
|
93
95
|
end
|
|
94
96
|
|
|
95
97
|
spec.subspec "RtMidi" do |sub|
|
|
96
|
-
sub.source_files
|
|
97
|
-
sub.
|
|
98
|
-
sub.osx.frameworks
|
|
98
|
+
sub.source_files = "vendor/rtmidi/rtmidi/**/*.cpp"
|
|
99
|
+
sub.compiler_flags = '-D__MACOSX_CORE__'
|
|
100
|
+
sub.osx.frameworks = %w[CoreAudio CoreMIDI]
|
|
101
|
+
sub.ios.frameworks = %w[CoreMIDI]
|
|
99
102
|
end
|
|
100
103
|
|
|
101
104
|
spec.subspec "Ext" do |ext|
|
|
102
|
-
ext.source_files = "
|
|
105
|
+
ext.source_files = "ext/reflex/*.cpp"
|
|
103
106
|
end
|
|
104
107
|
end
|
|
105
108
|
end
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.1
|
data/pod.rake
CHANGED
|
@@ -1,41 +1,35 @@
|
|
|
1
1
|
# -*- mode: ruby -*-
|
|
2
|
-
#
|
|
3
|
-
# Pins the dependencies to this checkout's commit by cloning the monorepo
|
|
4
|
-
# (xord/all) and checking out the commit named by HEAD's [[UUID]] trailer.
|
|
5
2
|
|
|
6
3
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.map {|
|
|
4
|
+
github = 'https://github.com/xord'
|
|
5
|
+
renames = {reflexion: 'reflex'}
|
|
6
|
+
regexp = /add\w+dependency.*['"](\w+)['"].*['"]\s*~>\s*([\d\.]+)\s*['"]/
|
|
7
|
+
repos = File.readlines('reflex.gemspec', chomp: true)
|
|
8
|
+
.map {|s| regexp.match(s)&.values_at 1, 2}
|
|
12
9
|
.compact
|
|
10
|
+
.to_h
|
|
11
|
+
.transform_keys {|name| renames[name.to_sym].then {|s| s || name}}
|
|
13
12
|
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
raise('pod.rake: HEAD has no [[UUID]] trailer; cannot pin dependencies')
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
def checkout_monorepo(uuid)
|
|
21
|
-
sh %( git clone --no-tags #{ALL_REPO} #{ALL_DIR} ) unless File.directory? ALL_DIR
|
|
22
|
-
|
|
23
|
-
commit = `git -C #{ALL_DIR} log origin/HEAD -F --grep='[[#{uuid}]]' --format=%H -1`
|
|
24
|
-
.strip.then {_1.empty? ? nil : _1}
|
|
25
|
-
raise "pod.rake: no commit for [[#{uuid}]] in #{ALL_REPO}" unless commit
|
|
26
|
-
|
|
27
|
-
sh %( git -C #{ALL_DIR} checkout -q #{commit} )
|
|
14
|
+
task :clobber do
|
|
15
|
+
sh %( rm -rf #{repos.keys.join ' '} )
|
|
28
16
|
end
|
|
29
17
|
|
|
18
|
+
task :setup
|
|
30
19
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
20
|
+
repos.each do |repo, ver|
|
|
21
|
+
rakefile = "#{repo}/Rakefile"
|
|
22
|
+
opts = [
|
|
23
|
+
'-c advice.detachedHead=false',
|
|
24
|
+
'--no-single-branch',
|
|
25
|
+
'--depth 1',
|
|
26
|
+
"--branch #{ENV["#{repo.upcase}_BRANCH"] || ('v' + ver)}"
|
|
27
|
+
]
|
|
34
28
|
|
|
35
|
-
task :setup
|
|
36
|
-
checkout_monorepo head_uuid
|
|
29
|
+
task :setup => rakefile
|
|
37
30
|
|
|
38
|
-
|
|
39
|
-
sh %(
|
|
31
|
+
file rakefile do
|
|
32
|
+
sh %( git clone #{opts.join ' '} #{github}/#{repo} )
|
|
33
|
+
sh %( cd #{repo} && VENDOR_NOCOMPILE=1 rake vendor erb )
|
|
40
34
|
end
|
|
41
35
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: reflexion
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- xordog
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: xot
|