Commit graph

3733 commits

Author SHA1 Message Date
dependabot[bot]
b0f80d7607
Merge pull request #2215 from TracksApp/dependabot/bundler/sqlite3-1.4.1 2019-05-06 13:06:03 +00:00
dependabot[bot]
94a59d2f75
Merge pull request #2214 from TracksApp/dependabot/bundler/bullet-6.0.0 2019-05-06 13:05:42 +00:00
dependabot[bot]
ca7c1ff40c
Bump sqlite3 from 1.4.0 to 1.4.1
Bumps [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/sparklemotion/sqlite3-ruby/releases)
- [Changelog](https://github.com/sparklemotion/sqlite3-ruby/blob/master/CHANGELOG.rdoc)
- [Commits](https://github.com/sparklemotion/sqlite3-ruby/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-06 05:56:12 +00:00
dependabot[bot]
814e0370d5
Bump bullet from 5.9.0 to 6.0.0
Bumps [bullet](https://github.com/flyerhzm/bullet) from 5.9.0 to 6.0.0.
- [Release notes](https://github.com/flyerhzm/bullet/releases)
- [Changelog](https://github.com/flyerhzm/bullet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/5.9.0...6.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-06 05:55:42 +00:00
Matt Rogers
d180acb88a
Merge pull request #2212 from TracksApp/exists-instead-of-empty
Prefer !exists? over empty?
2019-05-04 20:56:53 -05:00
Matt Rogers
11b9081064
Use !exists? instead of empty?
`exists?` issues a better SQL query than `empty?`
2019-05-04 15:16:36 -05:00
Matt Rogers
996395cc80
Merge pull request #2207 from TracksApp/exists-instead-of-count
Use exists? instead of count > 0
2019-05-04 14:54:21 -05:00
Matt Rogers
2c627be0cc
Merge pull request #2208 from ZeiP/feature/2203_api_token
#2203: Allow using REST API with token
2019-05-04 14:49:24 -05:00
Matt Rogers
c6a4f8a656
Merge pull request #2209 from ZeiP/bug/2034_done_api_route
#2034: Change the REST API documentation to point to the existing don…
2019-05-04 14:47:30 -05:00
Jyri-Petteri Paloposki
78ef3141c6 #2203: Change the test testing API token access to test for ok instead of forbidden 2019-05-04 20:58:53 +03:00
Jyri-Petteri Paloposki
16ca18e4f5 #2034: Change the REST API documentation to point to the existing done tasks API 2019-05-04 20:35:38 +03:00
Jyri-Petteri Paloposki
d3ba80c84e #2203: Allow using REST API with token 2019-05-04 20:31:32 +03:00
Matt Rogers
a7d8b3c950
Use exists? instead of count > 0 2019-05-04 10:32:15 -05:00
dependabot[bot]
ec59f10af8
Merge pull request #2193 from TracksApp/dependabot/bundler/rails-5.2.3 2019-05-04 15:31:59 +00:00
Matt Rogers
2cdbcfef25
Merge pull request #2198 from TracksApp/dependabot/bundler/rspec-expectations-3.8.3
Bump rspec-expectations from 3.7.0 to 3.8.3
2019-05-04 10:31:01 -05:00
Matt Rogers
fcbb38e803
Merge pull request #2205 from ZeiP/bug/2036_nil-classes
#2036: Change empty XML responses to have the correct base element
2019-05-04 09:58:04 -05:00
Matt Rogers
9c3d5f008f
Merge pull request #2204 from ZeiP/bug/2035_hiddenxml
#2035: Fix /hidden.xml by adding the route which was removed in commi…
2019-05-04 09:57:19 -05:00
Jyri-Petteri Paloposki
b9a80a385e #2036: Change empty XML responses to have the correct base element 2019-05-03 11:47:05 +03:00
Jyri-Petteri Paloposki
aa7bcd2239 #2035: Fix /hidden.xml by adding the route which was removed in commit a83c8b3f92. 2019-05-02 16:50:41 +03:00
dependabot[bot]
fe0c0b4370
Bump rails from 5.2.2.1 to 5.2.3
Bumps [rails](https://github.com/rails/rails) from 5.2.2.1 to 5.2.3.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v5.2.2.1...v5.2.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 18:29:51 +00:00
dependabot[bot]
addc3b5513
Merge pull request #2199 from TracksApp/dependabot/bundler/nokogiri-1.10.3 2019-04-22 18:28:07 +00:00
dependabot[bot]
a17cd7f060
[Security] Bump nokogiri from 1.10.1 to 1.10.3
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.1 to 1.10.3. **This update includes security fixes.**
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.1...v1.10.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 18:11:19 +00:00
dependabot[bot]
360c553521
Bump rspec-expectations from 3.7.0 to 3.8.3
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations) from 3.7.0 to 3.8.3.
- [Release notes](https://github.com/rspec/rspec-expectations/releases)
- [Changelog](https://github.com/rspec/rspec-expectations/blob/master/Changelog.md)
- [Commits](https://github.com/rspec/rspec-expectations/compare/v3.7.0...v3.8.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 05:54:58 +00:00
Matt Rogers
8b909ba00d
Merge pull request #2184 from TracksApp/dependabot/bundler/sqlite3-1.4.0
Bump sqlite3 from 1.3.13 to 1.4.0
2019-04-15 08:40:33 -05:00
Matt Rogers
9b0a88214c
Merge pull request #2162 from matjack1/docker-fixes
Fix Docker setup
2019-04-14 13:54:51 -05:00
Matt Rogers
434c379d0c
Merge pull request #2188 from TracksApp/dependabot/bundler/puma-3.12.1
Bump puma from 3.12.0 to 3.12.1
2019-04-14 13:50:38 -05:00
Matt Rogers
94878702d3
Merge pull request #2183 from TracksApp/dependabot/bundler/will_paginate-3.1.7
Bump will_paginate from 3.1.6 to 3.1.7
2019-04-14 13:50:24 -05:00
Matt Rogers
47cf8c480f
Merge pull request #2191 from TracksApp/refactor-not-done-todos-query
Refactor out an object for querying not done todos
2019-04-14 13:46:04 -05:00
Matt Rogers
d08608c755
Remove the query code from TodosController
It has been completely replaced with our new query object
2019-04-11 14:38:56 -05:00
Matt Rogers
63ac90ebb2
Convert to using symbols everywhere 2019-04-11 11:28:43 -05:00
Matt Rogers
fc17a03bc0
Add tests for the new object and fix a bug
Each of the individual query chunks has their own test, in addition to a
test for the full combination of parameters that could influence a
query.

There is also a bugfix for the tag query in here, since I want, as much
as possible, to have passing tests on every commit.
2019-04-11 09:53:53 -05:00
Matt Rogers
fad681cc85
Merge pull request #2190 from TracksApp/start-using-bundler2
Upgrade to Bundler 2
2019-04-08 09:37:55 -05:00
Matt Rogers
df091c7ec5
Use the results of the new query object
This confirms that we've successfully extracted the code and now we can
start removing the old code.
2019-04-07 20:08:11 -05:00
Matt Rogers
eb7c34e973
Run both the new query and the old query
Throw away the results of the new query for now. Now that we know it
will run without raising exceptions, we can replace the old query with
the new query.
2019-04-07 20:04:28 -05:00
Matt Rogers
ec1a4d78ba
Temporarily add the sanitize helper
This is so we can keep the tests passing by fixing a NoMethodError when
attempting to run both the new query object and the existing code at the
same time.
2019-04-07 20:01:22 -05:00
Matt Rogers
9de975f8eb
Extract a query object for not done todos 2019-04-07 19:59:01 -05:00
Matt Rogers
a31db945ab
Upgrade bundler. 2019-04-07 19:55:21 -05:00
Matt Rogers
93ed86b4c8
Merge pull request #2189 from TracksApp/use-ruby-24
Bump Ruby to 2.4
2019-04-07 17:23:41 -05:00
Matt Rogers
1b50b3d084
Bump Ruby to 2.4 2019-04-07 12:42:37 -05:00
dependabot[bot]
38a6a76e6e
Bump puma from 3.12.0 to 3.12.1
Bumps [puma](https://github.com/puma/puma) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v3.12.0...v3.12.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-02 21:10:35 +00:00
dependabot[bot]
38cf995e4c
Bump will_paginate from 3.1.6 to 3.1.7
Bumps [will_paginate](https://github.com/mislav/will_paginate) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mislav/will_paginate/releases)
- [Commits](https://github.com/mislav/will_paginate/compare/v3.1.6...v3.1.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-02 13:37:10 +00:00
dependabot[bot]
b7aa6fff42
Merge pull request #2187 from TracksApp/dependabot/bundler/yard-0.9.19 2019-04-02 13:33:31 +00:00
dependabot[bot]
b46d4c5762
Bump yard from 0.9.16 to 0.9.19
Bumps [yard](https://github.com/lsegal/yard) from 0.9.16 to 0.9.19.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lsegal/yard/compare/v0.9.16...v0.9.19)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-02 05:25:51 +00:00
dependabot[bot]
b48a259694
Merge pull request #2182 from TracksApp/dependabot/bundler/byebug-11.0.1 2019-03-19 13:45:54 +00:00
dependabot[bot]
0d18d2848d
Bump sqlite3 from 1.3.13 to 1.4.0
Bumps [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) from 1.3.13 to 1.4.0.
- [Release notes](https://github.com/sparklemotion/sqlite3-ruby/releases)
- [Changelog](https://github.com/sparklemotion/sqlite3-ruby/blob/master/CHANGELOG.rdoc)
- [Commits](https://github.com/sparklemotion/sqlite3-ruby/compare/v1.3.13...v1.4.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-19 05:42:33 +00:00
dependabot[bot]
eba8b56999
Bump byebug from 10.0.2 to 11.0.1
Bumps [byebug](https://github.com/deivid-rodriguez/byebug) from 10.0.2 to 11.0.1.
- [Release notes](https://github.com/deivid-rodriguez/byebug/releases)
- [Changelog](https://github.com/deivid-rodriguez/byebug/blob/master/CHANGELOG.md)
- [Commits](https://github.com/deivid-rodriguez/byebug/compare/v10.0.2...v11.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-19 05:42:18 +00:00
dependabot[bot]
4b36f26316
Merge pull request #2178 from TracksApp/dependabot/bundler/mocha-1.8.0 2019-03-18 16:38:18 +00:00
dependabot[bot]
03def2f842
Merge pull request #2181 from TracksApp/dependabot/bundler/acts_as_list-0.9.19 2019-03-18 16:37:19 +00:00
dependabot[bot]
4cd6c40eed
Bump acts_as_list from 0.9.17 to 0.9.19
Bumps [acts_as_list](https://github.com/swanandp/acts_as_list) from 0.9.17 to 0.9.19.
- [Release notes](https://github.com/swanandp/acts_as_list/releases)
- [Changelog](https://github.com/swanandp/acts_as_list/blob/master/CHANGELOG.md)
- [Commits](https://github.com/swanandp/acts_as_list/compare/v0.9.17...v0.9.19)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 05:19:29 +00:00
dependabot[bot]
f8fb234b4a
Bump mocha from 1.7.0 to 1.8.0
Bumps [mocha](https://github.com/freerange/mocha) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/freerange/mocha/releases)
- [Changelog](https://github.com/freerange/mocha/blob/master/RELEASE.md)
- [Commits](https://github.com/freerange/mocha/compare/v1.7.0...v1.8.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 05:18:16 +00:00