dry-web-roda 0.2.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 098b36c65e1500dcc2bf04bf8cb81e1807069efc
4
- data.tar.gz: b50f09164159286720335cb84c4c8118baea97a2
3
+ metadata.gz: bee54ba0db50bded5765ab75d77a662e268e045c
4
+ data.tar.gz: ee53e3ddee79c71c0cee3fc8aadfea834e92436d
5
5
  SHA512:
6
- metadata.gz: f905a762830e86fd51edbd5ba4fa5c0f3344502c5adf418c239ea7963117d09756253c823698e49cb5521ce4486931dcddb2800a5037ffdcbd7e334faeb45fc5
7
- data.tar.gz: f505162cdf453439c363b167dec3fcf623a9ebf9187d52436666b3b11d883c91d02ef1b507893b617df48a2ec0b6d3bd4788ec48b8aa5c8e639d9d7e818ba3f7
6
+ metadata.gz: d2212a1fdc763eaa73c6c089e3d60657fb2ce628d22377fdc27880485256051e2aad2949cb824750b21f0a7b51507b42c68b9c77f72d5cfd6df106db8eb5e682
7
+ data.tar.gz: 15d2a67b600bfe1759cdcc1b41d19723ff90152922485d6fe402679a63e53f49ff656d4dceed961b9f9ea68039c8c27867a1e4ccf0b124313a5023a76ef5d565
data/CHANGELOG.md CHANGED
@@ -1,4 +1,14 @@
1
- # 0.3.3 / 2016-07-23
1
+ # 0.3.0 - 2016-07-26
2
+
3
+ ### Added
4
+
5
+ - Set a default namespace on sub-app containers generated by the CLI (timriley)
6
+
7
+ ### Changed
8
+
9
+ - Use latest dry-web for latest dry-component injector API (timriley)
10
+
11
+ # 0.2.3 / 2016-07-23
2
12
 
3
13
  ### Changed
4
14
 
data/dry-web-roda.gemspec CHANGED
@@ -13,7 +13,8 @@ Gem::Specification.new do |spec|
13
13
  spec.license = "MIT"
14
14
 
15
15
  spec.files = `git ls-files -z`.split("\x0")
16
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
16
+ spec.bindir = "exe"
17
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
17
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
19
  spec.require_paths = ["lib"]
19
20
 
File without changes
@@ -8,6 +8,7 @@ module <%= config[:camel_cased_app_name] %>
8
8
 
9
9
  configure do |config|
10
10
  config.root = Pathname(__FILE__).join("../..").realpath.dirname.freeze
11
+ config.default_namespace = "<%= config[:underscored_app_name] %>"
11
12
 
12
13
  config.auto_register = %w[
13
14
  lib/<%= config[:underscored_app_name] %>
@@ -1,5 +1,5 @@
1
1
  require_relative "container"
2
2
 
3
3
  module <%= config[:camel_cased_app_name] %>
4
- Import = <%= config[:camel_cased_app_name] %>::Container::Inject
4
+ Import = <%= config[:camel_cased_app_name] %>::Container.injector
5
5
  end
@@ -3,8 +3,8 @@ source "https://rubygems.org"
3
3
  gem "rake"
4
4
 
5
5
  # Web framework
6
- gem "dry-web", "~> 0.3.0"
7
- gem "dry-web-roda", "~> 0.2.1"
6
+ gem "dry-web", ">= 0.4.0"
7
+ gem "dry-web-roda", ">= 0.3.0"
8
8
  gem "puma"
9
9
  gem "rack_csrf"
10
10
  gem "shotgun"
@@ -1,5 +1,5 @@
1
1
  require_relative "container"
2
2
 
3
3
  module <%= config[:camel_cased_app_name] %>
4
- Import = <%= config[:camel_cased_app_name] %>::Container::Inject
4
+ Import = <%= config[:camel_cased_app_name] %>::Container.injector
5
5
  end
@@ -1,7 +1,7 @@
1
1
  module Dry
2
2
  module Web
3
3
  module Roda
4
- VERSION = "0.2.3".freeze
4
+ VERSION = "0.3.0".freeze
5
5
  end
6
6
  end
7
7
  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.2.3
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-23 00:00:00.000000000 Z
11
+ date: 2016-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable
@@ -152,8 +152,8 @@ files:
152
152
  - LICENSE
153
153
  - README.md
154
154
  - Rakefile
155
- - bin/dry-web-roda
156
155
  - dry-web-roda.gemspec
156
+ - exe/dry-web-roda
157
157
  - lib/dry-web-roda.rb
158
158
  - lib/dry/web/roda/application.rb
159
159
  - lib/dry/web/roda/cli.rb