dry-system-rails 0.0.2 → 0.1.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
- SHA1:
3
- metadata.gz: 7ce6cf373baf2d9b26197f0f1bf463c955104e6c
4
- data.tar.gz: a2445418d71b4c62b7ab6fc5200fe83bc8d7f0d8
2
+ SHA256:
3
+ metadata.gz: 746486d34b40312cbc2a40f629e30d5c570042e6b5630ae93681928e18b9126c
4
+ data.tar.gz: dc657dbe569a28e509dd5cca5618673edc8e6377565b674b67797ceb659041f6
5
5
  SHA512:
6
- metadata.gz: 60f714a3d7fa60b6617d9a956552a95e9eb59a3ecd6850297090ed5953a3b809cd2bb016fb5c37b4da9914c0a7ebcc9e34463b1b77a16c288fc3e3d720c2b0dd
7
- data.tar.gz: a0d025871d900dd3a1601fef49d74ca81e85c94abe08bc97d5acc5999e63477c26f7354b804b6bfce5490a0186c097ba9c7dc85b8bfaad9fe8764ede43238e92
6
+ metadata.gz: 6c373f00f28132e84e3a5c1419588e98cb12884d44fdabff2640b94e67279eb68c746d9469517277b4101471b0f9e39f1348f5b71800fcafb2f1a75157c260f6
7
+ data.tar.gz: 576cdd865136d905943c2806b89a9d398109a6a945a0dd096fbe023cc47b324d0136874c743a563b7b2d4ee87c3b89289756a283e9646781d8dcab78fa2bb6f6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # v0.1.0 2018-01-05
2
+
3
+ ### Changed
4
+
5
+ * Upgraded to `dry-system` `v0.10.1`
6
+
1
7
  # v0.0.2 2016-08-23
2
8
 
3
9
  ### Fixed
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,29 @@
1
+ # Issue Guidelines
2
+
3
+ ## Reporting bugs
4
+
5
+ If you found a bug, report an issue and describe what's the expected behavior versus what actually happens. If the bug causes a crash, attach a full backtrace. If possible, a reproduction script showing the problem is highly appreciated.
6
+
7
+ ## Reporting feature requests
8
+
9
+ Report a feature request **only after discussing it first on [discuss.dry-rb.org](https://discuss.dry-rb.org)** where it was accepted. Please provide a concise description of the feature, don't link to a discussion thread, and instead summarize what was discussed.
10
+
11
+ ## Reporting questions, support requests, ideas, concerns etc.
12
+
13
+ **PLEASE DON'T** - use [discuss.dry-rb.org](http://discuss.dry-rb.org) instead.
14
+
15
+ # Pull Request Guidelines
16
+
17
+ A Pull Request will only be accepted if it addresses a specific issue that was reported previously, or fixes typos, mistakes in documentation etc.
18
+
19
+ Other requirements:
20
+
21
+ 1) Do not open a pull request if you can't provide tests along with it. If you have problems writing tests, ask for help in the related issue.
22
+ 2) Follow the style conventions of the surrounding code. In most cases, this is standard ruby style.
23
+ 3) Add API documentation if it's a new feature
24
+ 4) Update API documentation if it changes an existing feature
25
+ 5) Bonus points for sending a PR to [github.com/dry-rb/dry-rb.org](github.com/dry-rb/dry-rb.org) which updates user documentation and guides
26
+
27
+ # Asking for help
28
+
29
+ If these guidelines aren't helpful, and you're stuck, please post a message on [discuss.dry-rb.org](https://discuss.dry-rb.org).
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
16
  spec.require_paths = ['lib']
17
17
 
18
- spec.add_runtime_dependency 'dry-system', '~> 0.5'
18
+ spec.add_runtime_dependency 'dry-system', '~> 0.10'
19
19
 
20
20
  spec.add_development_dependency 'bundler'
21
21
  spec.add_development_dependency 'rake'
@@ -40,6 +40,9 @@ module Dry
40
40
  end
41
41
 
42
42
  def finalize!
43
+ if app_namespace.const_defined?(:Container)
44
+ app_namespace.send(:remove_const, :Container)
45
+ end
43
46
  app_namespace.const_set(:Container, container)
44
47
  container.config.name = name
45
48
  container.finalize!
@@ -1,7 +1,7 @@
1
1
  module Dry
2
2
  module System
3
3
  module Rails
4
- VERSION = '0.0.2'.freeze
4
+ VERSION = '0.1.0'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -14,8 +14,5 @@ Rails.application.config.action_controller.forgery_protection_origin_check = tru
14
14
  # Previous versions had false.
15
15
  ActiveSupport.to_time_preserves_timezone = true
16
16
 
17
- # Do not halt callback chains when a callback returns false. Previous versions had true.
18
- ActiveSupport.halt_callback_chains_on_return_false = false
19
-
20
17
  # Configure SSL options to enable HSTS with subdomains. Previous versions had false.
21
18
  Rails.application.config.ssl_options = { hsts: { subdomains: true } }
@@ -1,3 +1,3 @@
1
- Dummy::Container.finalize(:persistence) do |container|
1
+ Dummy::Container.boot(:persistence) do |container|
2
2
  container.register('persistence.db', :i_am_db)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-system-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.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-08-23 00:00:00.000000000 Z
11
+ date: 2019-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-system
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.10'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.5'
26
+ version: '0.10'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -77,6 +77,7 @@ files:
77
77
  - ".rspec"
78
78
  - ".travis.yml"
79
79
  - CHANGELOG.md
80
+ - CONTRIBUTING.md
80
81
  - Gemfile
81
82
  - LICENSE
82
83
  - README.md
@@ -136,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
137
  version: '0'
137
138
  requirements: []
138
139
  rubyforge_project:
139
- rubygems_version: 2.5.1
140
+ rubygems_version: 2.7.7
140
141
  signing_key:
141
142
  specification_version: 4
142
143
  summary: Railtie for dry-system