Skip to content

Commit 819e30e

Browse files
BasThomasrnystrom
authored andcommitted
Add an initial Dangerfile (#20)
1 parent 06ecf04 commit 819e30e

File tree

4 files changed

+79
-0
lines changed

4 files changed

+79
-0
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Next
2+
3+
## Added
4+
5+
- **Breaking Change:** Added a new delegate method to `MessageTextViewListener`, `func willChangeRange(textView: MessageTextView, to range: NSRange)` which allowed for the observation of text range changes such that the entire autocomplete string is deleted rather than character by character. [#15](https://github.com/GitHawkApp/MessageViewController/pull/15) by [@nathantannar4](https://github.com/nathantannar4)
6+
7+
## Removed
8+
9+
- Removed a tap gesture recognizer on the message view that would call `becomeFirstResponder()` on the text view. [#9](https://github.com/GitHawkApp/MessageViewController/pull/9) by [@rizwankce](https://github.com/rizwankce)
10+
11+
## Fixed
12+
13+
## Miscellaneous
14+
15+
# 0.1.1
16+
17+
Initial release

Dangerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
has_lib_changes = !git.modified_files.grep(/MessageViewController/).empty?
2+
no_changelog_entry = !git.modified_files.include?("CHANGELOG.md")
3+
4+
if has_lib_changes && no_changelog_entry
5+
warn("Any changes to library code should be reflected in the [Changelog](CHANGELOG.md). Please consider adding a note there.")
6+
end

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source "https://rubygems.org"
2+
3+
gem 'danger'

Gemfile.lock

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.5.2)
5+
public_suffix (>= 2.0.2, < 4.0)
6+
claide (1.0.2)
7+
claide-plugins (0.9.2)
8+
cork
9+
nap
10+
open4 (~> 1.3)
11+
colored2 (3.1.2)
12+
cork (0.3.0)
13+
colored2 (~> 3.1)
14+
danger (5.5.9)
15+
claide (~> 1.0)
16+
claide-plugins (>= 0.9.2)
17+
colored2 (~> 3.1)
18+
cork (~> 0.1)
19+
faraday (~> 0.9)
20+
faraday-http-cache (~> 1.0)
21+
git (~> 1)
22+
kramdown (~> 1.5)
23+
no_proxy_fix
24+
octokit (~> 4.7)
25+
terminal-table (~> 1)
26+
faraday (0.14.0)
27+
multipart-post (>= 1.2, < 3)
28+
faraday-http-cache (1.3.1)
29+
faraday (~> 0.8)
30+
git (1.3.0)
31+
kramdown (1.16.2)
32+
multipart-post (2.0.0)
33+
nap (1.1.0)
34+
no_proxy_fix (0.1.2)
35+
octokit (4.8.0)
36+
sawyer (~> 0.8.0, >= 0.5.3)
37+
open4 (1.3.4)
38+
public_suffix (3.0.1)
39+
sawyer (0.8.1)
40+
addressable (>= 2.3.5, < 2.6)
41+
faraday (~> 0.8, < 1.0)
42+
terminal-table (1.8.0)
43+
unicode-display_width (~> 1.1, >= 1.1.1)
44+
unicode-display_width (1.3.0)
45+
46+
PLATFORMS
47+
ruby
48+
49+
DEPENDENCIES
50+
danger
51+
52+
BUNDLED WITH
53+
1.16.1

0 commit comments

Comments
 (0)