DEV: Use Bundler (#9)

DEV: Use Bundler (#9)

diff --git a/.gitignore b/.gitignore
index b844b14..b3d05cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
-Gemfile.lock
+.rubocop-https---raw-githubusercontent-com-discourse-discourse-master--rubocop-yml
+/vendor
+*.orig
diff --git a/Gemfile.lock b/Gemfile.lock
new file mode 100644
index 0000000..ef8d530
--- /dev/null
+++ b/Gemfile.lock
@@ -0,0 +1,66 @@
+PATH
+  remote: .
+  specs:
+    discourse_mail_receiver (4.0.7)
+      mail (~> 2.7.1)
+
+GEM
+  remote: https://rubygems.org/
+  specs:
+    ast (2.4.2)
+    diff-lcs (1.4.4)
+    mail (2.7.1)
+      mini_mime (>= 0.1.1)
+    mini_mime (1.1.0)
+    parallel (1.20.1)
+    parser (3.0.1.1)
+      ast (~> 2.4.1)
+    rainbow (3.0.0)
+    rake (13.0.3)
+    regexp_parser (2.1.1)
+    rexml (3.2.5)
+    rspec (3.10.0)
+      rspec-core (~> 3.10.0)
+      rspec-expectations (~> 3.10.0)
+      rspec-mocks (~> 3.10.0)
+    rspec-core (3.10.1)
+      rspec-support (~> 3.10.0)
+    rspec-expectations (3.10.1)
+      diff-lcs (>= 1.2.0, < 2.0)
+      rspec-support (~> 3.10.0)
+    rspec-mocks (3.10.2)
+      diff-lcs (>= 1.2.0, < 2.0)
+      rspec-support (~> 3.10.0)
+    rspec-support (3.10.2)
+    rubocop (1.15.0)
+      parallel (~> 1.10)
+      parser (>= 3.0.0.0)
+      rainbow (>= 2.2.2, < 4.0)
+      regexp_parser (>= 1.8, < 3.0)
+      rexml
+      rubocop-ast (>= 1.5.0, < 2.0)
+      ruby-progressbar (~> 1.7)
+      unicode-display_width (>= 1.4.0, < 3.0)
+    rubocop-ast (1.5.0)
+      parser (>= 3.0.1.1)
+    rubocop-discourse (2.4.1)
+      rubocop (>= 1.1.0)
+      rubocop-rspec (>= 2.0.0)
+    rubocop-rspec (2.3.0)
+      rubocop (~> 1.0)
+      rubocop-ast (>= 1.1.0)
+    ruby-progressbar (1.11.0)
+    unicode-display_width (2.0.0)
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  bundler (~> 2.0)
+  discourse_mail_receiver!
+  rake (~> 13.0)
+  rspec (~> 3.10)
+  rubocop-discourse (~> 2.4.1)
+
+BUNDLED WITH
+   2.1.4
diff --git a/Makefile b/Makefile
index 774a618..1ba67e5 100644
--- a/Makefile
+++ b/Makefile
@@ -5,13 +5,19 @@ all:
 .PHONY: all
 
 
-lint:
-	rubocop
+bundle:
+	bundle install --quiet
+
+.PHONY: bundle
+
+
+lint: bundle
+	bundle exec rubocop
 
 .PHONY: lint
 
 
-test:
-	rspec
+test: bundle
+	bundle exec rspec
 
 .PHONY: test

GitHub sha: ae7aabf5

This commit appears in #9 which was merged by SamSaffron.