hubstats 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ca209ff034e4e98eaebfb65c7fb913529a72355
4
- data.tar.gz: 27996253e2e5c609a77a54172fe8f500ab91f001
3
+ metadata.gz: 1b44bc44741db82104ef9ebfab42d0480597a8d3
4
+ data.tar.gz: 5071f89d6d7e2e31cb0a926c7e598136a9d95b5b
5
5
  SHA512:
6
- metadata.gz: b1719923f5bf0643da5c1603df631a94ece351896b7a54f8ad4b75729456654d93add03695fa9b54a865e53ba305b1881f1330ffd8c4a0bc7a642b350e845747
7
- data.tar.gz: c142369081e7940210c779e3831bd450171075ad5c46133d14c019bc1ed832c7a95810bf9b98faf368094d967bec09fe94914ffc636430cbc9d1abb6cce253de
6
+ metadata.gz: e2549fc3788829e7727065bb7cf72966617c3ba8dd41afcbbf4dbf983068370083637654bbab0d27b399da5765843576458b919d804a66621133747008519734
7
+ data.tar.gz: ae84ca86e4c8950f0ef728b51ed3e7f072b568af4d0d19f3614ca63956326871fbf21b7914c2a7c7f5f2368b095ba7ae79243f8dc1ba47ef6438abe90ae92351
@@ -1,3 +1,8 @@
1
+ #### v0.9.1
2
+ * The index between PR_ID and QA Signoff should be unique
3
+
4
+ > Emma Sax: Unknown User, Luke Ludwig: https://github.com/sportngin/hubstats/pull/112
5
+
1
6
  #### v0.9.0
2
7
  * Add a way to show a QA Signoff count on Users list page
3
8
 
@@ -0,0 +1,6 @@
1
+ class MakeQaIndexUnique < ActiveRecord::Migration
2
+ def change
3
+ remove_index :hubstats_qa_signoffs, :pull_request_id
4
+ add_index :hubstats_qa_signoffs, :pull_request_id, :unique => true
5
+ end
6
+ end
@@ -1,3 +1,3 @@
1
1
  module Hubstats
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20161215193314) do
14
+ ActiveRecord::Schema.define(version: 20161222173633) do
15
15
 
16
16
  create_table "hubstats_comments", force: :cascade do |t|
17
17
  t.string "html_url", limit: 255
@@ -89,7 +89,7 @@ ActiveRecord::Schema.define(version: 20161215193314) do
89
89
  t.datetime "signed_at"
90
90
  end
91
91
 
92
- add_index "hubstats_qa_signoffs", ["pull_request_id"], name: "index_hubstats_qa_signoffs_on_pull_request_id", using: :btree
92
+ add_index "hubstats_qa_signoffs", ["pull_request_id"], name: "index_hubstats_qa_signoffs_on_pull_request_id", unique: true, using: :btree
93
93
  add_index "hubstats_qa_signoffs", ["repo_id"], name: "index_hubstats_qa_signoffs_on_repo_id", using: :btree
94
94
  add_index "hubstats_qa_signoffs", ["user_id"], name: "index_hubstats_qa_signoffs_on_user_id", using: :btree
95
95
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliot Hursh
@@ -306,6 +306,7 @@ files:
306
306
  - db/migrate/20160113182356_rename_body_text_to_body.rb
307
307
  - db/migrate/20161215163228_add_qa_signoff.rb
308
308
  - db/migrate/20161215193059_signed_column_for_signoff.rb
309
+ - db/migrate/20161222173310_make_qa_index_unique.rb
309
310
  - db/seeds.rb
310
311
  - hubstats.gemspec
311
312
  - lib/generators/hubstats/install_generator.rb