Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
521bcef
[developent]: Add info about bower
paulopatto Aug 26, 2016
720bea7
[sidekiq]: Add gem sidekiq
paulopatto Aug 26, 2016
b4b35c8
[sidekiq]: Change readme to add sidekiq run
paulopatto Aug 26, 2016
ba15de1
[sidekiq]: Change process sales to use sidekiq
paulopatto Aug 26, 2016
8f0e1fd
[sidekiq]: add sidekiq test support
paulopatto Aug 27, 2016
ae81341
[sidekiq]: WIP: creating test controllers
paulopatto Aug 27, 2016
9a6be07
[sidekiq]: Little views changes
paulopatto Aug 27, 2016
4329c46
[sidekiq]: Tests with capybara and change BG Job.
paulopatto Aug 28, 2016
e6c4929
[state_machine]: Add gem state_machine with AR
paulopatto Aug 28, 2016
a755a5c
[state_machine]: Use state machine to manage sales batch workflow.
paulopatto Aug 28, 2016
54225ec
[development]: Update a readme
paulopatto Aug 28, 2016
2caa105
[react]: Install react on project
paulopatto Aug 26, 2016
8c0510d
[react]: Add navbar
paulopatto Aug 26, 2016
d4e1a43
[react]: Layout changes
paulopatto Aug 28, 2016
b75a66e
[react]: Remove turbo-links reference
paulopatto Aug 29, 2016
b8df696
[react]: Create new React components
paulopatto Aug 29, 2016
ee11d22
[react]: HACK: Add method to serialization
paulopatto Aug 29, 2016
7bdd09b
[react]: Using react componetes on sales_batches#index.
paulopatto Aug 29, 2016
724c5ce
Bumps versions and update project
paulopatto Sep 3, 2017
5724a01
Update dependency manager with npm
paulopatto Sep 3, 2017
7894e95
Bump gem versions
paulopatto Sep 3, 2017
bcc5c09
Add yarn
paulopatto Sep 3, 2017
5495ee4
Add babel
paulopatto Sep 3, 2017
a5ed32c
Webpacker files
paulopatto Sep 3, 2017
17c3084
update ignore files
paulopatto Sep 3, 2017
255f8a1
WIP: Stated config docker
paulopatto Sep 3, 2017
428e2bb
update compose
paulopatto Sep 3, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"presets": [
[
"env",
{
"modules": false,
"targets": {
"browsers": "> 1%",
"uglify": true
},
"useBuiltIns": true
}
],
"react"
],
"plugins": [
"syntax-dynamic-import",
"transform-object-rest-spread",
[
"transform-class-properties",
{
"spec": true
}
]
]
}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@
vendor/assets/components/
public/uploads/
config/database.yml
package-lock.json
node_modules/
/public/packs
/public/packs-test
/node_modules
yarn.lock
3 changes: 3 additions & 0 deletions .postcssrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
plugins:
postcss-smart-import: {}
postcss-cssnext: {}
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.3
2.4.1
20 changes: 15 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
source 'https://rubygems.org'


# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.7'
gem 'rails', '4.2.9'

# Use sqlite3 as the database for Active Record
gem 'sqlite3'
Expand All @@ -16,23 +15,34 @@ gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc

# Webpacker
gem 'webpacker', git: 'https://github.com/rails/webpacker.git'

gem 'react-rails'
gem 'carrierwave'
gem 'sidekiq'
gem 'state_machines-activerecord'

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'pry-rails'
gem 'pry-nav'
gem 'annotate'
gem 'puma'
end

group :development do
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
# Spring speeds up development by keeping your application running in the background.
# Read more: https://github.com/rails/spring
gem 'spring'
end

group :test do
gem 'rspec-rails'
gem 'factory_girl_rails'
gem 'shoulda-matchers'
gem 'rspec-sidekiq'
gem 'capybara'
gem 'poltergeist'
end

gem 'react-rails'
gem 'carrierwave'
Loading