xccache 0.0.1a1 → 0.0.1a2

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.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/lib/xccache/assets/templates/cachemap.html.template +54 -0
  3. data/lib/xccache/assets/templates/cachemap.js.template +94 -0
  4. data/lib/xccache/assets/templates/cachemap.style.css.template +92 -0
  5. data/lib/xccache/assets/templates/framework.info.plist.template +25 -0
  6. data/lib/xccache/assets/templates/framework.modulemap.template +6 -0
  7. data/lib/xccache/assets/templates/resource_bundle_accessor.m.template +27 -0
  8. data/lib/xccache/assets/templates/resource_bundle_accessor.swift.template +24 -0
  9. data/lib/xccache/assets/templates/umbrella.Package.swift.template +147 -0
  10. data/lib/xccache/cache/cachemap.rb +60 -0
  11. data/lib/xccache/command/build.rb +35 -0
  12. data/lib/xccache/command/pkg/build.rb +34 -0
  13. data/lib/xccache/command/rollback.rb +13 -0
  14. data/lib/xccache/command/use.rb +18 -0
  15. data/lib/xccache/command.rb +11 -1
  16. data/lib/xccache/core/cacheable.rb +28 -0
  17. data/lib/xccache/core/config.rb +82 -0
  18. data/lib/xccache/core/error.rb +7 -0
  19. data/lib/xccache/core/git.rb +19 -0
  20. data/lib/xccache/core/hash.rb +21 -0
  21. data/lib/xccache/core/lockfile.rb +40 -0
  22. data/lib/xccache/core/log.rb +41 -0
  23. data/lib/xccache/core/sh.rb +50 -0
  24. data/lib/xccache/core/syntax/hash.rb +31 -0
  25. data/lib/xccache/core/syntax/json.rb +16 -0
  26. data/lib/xccache/core/syntax/yml.rb +16 -0
  27. data/lib/xccache/core/syntax.rb +1 -0
  28. data/lib/xccache/core/system.rb +54 -0
  29. data/lib/xccache/core.rb +1 -0
  30. data/lib/xccache/framework/slice.rb +183 -0
  31. data/lib/xccache/framework/xcframework.rb +51 -0
  32. data/lib/xccache/installer/build.rb +27 -0
  33. data/lib/xccache/installer/rollback.rb +36 -0
  34. data/lib/xccache/installer/use.rb +27 -0
  35. data/lib/xccache/installer.rb +67 -0
  36. data/lib/xccache/main.rb +3 -1
  37. data/lib/xccache/spm/desc/base.rb +61 -0
  38. data/lib/xccache/spm/desc/dep.rb +40 -0
  39. data/lib/xccache/spm/desc/desc.rb +110 -0
  40. data/lib/xccache/spm/desc/product.rb +36 -0
  41. data/lib/xccache/spm/desc/target.rb +138 -0
  42. data/lib/xccache/spm/desc.rb +1 -0
  43. data/lib/xccache/spm/mixin.rb +9 -0
  44. data/lib/xccache/spm/pkg/base.rb +103 -0
  45. data/lib/xccache/spm/pkg/umbrella/build.rb +30 -0
  46. data/lib/xccache/spm/pkg/umbrella/cachemap.rb +93 -0
  47. data/lib/xccache/spm/pkg/umbrella/descs.rb +46 -0
  48. data/lib/xccache/spm/pkg/umbrella/manifest.rb +83 -0
  49. data/lib/xccache/spm/pkg/umbrella/viz.rb +40 -0
  50. data/lib/xccache/spm/pkg/umbrella.rb +81 -0
  51. data/lib/xccache/spm/pkg.rb +1 -0
  52. data/lib/xccache/spm.rb +1 -0
  53. data/lib/xccache/swift/sdk.rb +30 -0
  54. data/lib/xccache/swift/swiftc.rb +16 -0
  55. data/lib/xccache/utils/template.rb +21 -0
  56. data/lib/xccache/xcodeproj/pkg.rb +69 -0
  57. data/lib/xccache/xcodeproj/pkg_product_dependency.rb +19 -0
  58. data/lib/xccache/xcodeproj/project.rb +63 -0
  59. data/lib/xccache/xcodeproj/target.rb +50 -0
  60. data/lib/xccache/xcodeproj.rb +2 -0
  61. metadata +72 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xccache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1a1
4
+ version: 0.0.1a2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thuyen Trinh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-28 00:00:00.000000000 Z
11
+ date: 2025-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: claide
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: xcodeproj
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  description: A Ruby gem
28
42
  email:
29
43
  - trinhngocthuyen@gmail.com
@@ -34,10 +48,66 @@ extra_rdoc_files: []
34
48
  files:
35
49
  - bin/xccache
36
50
  - lib/xccache.rb
51
+ - lib/xccache/assets/templates/cachemap.html.template
52
+ - lib/xccache/assets/templates/cachemap.js.template
53
+ - lib/xccache/assets/templates/cachemap.style.css.template
54
+ - lib/xccache/assets/templates/framework.info.plist.template
55
+ - lib/xccache/assets/templates/framework.modulemap.template
56
+ - lib/xccache/assets/templates/resource_bundle_accessor.m.template
57
+ - lib/xccache/assets/templates/resource_bundle_accessor.swift.template
58
+ - lib/xccache/assets/templates/umbrella.Package.swift.template
59
+ - lib/xccache/cache/cachemap.rb
37
60
  - lib/xccache/command.rb
61
+ - lib/xccache/command/build.rb
38
62
  - lib/xccache/command/pkg.rb
39
63
  - lib/xccache/command/pkg/build.rb
64
+ - lib/xccache/command/rollback.rb
65
+ - lib/xccache/command/use.rb
66
+ - lib/xccache/core.rb
67
+ - lib/xccache/core/cacheable.rb
68
+ - lib/xccache/core/config.rb
69
+ - lib/xccache/core/error.rb
70
+ - lib/xccache/core/git.rb
71
+ - lib/xccache/core/hash.rb
72
+ - lib/xccache/core/lockfile.rb
73
+ - lib/xccache/core/log.rb
74
+ - lib/xccache/core/sh.rb
75
+ - lib/xccache/core/syntax.rb
76
+ - lib/xccache/core/syntax/hash.rb
77
+ - lib/xccache/core/syntax/json.rb
78
+ - lib/xccache/core/syntax/yml.rb
79
+ - lib/xccache/core/system.rb
80
+ - lib/xccache/framework/slice.rb
81
+ - lib/xccache/framework/xcframework.rb
82
+ - lib/xccache/installer.rb
83
+ - lib/xccache/installer/build.rb
84
+ - lib/xccache/installer/rollback.rb
85
+ - lib/xccache/installer/use.rb
40
86
  - lib/xccache/main.rb
87
+ - lib/xccache/spm.rb
88
+ - lib/xccache/spm/desc.rb
89
+ - lib/xccache/spm/desc/base.rb
90
+ - lib/xccache/spm/desc/dep.rb
91
+ - lib/xccache/spm/desc/desc.rb
92
+ - lib/xccache/spm/desc/product.rb
93
+ - lib/xccache/spm/desc/target.rb
94
+ - lib/xccache/spm/mixin.rb
95
+ - lib/xccache/spm/pkg.rb
96
+ - lib/xccache/spm/pkg/base.rb
97
+ - lib/xccache/spm/pkg/umbrella.rb
98
+ - lib/xccache/spm/pkg/umbrella/build.rb
99
+ - lib/xccache/spm/pkg/umbrella/cachemap.rb
100
+ - lib/xccache/spm/pkg/umbrella/descs.rb
101
+ - lib/xccache/spm/pkg/umbrella/manifest.rb
102
+ - lib/xccache/spm/pkg/umbrella/viz.rb
103
+ - lib/xccache/swift/sdk.rb
104
+ - lib/xccache/swift/swiftc.rb
105
+ - lib/xccache/utils/template.rb
106
+ - lib/xccache/xcodeproj.rb
107
+ - lib/xccache/xcodeproj/pkg.rb
108
+ - lib/xccache/xcodeproj/pkg_product_dependency.rb
109
+ - lib/xccache/xcodeproj/project.rb
110
+ - lib/xccache/xcodeproj/target.rb
41
111
  homepage: https://github.com/trinhngocthuyen/xccache
42
112
  licenses:
43
113
  - MIT