dry-web 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile +1 -10
- data/README.md +0 -3
- data/{rodakase.gemspec → dry-web.gemspec} +3 -10
- data/lib/dry-web.rb +0 -4
- data/lib/dry/web/version.rb +1 -1
- data/spec/spec_helper.rb +7 -16
- data/spec/unit/container_spec.rb +52 -0
- metadata +11 -200
- data/lib/dry/web/application.rb +0 -34
- data/lib/dry/web/transaction.rb +0 -19
- data/lib/roda/plugins/flow.rb +0 -71
- data/skeletons/simple/.ruby-version +0 -1
- data/skeletons/simple/Gemfile +0 -11
- data/skeletons/simple/README.md +0 -21
- data/skeletons/simple/Rakefile +0 -4
- data/skeletons/simple/bin/console +0 -6
- data/skeletons/simple/config.ru +0 -3
- data/skeletons/simple/config/application.yml +0 -4
- data/skeletons/simple/core/boot.rb +0 -12
- data/skeletons/simple/core/simple/application.rb +0 -16
- data/skeletons/simple/core/simple/container.rb +0 -11
- data/skeletons/simple/core/simple/import.rb +0 -9
- data/skeletons/simple/lib/entities/user.rb +0 -3
- data/skeletons/simple/log/.gitkeep +0 -0
- data/skeletons/simple/spec/routes/heartbeat_spec.rb +0 -9
- data/skeletons/simple/spec/spec_helper.rb +0 -12
- data/skeletons/simple/spec/unit/user_spec.rb +0 -17
- data/skeletons/simple/spec/web_helper.rb +0 -20
- data/skeletons/simple/web/routes/root.rb +0 -3
- data/spec/dummy/apps/main/core/boot.rb +0 -15
- data/spec/dummy/apps/main/core/main/application.rb +0 -17
- data/spec/dummy/apps/main/core/main/container.rb +0 -16
- data/spec/dummy/apps/main/core/main/import.rb +0 -9
- data/spec/dummy/apps/main/core/main/requests.rb +0 -21
- data/spec/dummy/apps/main/core/main/view.rb +0 -21
- data/spec/dummy/apps/main/lib/main/entities/user.rb +0 -5
- data/spec/dummy/apps/main/lib/main/persistence/repositories/users.rb +0 -16
- data/spec/dummy/apps/main/lib/main/transactions/register_user.rb +0 -19
- data/spec/dummy/apps/main/lib/main/views/users/index.rb +0 -17
- data/spec/dummy/apps/main/log/.gitkeep +0 -0
- data/spec/dummy/apps/main/requests/users.rb +0 -5
- data/spec/dummy/apps/main/web/routes/users.rb +0 -19
- data/spec/dummy/apps/main/web/templates/layouts/app.html.slim +0 -6
- data/spec/dummy/apps/main/web/templates/users/index.html.slim +0 -3
- data/spec/dummy/apps/main/web/templates/users/index/_list.html.slim +0 -3
- data/spec/dummy/apps/main/web/templates/users/index/_list_item.html.slim +0 -1
- data/spec/dummy/bin/console +0 -6
- data/spec/dummy/config.ru +0 -3
- data/spec/dummy/config/application.yml +0 -4
- data/spec/dummy/core/boot.rb +0 -8
- data/spec/dummy/core/dummy/application.rb +0 -7
- data/spec/dummy/core/dummy/container.rb +0 -14
- data/spec/dummy/core/dummy/import.rb +0 -9
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/shared/persistence.rb +0 -12
- data/spec/dummy/shared/persistence/db.rb +0 -9
- data/spec/fixtures/test/core/boot/bar.rb +0 -11
- data/spec/fixtures/test/lib/test/dep.rb +0 -4
- data/spec/fixtures/test/lib/test/foo.rb +0 -5
- data/spec/fixtures/test/lib/test/models.rb +0 -4
- data/spec/fixtures/test/lib/test/models/book.rb +0 -6
- data/spec/fixtures/test/lib/test/models/user.rb +0 -6
- data/spec/integration/application_spec.rb +0 -21
- data/spec/request/users_spec.rb +0 -35
- data/spec/support/helpers.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c2ac79f0779539356bd7a516d6a35b72628770b
|
4
|
+
data.tar.gz: b674f6ce4607fb2e8131f0b215b056aea3bbf301
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cae9a50a5b3679065712c7679abc5371a956590d9e8ba33dcd7e24a18e311c4087dc8431531db648f736a99343a2ca3311052148ae05a7df77ce3a2780d7535
|
7
|
+
data.tar.gz: 74be24c3d7003f2a661bbc706f80992fb775b538610e1cc6b37d564b0549a4678b0f68a923868c2431355aca3fd56dc08d3fc33ed4892af72622ad09d0c80ef8
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# v0.2.0 / 2016-06-12
|
2
|
+
|
3
|
+
### Changed
|
4
|
+
|
5
|
+
- Extracted Roda support into [dry-web-roda](https://github.com/dry-rb/dry-web-roda) (timriley)
|
6
|
+
- Removed `Dry::Web::Transaction::Composer`, which was offering no value above direct calls to `Dry.Transaction` (timriley)
|
7
|
+
- Basic skeleton example removed, since skeletons/app generators will soon be provided elsewhere (timriley)
|
8
|
+
|
1
9
|
# v0.1.0 / 2016-04-21
|
2
10
|
|
3
11
|
### Changed
|
data/Gemfile
CHANGED
@@ -1,19 +1,10 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# Specify your gem's dependencies in rodakase.gemspec
|
4
3
|
gemspec
|
5
4
|
|
6
|
-
gem 'dry-component', github: 'dryrb/dry-component', branch: 'master'
|
7
|
-
|
8
5
|
group :test do
|
9
6
|
gem 'byebug', platform: :mri
|
10
|
-
gem '
|
11
|
-
gem 'slim'
|
12
|
-
gem 'anima', '~> 0.2.0' # >= 0.3.0 requires MRI >= 2.2
|
13
|
-
|
14
|
-
gem 'dry-data'
|
15
|
-
|
16
|
-
gem 'codeclimate-test-reporter', platform: :rbx
|
7
|
+
gem 'codeclimate-test-reporter'
|
17
8
|
end
|
18
9
|
|
19
10
|
group :tools do
|
data/README.md
CHANGED
@@ -15,10 +15,7 @@
|
|
15
15
|
|
16
16
|
dry-web is composed from the following libraries:
|
17
17
|
|
18
|
-
* [roda](http://roda.jeremyevans.net)
|
19
18
|
* [dry-component](https://github.com/dry-rb/dry-component)
|
20
|
-
* [dry-view](https://github.com/dry-rb/dry-view)
|
21
|
-
* [dry-transaction](https://github.com/dry-rb/dry-transaction)
|
22
19
|
|
23
20
|
## LICENSE
|
24
21
|
|
@@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Dry::Web::VERSION
|
9
9
|
spec.authors = ["Piotr Solnica"]
|
10
10
|
spec.email = ["piotr.solnica@gmail.com"]
|
11
|
-
spec.summary = "Lightweight web application stack on top of
|
11
|
+
spec.summary = "Lightweight web application stack on top of dry-component"
|
12
12
|
spec.description = spec.summary
|
13
|
-
spec.homepage = "https://github.com/
|
13
|
+
spec.homepage = "https://github.com/dry-rb/dry-web"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
@@ -18,17 +18,10 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_runtime_dependency "inflecto", "~> 0"
|
22
|
-
spec.add_runtime_dependency "roda", "~> 2.7"
|
23
|
-
spec.add_runtime_dependency "tilt", "~> 2.0"
|
24
21
|
spec.add_runtime_dependency "dry-component", "~> 0"
|
25
|
-
spec.add_runtime_dependency "dry-configurable", "~> 0.1"
|
26
|
-
spec.add_runtime_dependency "dry-equalizer", "~> 0.2"
|
27
|
-
spec.add_runtime_dependency "dry-transaction", "~> 0.5"
|
28
|
-
spec.add_runtime_dependency "dry-view", "~> 0.1"
|
29
22
|
|
30
23
|
spec.add_development_dependency "bundler", "~> 1.7"
|
31
24
|
spec.add_development_dependency "rake", "~> 11.0"
|
32
25
|
spec.add_development_dependency "rspec", "~> 3.4"
|
33
|
-
spec.add_development_dependency "
|
26
|
+
spec.add_development_dependency "simplecov", "~> 0.10.0"
|
34
27
|
end
|
data/lib/dry-web.rb
CHANGED
data/lib/dry/web/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,38 +1,29 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
if RUBY_ENGINE == "rbx"
|
1
|
+
if RUBY_ENGINE == "ruby"
|
4
2
|
require "codeclimate-test-reporter"
|
5
3
|
CodeClimate::TestReporter.start
|
4
|
+
|
5
|
+
require "simplecov"
|
6
|
+
SimpleCov.start do
|
7
|
+
add_filter "/spec/"
|
8
|
+
end
|
6
9
|
end
|
7
10
|
|
8
11
|
begin
|
9
12
|
require 'byebug'
|
10
13
|
rescue LoadError; end
|
11
14
|
|
12
|
-
require 'rack/test'
|
13
|
-
require 'slim'
|
14
|
-
|
15
|
-
ENV['RACK_ENV'] = 'test'
|
16
|
-
|
17
15
|
SPEC_ROOT = Pathname(__FILE__).dirname
|
18
16
|
|
19
17
|
Dir[SPEC_ROOT.join('support/*.rb').to_s].each { |f| require f }
|
20
18
|
Dir[SPEC_ROOT.join('shared/*.rb').to_s].each { |f| require f }
|
21
19
|
|
22
|
-
require
|
20
|
+
require "dry-web"
|
23
21
|
|
24
22
|
module Test; end
|
25
23
|
|
26
24
|
RSpec.configure do |config|
|
27
25
|
config.disable_monkey_patching!
|
28
26
|
|
29
|
-
config.before(:suite) do
|
30
|
-
Dummy::Application.freeze
|
31
|
-
end
|
32
|
-
|
33
|
-
config.include Rack::Test::Methods, type: :request
|
34
|
-
config.include Helpers
|
35
|
-
|
36
27
|
config.before do
|
37
28
|
@test_constants = Test.constants
|
38
29
|
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
RSpec.describe "Dry::Web::Container" do
|
2
|
+
subject(:container) { Dry::Web::Container }
|
3
|
+
|
4
|
+
describe "settings" do
|
5
|
+
# Do some acrobatics to make the container reload a setting from scratch
|
6
|
+
# and apply a new default
|
7
|
+
def reload_setting_for(key)
|
8
|
+
if Dry::Web::Container.instance_variables.include?(:@_config)
|
9
|
+
Dry::Web::Container.remove_instance_variable(:@_config)
|
10
|
+
end
|
11
|
+
|
12
|
+
Dry::Web::Container.instance_variable_get(:@_settings)[key] = nil
|
13
|
+
load "dry/web/container.rb"
|
14
|
+
end
|
15
|
+
|
16
|
+
describe ".config.env" do
|
17
|
+
context "existing RACK_ENV environment variable" do
|
18
|
+
before do
|
19
|
+
@rack_env = ENV["RACK_ENV"]
|
20
|
+
ENV["RACK_ENV"] = "production"
|
21
|
+
|
22
|
+
reload_setting_for :env
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
ENV["RACK_ENV"] = @rack_env
|
27
|
+
end
|
28
|
+
|
29
|
+
it "returns the RACK_ENV" do
|
30
|
+
expect(Dry::Web::Container.config.env).to eq :production
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
context "no RACK_ENV set" do
|
35
|
+
before do
|
36
|
+
@rack_env = ENV["RACK_ENV"]
|
37
|
+
ENV.delete("RACK_ENV")
|
38
|
+
|
39
|
+
reload_setting_for :env
|
40
|
+
end
|
41
|
+
|
42
|
+
after do
|
43
|
+
ENV["RACK_ENV"] = @rack_env
|
44
|
+
end
|
45
|
+
|
46
|
+
it "defaults to development" do
|
47
|
+
expect(Dry::Web::Container.config.env).to eq :development
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
metadata
CHANGED
@@ -1,57 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: inflecto
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: roda
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '2.7'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '2.7'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: tilt
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '2.0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '2.0'
|
55
13
|
- !ruby/object:Gem::Dependency
|
56
14
|
name: dry-component
|
57
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,62 +24,6 @@ dependencies:
|
|
66
24
|
- - "~>"
|
67
25
|
- !ruby/object:Gem::Version
|
68
26
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: dry-configurable
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0.1'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0.1'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: dry-equalizer
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.2'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0.2'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: dry-transaction
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0.5'
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0.5'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: dry-view
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0.1'
|
118
|
-
type: :runtime
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0.1'
|
125
27
|
- !ruby/object:Gem::Dependency
|
126
28
|
name: bundler
|
127
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -165,20 +67,20 @@ dependencies:
|
|
165
67
|
- !ruby/object:Gem::Version
|
166
68
|
version: '3.4'
|
167
69
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
70
|
+
name: simplecov
|
169
71
|
requirement: !ruby/object:Gem::Requirement
|
170
72
|
requirements:
|
171
73
|
- - "~>"
|
172
74
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
75
|
+
version: 0.10.0
|
174
76
|
type: :development
|
175
77
|
prerelease: false
|
176
78
|
version_requirements: !ruby/object:Gem::Requirement
|
177
79
|
requirements:
|
178
80
|
- - "~>"
|
179
81
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
181
|
-
description: Lightweight web application stack on top of
|
82
|
+
version: 0.10.0
|
83
|
+
description: Lightweight web application stack on top of dry-component
|
182
84
|
email:
|
183
85
|
- piotr.solnica@gmail.com
|
184
86
|
executables: []
|
@@ -195,70 +97,14 @@ files:
|
|
195
97
|
- LICENSE.txt
|
196
98
|
- README.md
|
197
99
|
- Rakefile
|
100
|
+
- dry-web.gemspec
|
198
101
|
- lib/dry-web.rb
|
199
|
-
- lib/dry/web/application.rb
|
200
102
|
- lib/dry/web/cli.rb
|
201
103
|
- lib/dry/web/container.rb
|
202
|
-
- lib/dry/web/transaction.rb
|
203
104
|
- lib/dry/web/version.rb
|
204
|
-
- lib/roda/plugins/flow.rb
|
205
|
-
- rodakase.gemspec
|
206
|
-
- skeletons/simple/.ruby-version
|
207
|
-
- skeletons/simple/Gemfile
|
208
|
-
- skeletons/simple/README.md
|
209
|
-
- skeletons/simple/Rakefile
|
210
|
-
- skeletons/simple/bin/console
|
211
|
-
- skeletons/simple/config.ru
|
212
|
-
- skeletons/simple/config/application.yml
|
213
|
-
- skeletons/simple/core/boot.rb
|
214
|
-
- skeletons/simple/core/simple/application.rb
|
215
|
-
- skeletons/simple/core/simple/container.rb
|
216
|
-
- skeletons/simple/core/simple/import.rb
|
217
|
-
- skeletons/simple/lib/entities/user.rb
|
218
|
-
- skeletons/simple/log/.gitkeep
|
219
|
-
- skeletons/simple/spec/routes/heartbeat_spec.rb
|
220
|
-
- skeletons/simple/spec/spec_helper.rb
|
221
|
-
- skeletons/simple/spec/unit/user_spec.rb
|
222
|
-
- skeletons/simple/spec/web_helper.rb
|
223
|
-
- skeletons/simple/web/routes/root.rb
|
224
|
-
- spec/dummy/apps/main/core/boot.rb
|
225
|
-
- spec/dummy/apps/main/core/main/application.rb
|
226
|
-
- spec/dummy/apps/main/core/main/container.rb
|
227
|
-
- spec/dummy/apps/main/core/main/import.rb
|
228
|
-
- spec/dummy/apps/main/core/main/requests.rb
|
229
|
-
- spec/dummy/apps/main/core/main/view.rb
|
230
|
-
- spec/dummy/apps/main/lib/main/entities/user.rb
|
231
|
-
- spec/dummy/apps/main/lib/main/persistence/repositories/users.rb
|
232
|
-
- spec/dummy/apps/main/lib/main/transactions/register_user.rb
|
233
|
-
- spec/dummy/apps/main/lib/main/views/users/index.rb
|
234
|
-
- spec/dummy/apps/main/log/.gitkeep
|
235
|
-
- spec/dummy/apps/main/requests/users.rb
|
236
|
-
- spec/dummy/apps/main/web/routes/users.rb
|
237
|
-
- spec/dummy/apps/main/web/templates/layouts/app.html.slim
|
238
|
-
- spec/dummy/apps/main/web/templates/users/index.html.slim
|
239
|
-
- spec/dummy/apps/main/web/templates/users/index/_list.html.slim
|
240
|
-
- spec/dummy/apps/main/web/templates/users/index/_list_item.html.slim
|
241
|
-
- spec/dummy/bin/console
|
242
|
-
- spec/dummy/config.ru
|
243
|
-
- spec/dummy/config/application.yml
|
244
|
-
- spec/dummy/core/boot.rb
|
245
|
-
- spec/dummy/core/dummy/application.rb
|
246
|
-
- spec/dummy/core/dummy/container.rb
|
247
|
-
- spec/dummy/core/dummy/import.rb
|
248
|
-
- spec/dummy/log/.gitkeep
|
249
|
-
- spec/dummy/shared/persistence.rb
|
250
|
-
- spec/dummy/shared/persistence/db.rb
|
251
|
-
- spec/fixtures/test/core/boot/bar.rb
|
252
|
-
- spec/fixtures/test/lib/test/dep.rb
|
253
|
-
- spec/fixtures/test/lib/test/foo.rb
|
254
|
-
- spec/fixtures/test/lib/test/models.rb
|
255
|
-
- spec/fixtures/test/lib/test/models/book.rb
|
256
|
-
- spec/fixtures/test/lib/test/models/user.rb
|
257
|
-
- spec/integration/application_spec.rb
|
258
|
-
- spec/request/users_spec.rb
|
259
105
|
- spec/spec_helper.rb
|
260
|
-
- spec/
|
261
|
-
homepage: https://github.com/
|
106
|
+
- spec/unit/container_spec.rb
|
107
|
+
homepage: https://github.com/dry-rb/dry-web
|
262
108
|
licenses:
|
263
109
|
- MIT
|
264
110
|
metadata: {}
|
@@ -281,42 +127,7 @@ rubyforge_project:
|
|
281
127
|
rubygems_version: 2.5.1
|
282
128
|
signing_key:
|
283
129
|
specification_version: 4
|
284
|
-
summary: Lightweight web application stack on top of
|
130
|
+
summary: Lightweight web application stack on top of dry-component
|
285
131
|
test_files:
|
286
|
-
- spec/dummy/apps/main/core/boot.rb
|
287
|
-
- spec/dummy/apps/main/core/main/application.rb
|
288
|
-
- spec/dummy/apps/main/core/main/container.rb
|
289
|
-
- spec/dummy/apps/main/core/main/import.rb
|
290
|
-
- spec/dummy/apps/main/core/main/requests.rb
|
291
|
-
- spec/dummy/apps/main/core/main/view.rb
|
292
|
-
- spec/dummy/apps/main/lib/main/entities/user.rb
|
293
|
-
- spec/dummy/apps/main/lib/main/persistence/repositories/users.rb
|
294
|
-
- spec/dummy/apps/main/lib/main/transactions/register_user.rb
|
295
|
-
- spec/dummy/apps/main/lib/main/views/users/index.rb
|
296
|
-
- spec/dummy/apps/main/log/.gitkeep
|
297
|
-
- spec/dummy/apps/main/requests/users.rb
|
298
|
-
- spec/dummy/apps/main/web/routes/users.rb
|
299
|
-
- spec/dummy/apps/main/web/templates/layouts/app.html.slim
|
300
|
-
- spec/dummy/apps/main/web/templates/users/index.html.slim
|
301
|
-
- spec/dummy/apps/main/web/templates/users/index/_list.html.slim
|
302
|
-
- spec/dummy/apps/main/web/templates/users/index/_list_item.html.slim
|
303
|
-
- spec/dummy/bin/console
|
304
|
-
- spec/dummy/config.ru
|
305
|
-
- spec/dummy/config/application.yml
|
306
|
-
- spec/dummy/core/boot.rb
|
307
|
-
- spec/dummy/core/dummy/application.rb
|
308
|
-
- spec/dummy/core/dummy/container.rb
|
309
|
-
- spec/dummy/core/dummy/import.rb
|
310
|
-
- spec/dummy/log/.gitkeep
|
311
|
-
- spec/dummy/shared/persistence.rb
|
312
|
-
- spec/dummy/shared/persistence/db.rb
|
313
|
-
- spec/fixtures/test/core/boot/bar.rb
|
314
|
-
- spec/fixtures/test/lib/test/dep.rb
|
315
|
-
- spec/fixtures/test/lib/test/foo.rb
|
316
|
-
- spec/fixtures/test/lib/test/models.rb
|
317
|
-
- spec/fixtures/test/lib/test/models/book.rb
|
318
|
-
- spec/fixtures/test/lib/test/models/user.rb
|
319
|
-
- spec/integration/application_spec.rb
|
320
|
-
- spec/request/users_spec.rb
|
321
132
|
- spec/spec_helper.rb
|
322
|
-
- spec/
|
133
|
+
- spec/unit/container_spec.rb
|