dry-web-roda 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fc46a65dfa04cb363b12881a1aa4b06d6f3b625e37d2fffa321cbc509fdf21d
4
- data.tar.gz: d73e40bfad08b852089ee285c6cfde4a31239154e6a6f2b6b4804cc560ef3d78
3
+ metadata.gz: c6be6ea6b8d9623e8af79c8f0592ba036523bff362e5d0ab278f273949d38654
4
+ data.tar.gz: d02c91f5ce75cb4c8737540d0d6433ad41db9719081a9772920a3f2b8fc0e167
5
5
  SHA512:
6
- metadata.gz: 9ecd9436c20bdfb781ea80a7a7b8a7907ba8e8ecc534b54a3a0aa4c5113e906bbefad3cd1090bb3a6da4e77ff79066da82abd7aa1d78601b9eecc4f36ac9c49d
7
- data.tar.gz: 12d9c4bdeea04d84379d20dace4a41f3d6b14cd22bafef1381a25259b32f340b9481fe5ed55fb5a473707ac33bad44ce3cc86df6be69440d855752c2dcfc7b4b
6
+ metadata.gz: 143aed614b62127210c9338d97adfc5cb96aea5e6eaae4117f05bf9c58a096ac4c65530527643a888237b594c2e40a35854f9264f40716d3107d27050589b46e
7
+ data.tar.gz: b68d11fd027f77f61e041d598a65fbf5852ed48ec18c425255a3d51de9c4bfe177cf5332edbff766b8dc1802df5c4572128a3f878209d999684386bc9aa95cba
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 0.11.0 - 2018-02-21
2
+
3
+ ### Changed
4
+
5
+ - Use Roda 3.0 and compatible version of roda-flow (GustavoCaso & alejandrobabio)
6
+
7
+ [Compare v0.10.0...v0.11.0](https://github.com/dry-rb/dry-web-roda/compare/v0.10.0...v0.11.0)
8
+
1
9
  # 0.10.0 - 2018-02-13
2
10
 
3
11
  ### Changed
data/dry-web-roda.gemspec CHANGED
@@ -22,8 +22,8 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_runtime_dependency "dry-configurable", "~> 0.2"
24
24
  spec.add_runtime_dependency "inflecto", "~> 0.0"
25
- spec.add_runtime_dependency "roda", "~> 2.14"
26
- spec.add_runtime_dependency "roda-flow", "~> 0.3.1"
25
+ spec.add_runtime_dependency "roda", "~> 3.0"
26
+ spec.add_runtime_dependency "roda-flow", "~> 0.4"
27
27
  spec.add_runtime_dependency "thor", "~> 0.19"
28
28
 
29
29
  spec.add_development_dependency "aruba"
@@ -5,7 +5,7 @@ gem "rake"
5
5
  # Web framework
6
6
  gem "dry-system", "~> 0.9"
7
7
  gem "dry-web", "~> 0.7"
8
- gem "dry-web-roda", "~> 0.7"
8
+ gem "dry-web-roda", "~> 0.11"
9
9
  gem "puma"
10
10
  gem "rack_csrf"
11
11
 
@@ -6,7 +6,8 @@ Welcome! You’ve generated an app using dry-web-roda.
6
6
 
7
7
  1. Run `bundle`
8
8
  2. Review `.env` & `.env.test` (and make a copy to e.g. `.example.env` if you want example settings checked in)
9
- 3. Run `bundle exec rake db:create`
10
- 4. Add your own steps to `bin/setup`
11
- 5. Run the app with `bundle exec rerun -- rackup --port 4000 config.ru`
12
- 6. Initialize git with `git init` and make your initial commit
9
+ 3. Run `bundle exec rake db:create` to create the development database.
10
+ 4. Run `RACK_ENV=test bundle exec rake db:create` to create the test database.
11
+ 5. Add your own steps to `bin/setup`
12
+ 6. Run the app with `bundle exec rerun -- rackup --port 4000 config.ru`
13
+ 7. Initialize git with `git init` and make your initial commit
@@ -1,3 +1,5 @@
1
+ require "bundler/setup"
2
+
1
3
  begin
2
4
  require "pry-byebug"
3
5
  rescue LoadError
@@ -1,3 +1,5 @@
1
+ require "bundler/setup"
2
+
1
3
  begin
2
4
  require "pry-byebug"
3
5
  rescue LoadError
@@ -1,7 +1,7 @@
1
1
  module Dry
2
2
  module Web
3
3
  module Roda
4
- VERSION = "0.10.0".freeze
4
+ VERSION = "0.11.0".freeze
5
5
  end
6
6
  end
7
7
  end
@@ -22,7 +22,7 @@ class Roda
22
22
  module RequestMethods
23
23
  def view(name, options = {})
24
24
  options = {context: scope.view_context}.merge(options)
25
- is to: scope.view_key(name), call_with: [options]
25
+ on to: scope.view_key(name), call_with: [options]
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-web-roda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-12 00:00:00.000000000 Z
11
+ date: 2018-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.14'
47
+ version: '3.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '2.14'
54
+ version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: roda-flow
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.3.1
61
+ version: '0.4'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.3.1
68
+ version: '0.4'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: thor
71
71
  requirement: !ruby/object:Gem::Requirement