air_test 0.1.4 → 0.1.4.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/Rakefile +3 -0
- data/lib/air_test/version.rb +1 -1
- data/lib/air_test.rb +5 -0
- data/lib/tasks/air_test.rake +11 -5
- 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: a23c7cf2ccd637fda7597dcd7fa7853c7b31cfdb19eae4e164a5aa63c6ccf5d0
|
4
|
+
data.tar.gz: 26f87ad1e418b430f4bcbf8d31c866acde6c2f07d62f601ea34b81485b0bfe89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1bbad763cce870204f348502db6dc3f0f67ed16ada42ce361d0c805382abb9ac0f8a586f83f67764369a2a48c691b9fae1d2f687a1128bd8ca7b525dc30eac5
|
7
|
+
data.tar.gz: 1edae3b07e4eb692cd422e98fffaf1c2503bd0bfe9710aff081af3bc4f3802f304ea296cd837eab4729bbfa56a6d0dd8e3c5beb26bc7ea8dccf3c0f76bca9dcf
|
data/Rakefile
CHANGED
data/lib/air_test/version.rb
CHANGED
data/lib/air_test.rb
CHANGED
@@ -21,3 +21,8 @@ require_relative "air_test/runner"
|
|
21
21
|
|
22
22
|
# Load Rails engine if Rails is available (for Rake task support)
|
23
23
|
require_relative "air_test/engine" if defined?(Rails)
|
24
|
+
|
25
|
+
# Also load Rake tasks directly if Rake is available (for development/testing)
|
26
|
+
if defined?(Rake)
|
27
|
+
load File.expand_path("../tasks/air_test.rake", __FILE__)
|
28
|
+
end
|
data/lib/tasks/air_test.rake
CHANGED
@@ -1,13 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
# Ensure the main gem is loaded
|
4
|
+
require "air_test"
|
5
|
+
|
3
6
|
namespace :air_test do
|
4
7
|
desc "Generate specs and PR from Notion tickets"
|
5
|
-
task :generate_specs_from_notion, [:limit]
|
8
|
+
task :generate_specs_from_notion, [:limit] do |_task, args|
|
6
9
|
require "air_test/runner"
|
7
|
-
|
10
|
+
|
8
11
|
limit = (args[:limit] || 5).to_i
|
9
12
|
puts "🚀 Starting AirTest with limit: #{limit}"
|
10
|
-
|
13
|
+
|
11
14
|
begin
|
12
15
|
runner = AirTest::Runner.new
|
13
16
|
runner.run(limit: limit)
|
@@ -20,9 +23,12 @@ namespace :air_test do
|
|
20
23
|
end
|
21
24
|
|
22
25
|
desc "Show AirTest configuration"
|
23
|
-
task config
|
26
|
+
task :config do
|
24
27
|
require "air_test/configuration"
|
25
|
-
|
28
|
+
|
29
|
+
# Initialize configuration if not already done
|
30
|
+
AirTest.configuration ||= AirTest::Configuration.new
|
31
|
+
|
26
32
|
config = AirTest.configuration
|
27
33
|
puts "🔧 AirTest Configuration:"
|
28
34
|
puts " Notion Token: #{config.notion_token ? "Set" : "Not set"}"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: air_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.4
|
4
|
+
version: 0.1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- julien bouland
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-07-
|
10
|
+
date: 2025-07-20 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rails
|