Skip to content

Commit

Permalink
Merge branch 'release/v1.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
odinsride committed Feb 24, 2019
2 parents 7677fe4 + f0eaa64 commit b9ed545
Show file tree
Hide file tree
Showing 95 changed files with 1,535 additions and 1,584 deletions.
51 changes: 51 additions & 0 deletions .rubocop.yml
@@ -0,0 +1,51 @@
AllCops:
Exclude:
- db/schema.rb
- test/**/*

Rails:
Enabled: true

Metrics:
Exclude:
- db/migrate/*.rb

Metrics/BlockLength:
Exclude:
- config/environments/*.rb
- config/initializers/simple_form_materialize.rb

# Commonly used screens these days easily fit more than 80 characters.
Metrics/LineLength:
Max: 120
Exclude:
- db/seeds.rb
- config/initializers/devise.rb
- config/initializers/simple_form_materialize.rb

# Too short methods lead to extraction of single-use methods, which can make
# the code easier to read (by naming things), but can also clutter the class
Metrics/MethodLength:
Max: 20

# The guiding principle of classes is SRP, SRP can't be accurately measured by LoC
Metrics/ClassLength:
Max: 1500

Rails/OutputSafety:
Exclude:
- config/initializers/simple_form_materialize/icon_component.rb

Style/Documentation:
Include:
- app/models/**/*
- lib/**/*

# I don't see a benefit to forcing empty methods onto one line
Style/EmptyMethod:
Exclude:
- app/**/*

Style/MixinUsage:
Exclude:
- bin/**/*
31 changes: 30 additions & 1 deletion CHANGELOG.md
Expand Up @@ -6,6 +6,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased] changes

## [v1.2.0] - 2018-02-24

### Added
- Accounts can be deactivated, which hides them from the main account list. Inactive accounts can be found from the user menu and reactivated at any time. This provides a non-destructive method of archiving an account for historical purposes. Deleting accounts is no longer possible from the UI.
- A new field has been added to allow storing the last 4 digits of the account number along with an account. This can be helpful for quickly identifying an account by number.
- Transaction search based on the description field has been added.
- Account-level attachments have been added. An account may have many attachments. This is useful for storing account statements and correspondence in one location.
- Transaction autocomplete has been enabled in the description field. Autocomplete sources from a unique list of all transaction descriptions for the particular account.

### Changed
- Attachments for transactions are now renamed at upload to be formatted as `(trx_id)_(description)_(trx_date).(extension)`
- Attachment links will direct to an https URL
- Ruby version updated to 2.5.1
- Rails version updated to 5.2.2

### Fixed
- Account deletion removed, but deactivation will now deactivate the proper account.
- When editing a transaction on page N of the transaction list, after clicking update or cancel you will now be redirected back to page N instead of page 1.
- Account name should display better from the transaction list on mobile.

#### Gem Changes
- sass-rails gem replaced with sassc-rails
- pg gem updated to 1.1.4
- puma gem updated to 3.12.0
- aws-sdk gem replaced with aws-sdk-s3

[v1.2.0] will be the final feature release of olubalance as a pure Rails app. Going forward, olubalance will function as Rails API with a Vue.js frontend.

## [v1.1.3] - 2018-08-19
### Fixed
- Fixed issue with local user Time Zone. Users are now required to set their local timezone, and all dates within the application front end will reflect this timezone setting.
Expand Down Expand Up @@ -52,7 +80,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Account overview with list of all accounts and balances for each


[Unreleased]: https://github.com/odinsride/olubalance/compare/v1.1.3...HEAD
[Unreleased]: https://github.com/odinsride/olubalance/compare/v1.2.0...HEAD
[v1.2.0]: https://github.com/odinsride/olubalance/compare/v1.1.3...v1.2.0
[v1.1.3]: https://github.com/odinsride/olubalance/compare/v1.1.2...v1.1.3
[v1.1.2]: https://github.com/odinsride/olubalance/compare/v1.1.1...v1.1.2
[v1.1.1]: https://github.com/odinsride/olubalance/compare/v1.1.0...v1.1.1
Expand Down
76 changes: 25 additions & 51 deletions Gemfile
@@ -1,73 +1,47 @@
source 'https://rubygems.org'

git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?('/')
"https://github.com/#{repo_name}.git"
end


# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.1.4'
# Use postgresql as the database for Active Record
gem 'pg', '~> 0.18'
# Use Puma as the app server
gem 'puma', '~> 3.7'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

gem 'simple_form'
#gem 'bootstrap', '~> 4.0.0'
gem 'jquery-rails'
gem 'jquery-turbolinks'
gem 'rails-ujs'
gem 'aws-sdk-s3'
gem 'coffee-rails', '~> 4.2'
gem 'devise'
gem 'will_paginate', '~> 3.1.0'
gem "paperclip", "~> 6.0.0"
gem "aws-sdk"
gem 'draper'
gem 'figaro'
gem 'materialize-sass', '~> 0.100.2'
gem 'font-awesome-rails'
gem 'jbuilder', '~> 2.5'
gem 'jquery-rails'
gem 'jquery-turbolinks'
gem 'material_icons'
gem 'materialize-form'
gem 'font-awesome-rails'

# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.2'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'materialize-sass', '~> 0.100.2'
gem 'paperclip', '~> 6.0.0'
gem 'pg', '~> 1.1.4'
gem 'puma', '~> 3.12.0'
gem 'rails', '~> 5.2.1'
gem 'rails-ujs'
gem 'sassc', '~> 1.12.1'
gem 'sassc-rails', '~> 1.3.0'
gem 'simple_form'
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 3.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
gem 'uglifier', '>= 1.3.0'
gem 'will_paginate', '~> 3.1.0'

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
# Adds support for Capybara system testing and selenium driver
gem 'byebug', platforms: %i[mri mingw x64_mingw]
gem 'capybara', '~> 2.13'
gem 'faker'
gem 'selenium-webdriver'
end

group :development do
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
#gem 'web-console', '>= 3.3.0'
gem 'better_errors'
gem 'binding_of_caller'
gem 'listen', '>= 3.0.5', '< 3.2'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'rubocop', require: false
gem 'solargraph'
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
gem "better_errors"
gem "binding_of_caller"
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

ruby "2.5.0"

0 comments on commit b9ed545

Please sign in to comment.