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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d92a06ac66769087503e47ee3dd4c50d2a67bed4bf8ff1204355b5183110afb
4
- data.tar.gz: 472db65214d1759c1e6a95911506b7dffc0aee237f6d4f16a3d12479e893dd69
3
+ metadata.gz: 0e24f113d8aa253785ceeb151ddae04c7a94f5d7db3bba807a13fcf68355a3da
4
+ data.tar.gz: 846daaf7aa10a90b39cd8171677f701e3e2ae662a35e45af31d57bae640090a1
5
5
  SHA512:
6
- metadata.gz: e8dcee5e699c8d7ba6f1aef9846af7c81a0fed1286f0e05752ac0fde9d36ebceed72d38210aebbed8956fbfcdec0f833b2f84cb20b5fd4e09c74cd977dbdb67b
7
- data.tar.gz: 1f44042fb2c8f77b56a271fabccdf8d6829dd00c17fe2ffdde5c92f093e7298956fecc6639ec1b4d38a0f39621e08400da205ec77746accf2025b473a9cc3ace
6
+ metadata.gz: 6cab1142cc81e96327c1078dfadd351c8116f5670f495e1258ebe7a43aa11b84b334b7d031ae0dd599818bba11f2161bec8b5457e0d1f58e3577e1a0a578d79d
7
+ data.tar.gz: 2ecfee21ac8bca32608f25af85682a257ff5188cd57b17d1c02d117a22272fba8e9ccb0002ec83854e83d81b903f34a0aae5dcb0bbfa40019f68580f7f444c0b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-luacheck (0.0.2)
4
+ danger-luacheck (0.0.3)
5
5
  danger-plugin-api (~> 1.0)
6
6
  nokogiri
7
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Luacheck
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
@@ -87,7 +87,6 @@ module Danger
87
87
  end
88
88
 
89
89
  def send_inline_comments(luacheck_results, targets)
90
- puts "============="
91
90
  catch(:loop_break) do
92
91
  count = 0
93
92
  luacheck_results.each do |luacheck_result|
@@ -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.2
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-08-31 00:00:00.000000000 Z
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