orb_template 0.2.4 → 0.3.0
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 +30 -0
- data/README.md +163 -25
- data/lib/orb/ast/tag_node.rb +3 -1
- data/lib/orb/temple/compiler.rb +23 -16
- data/lib/orb/temple/filters.rb +13 -0
- data/lib/orb/version.rb +1 -1
- data/lib/orb.rb +6 -2
- metadata +3 -7
- data/CODE_OF_CONDUCT.md +0 -132
- data/Makefile +0 -50
- data/Rakefile +0 -21
- data/docs/2026-03-12-security-analysis.md +0 -715
data/Makefile
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Makefile for ORB Ruby Gem
|
|
2
|
-
|
|
3
|
-
.PHONY: all test build clean install lint spec benchmark help
|
|
4
|
-
|
|
5
|
-
# Default target
|
|
6
|
-
all: test build
|
|
7
|
-
|
|
8
|
-
# Run test suite (excludes benchmarks)
|
|
9
|
-
spec:
|
|
10
|
-
bundle exec rake test
|
|
11
|
-
|
|
12
|
-
# Run benchmark suite
|
|
13
|
-
benchmark:
|
|
14
|
-
bundle exec rake benchmark
|
|
15
|
-
|
|
16
|
-
# Build the gem
|
|
17
|
-
build:
|
|
18
|
-
gem build orb_template.gemspec
|
|
19
|
-
|
|
20
|
-
# Deploy to RubyGems (requires authentication)
|
|
21
|
-
deploy: build
|
|
22
|
-
gem push orb_template-*.gem
|
|
23
|
-
|
|
24
|
-
# Clean build artifacts
|
|
25
|
-
clean:
|
|
26
|
-
rm -f *.gem
|
|
27
|
-
|
|
28
|
-
# Install the gem locally
|
|
29
|
-
install: build
|
|
30
|
-
gem install orb_template-*.gem
|
|
31
|
-
|
|
32
|
-
# Run linting
|
|
33
|
-
lint:
|
|
34
|
-
bundle exec rubocop
|
|
35
|
-
|
|
36
|
-
# Run specs, linting, and benchmarks
|
|
37
|
-
test: spec lint benchmark
|
|
38
|
-
|
|
39
|
-
# Show help
|
|
40
|
-
help:
|
|
41
|
-
@echo "Available targets:"
|
|
42
|
-
@echo " all - Run tests and build the gem (default)"
|
|
43
|
-
@echo " test - Run both specs and linting"
|
|
44
|
-
@echo " build - Build the gem package"
|
|
45
|
-
@echo " install - Build and install the gem locally"
|
|
46
|
-
@echo " clean - Remove built gem files"
|
|
47
|
-
@echo " spec - Run the test suite (excludes benchmarks)"
|
|
48
|
-
@echo " benchmark - Run the benchmark suite"
|
|
49
|
-
@echo " lint - Run RuboCop linting"
|
|
50
|
-
@echo " help - Show this help message"
|
data/Rakefile
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "bundler/gem_tasks"
|
|
4
|
-
require "rubocop/rake_task"
|
|
5
|
-
require "rake/testtask"
|
|
6
|
-
|
|
7
|
-
RuboCop::RakeTask.new
|
|
8
|
-
|
|
9
|
-
Rake::TestTask.new(:test) do |t|
|
|
10
|
-
t.libs << "test"
|
|
11
|
-
t.libs << "lib"
|
|
12
|
-
t.test_files = FileList['test/**/*_test.rb'].exclude('test/benchmark_test.rb')
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
Rake::TestTask.new(:benchmark) do |t|
|
|
16
|
-
t.libs << "test"
|
|
17
|
-
t.libs << "lib"
|
|
18
|
-
t.test_files = FileList['test/benchmark_test.rb']
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
task default: %i[rubocop test]
|