sammyhenningsson / shaf Goto Github PK
View Code? Open in Web Editor NEWA framework for creating hypermedia driven APIs in Sinatra
A framework for creating hypermedia driven APIs in Sinatra
VERBOSE=1 be shaf upgrade
Applying changes for version 0.6.0
Applying changes for version 1.0.0
patching file Rakefile
patching file config/initializers/db_migrations.rb
Hunk #1 FAILED at 2.
patch: **** malformed patch at line 44:
Failed to apply patch for: config/initializers/db_migrations.rb
patching file config/initializers/sequel.rb
patching file config/initializers/logging.rb
patching file config/helpers.rb
patching file config/directories.rb
patching file config/database.rb
Hunk #2 FAILED at 16.
1 out of 2 hunks FAILED -- saving rejects to file config/database.rb.rej
Failed to apply patch for: config/database.rb
patching file config/bootstrap.rb
Hunk #1 succeeded at 1 with fuzz 1.
patching file api/controllers/base_controller.rb
patching file api/serializers/error_serializer.rb
patching file api/serializers/form_serializer.rb
patch: **** malformed patch at line 47: end
Failed to apply patch for: api/serializers/form_serializer.rb
patching file config.ru
removing file: config/constants.rb
adding file: api/serializers/validation_error_serializer.rb
adding file: config/paths.rb
Applying changes for version 1.0.4
patching file api/controllers/base_controller.rb
Applying changes for version 1.1.0
Applying changes for version 1.1.1
patching file config/initializers/hal_presenter.rb
Hunk #1 succeeded at 1 with fuzz 1.
patching file config/bootstrap.rb.orig
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file config/bootstrap.rb.orig.rej
Failed to apply patch for: config/bootstrap.rb.orig
patching file config/bootstrap.rb
Project is up-to-date! Shaf version: 1.1.1
Upgrading Shaf version to 1.0.0 corrupts the config file and result in commands like shaf server
and shaf console
exit with a hard to understand failure.
The reason for this is that the key for the default settings(default: &default
) is removed from the settings yaml file (config/settings.yml
)
This can be fixed by adding that line back to the config file. The config should look similar to this:
> head config/settings.yml
---
default: &default
port: 3000
public_folder: frontend/assets
views_folder: frontend/views
documents_dir: doc/api
migrations_dir: db/migrations
fixtures_dir: spec/fixtures
paginate_per_page: 25
http_cache: on
All migrations, except scaffold, are broken. Nothing is generated and the output shows wrong number of arguments (given 1, expected 0)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.