rom-rails 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +8 -0
- data/CONTRIBUTING.md +29 -0
- data/lib/rom/rails/railtie.rb +1 -1
- data/lib/rom/rails/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fc367b93c03bff59169c5950ad7625b02a67a4a1
|
4
|
+
data.tar.gz: a71b5b357bee8e8e52f2eefb6479509f2e4182db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f33b1479ca0e501244d7d3ccc76b6859af0739e8ed3bc2fb60faee8a7a71cbfc1863c9e43ad7a36a56fb1096c9f6944fe851306b8d9ee240acb833148d9a7255
|
7
|
+
data.tar.gz: c66dee4d8b7538755269aa2689cf2d008bc7cb048967a71f55752b5c3883b72153a8c3d41b5e77cbad4fd91fed6b0d2434bd05ef7ee2e7ac373c2d73e54b3830
|
data/CHANGELOG.md
CHANGED
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 [discourse.rom-rb.org](https://discourse.rom-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 [discourse.rom-rb.org](http://discourse.rom-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/rom-rb/rom-rb.org](https://github.com/rom-rb/rom-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 [discourse.rom-rb.org](https://discourse.rom-rb.org).
|
data/lib/rom/rails/railtie.rb
CHANGED
@@ -84,7 +84,7 @@ module ROM
|
|
84
84
|
config.rom.gateways[:default] ||= infer_default_gateway if active_record?
|
85
85
|
|
86
86
|
if config.rom.gateways.empty?
|
87
|
-
Rails.logger.warn "It seems that you have not configured any gateways"
|
87
|
+
::Rails.logger.warn "It seems that you have not configured any gateways"
|
88
88
|
|
89
89
|
config.rom.gateways[:default] = [ :memory, "memory://test" ]
|
90
90
|
end
|
data/lib/rom/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rom-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rom
|
@@ -154,6 +154,7 @@ files:
|
|
154
154
|
- ".rubocop.yml"
|
155
155
|
- ".travis.yml"
|
156
156
|
- CHANGELOG.md
|
157
|
+
- CONTRIBUTING.md
|
157
158
|
- Gemfile
|
158
159
|
- LICENSE
|
159
160
|
- README.md
|
@@ -276,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
276
277
|
version: '0'
|
277
278
|
requirements: []
|
278
279
|
rubyforge_project:
|
279
|
-
rubygems_version: 2.
|
280
|
+
rubygems_version: 2.6.13
|
280
281
|
signing_key:
|
281
282
|
specification_version: 4
|
282
283
|
summary: Integrate Ruby Object Mapper with Rails
|