danger-luacheck 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/luacheck/gem_version.rb +1 -1
- data/lib/luacheck/plugin.rb +0 -1
- data/spec/luacheck_spec.rb +0 -35
- 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: 0e24f113d8aa253785ceeb151ddae04c7a94f5d7db3bba807a13fcf68355a3da
|
4
|
+
data.tar.gz: 846daaf7aa10a90b39cd8171677f701e3e2ae662a35e45af31d57bae640090a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cab1142cc81e96327c1078dfadd351c8116f5670f495e1258ebe7a43aa11b84b334b7d031ae0dd599818bba11f2161bec8b5457e0d1f58e3577e1a0a578d79d
|
7
|
+
data.tar.gz: 2ecfee21ac8bca32608f25af85682a257ff5188cd57b17d1c02d117a22272fba8e9ccb0002ec83854e83d81b903f34a0aae5dcb0bbfa40019f68580f7f444c0b
|
data/Gemfile.lock
CHANGED
data/lib/luacheck/gem_version.rb
CHANGED
data/lib/luacheck/plugin.rb
CHANGED
data/spec/luacheck_spec.rb
CHANGED
@@ -63,40 +63,5 @@ module Danger
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
end
|
66
|
-
#
|
67
|
-
# You should test your custom attributes and methods here
|
68
|
-
#
|
69
|
-
# describe "with Dangerfile" do
|
70
|
-
# before do
|
71
|
-
# @dangerfile = testing_dangerfile
|
72
|
-
# @my_plugin = @dangerfile.luacheck
|
73
|
-
|
74
|
-
# # mock the PR data
|
75
|
-
# # you can then use this, eg. github.pr_author, later in the spec
|
76
|
-
# json = File.read("#{File.dirname(__FILE__)}/support/fixtures/github_pr.json") # example json: `curl https://api.github.com/repos/danger/danger-plugin-template/pulls/18 > github_pr.json`
|
77
|
-
# allow(@my_plugin.github).to receive(:pr_json).and_return(json)
|
78
|
-
# end
|
79
|
-
|
80
|
-
# # Some examples for writing tests
|
81
|
-
# # You should replace these with your own.
|
82
|
-
|
83
|
-
# it "Warns on a monday" do
|
84
|
-
# monday_date = Date.parse("2016-07-11")
|
85
|
-
# allow(Date).to receive(:today).and_return monday_date
|
86
|
-
|
87
|
-
# @my_plugin.warn_on_mondays
|
88
|
-
|
89
|
-
# expect(@dangerfile.status_report[:warnings]).to eq(["Trying to merge code on a Monday"])
|
90
|
-
# end
|
91
|
-
|
92
|
-
# it "Does nothing on a tuesday" do
|
93
|
-
# monday_date = Date.parse("2016-07-12")
|
94
|
-
# allow(Date).to receive(:today).and_return monday_date
|
95
|
-
|
96
|
-
# @my_plugin.warn_on_mondays
|
97
|
-
|
98
|
-
# expect(@dangerfile.status_report[:warnings]).to eq([])
|
99
|
-
# end
|
100
|
-
# end
|
101
66
|
end
|
102
67
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-luacheck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- baochuquan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger-plugin-api
|