-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #299 from noir-cr/dev
Release v0.15.1
- Loading branch information
Showing
26 changed files
with
346 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
name: Anything | ||
about: Anything! | ||
title: | ||
labels: | ||
assignees: | ||
|
||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: noir | ||
version: 0.15.0 | ||
version: 0.15.1 | ||
|
||
authors: | ||
- hahwul <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require "../../../src/detector/detectors/*" | ||
|
||
describe "Detect Crystal Lucky" do | ||
options = default_options() | ||
instance = DetectorCrystalLucky.new options | ||
|
||
it "shard.yml" do | ||
instance.detect("shard.yml", "luckyframework/lucky").should eq(true) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require "../../../src/detector/detectors/*" | ||
|
||
describe "Detect C# ASP.Net MVC" do | ||
options = default_options() | ||
instance = DetectorCSharpAspNetMvc.new options | ||
|
||
it "packages" do | ||
instance.detect("packages.config", "Microsoft.AspNet.Mvc").should eq(true) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require "../../../src/detector/detectors/*" | ||
|
||
describe "Detect Elixir Phoenix" do | ||
options = default_options() | ||
instance = DetectorElixirPhoenix.new options | ||
|
||
it "mix" do | ||
instance.detect("mix.exs", "ElixirPhoenix").should eq(true) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require "../../../src/detector/detectors/*" | ||
|
||
describe "Detect Go BeegoEcho" do | ||
options = default_options() | ||
instance = DetectorGoBeego.new options | ||
|
||
it "go.mod" do | ||
instance.detect("go.mod", "github.com/beego/beego").should eq(true) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require "../../../src/detector/detectors/*" | ||
|
||
describe "Detect Go Fiber" do | ||
options = default_options() | ||
instance = DetectorGoFiber.new options | ||
|
||
it "go.mod" do | ||
instance.detect("go.mod", "github.com/gofiber/fiber").should eq(true) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require "../../../src/detector/detectors/*" | ||
|
||
describe "Detect Go Gin" do | ||
options = default_options() | ||
instance = DetectorGoGin.new options | ||
|
||
it "go.mod" do | ||
instance.detect("go.mod", "github.com/gin-gonic/gin").should eq(true) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require "../../../src/detector/detectors/*" | ||
|
||
describe "Detect Python FastAPI" do | ||
options = default_options() | ||
instance = DetectorPythonFastAPI.new options | ||
|
||
it "settings.py" do | ||
instance.detect("settings.py", "from fastapi").should eq(true) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
require "../../../src/detector/detectors/*" | ||
|
||
describe "Detect RAML" do | ||
options = default_options() | ||
instance = DetectorRAML.new options | ||
|
||
it "raml" do | ||
instance.detect("app.yaml", "#%RAML\nApp: 1").should eq(true) | ||
end | ||
|
||
it "code_locator" do | ||
locator = CodeLocator.instance | ||
locator.clear "raml-spec" | ||
instance.detect("app.yaml", "#%RAML\nApp: 1") | ||
locator.all("raml-spec").should eq(["app.yaml"]) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
require "../../../src/detector/detectors/*" | ||
|
||
describe "Detect Ruby Hanami" do | ||
options = default_options() | ||
instance = DetectorRubyHanami.new options | ||
|
||
it "gemfile/single_quot" do | ||
instance.detect("Gemfile", "gem 'hanami'").should eq(true) | ||
end | ||
it "gemfile/double_quot" do | ||
instance.detect("Gemfile", "gem \"hanami\"").should eq(true) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require "../../../src/detector/detectors/*" | ||
|
||
describe "Detect Rust Axum" do | ||
options = default_options() | ||
instance = DetectorRustAxum.new options | ||
|
||
it "Gargo.toml" do | ||
instance.detect("Cargo.toml", "[dependencies]\naxum = {}").should eq(true) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require "../../../src/detector/detectors/*" | ||
|
||
describe "Detect Rust Rocket" do | ||
options = default_options() | ||
instance = DetectorRustRocket.new options | ||
|
||
it "Gargo.toml" do | ||
instance.detect("Cargo.toml", "[dependencies]\nrocket = {}").should eq(true) | ||
end | ||
end |
Oops, something went wrong.