saucy 0.5.0 → 0.5.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.
@@ -1,3 +1,7 @@
1
+ 0.5.1
2
+
3
+ Add an index to the archived column for projects
4
+
1
5
  0.5.0
2
6
 
3
7
  Added the ability to archive projects. Archived projects are not included in
@@ -5,7 +9,8 @@ an accounts `projects_count`.
5
9
 
6
10
  To upgrade to this version add the following column to the projects table:
7
11
 
8
- add_column :projects, :archived, :default => false, :null => false
12
+ add_column :projects, :archived, :boolean, :default => false, :null => false
13
+ add_index :projects, :archived
9
14
 
10
15
  This version adds a list of archived projects to the projects index of an
11
16
  account. An introduced headers to these two lists. Archived projects have
@@ -64,6 +64,7 @@ class CreateSaucyTables < ActiveRecord::Migration
64
64
  table.datetime :updated_at
65
65
  end
66
66
  add_index :projects, :keyword
67
+ add_index :projects, :archived
67
68
 
68
69
  change_table :users do |table|
69
70
  table.string :name, :default => ""
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saucy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - thoughtbot, inc.