dry-data-rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +6 -19
- data/lib/dry/data/rails/railtie.rb +3 -1
- data/lib/dry/data/rails/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a26b3d3369ce37b61a1f6ec3310c3f3ba6f5be78
|
4
|
+
data.tar.gz: 03493549004655d24807ee57880ec6077f7733e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a8447b1f0688a52174a5f455b3dc113fe42c460e4ef6ea80ff1b9268eb044bfd89e74f7bb4780c2d40d85bc683e39904d8a88030047b648a0b85d4c01624bdb
|
7
|
+
data.tar.gz: 603bfa1509446ba827b3487b2299f4d2bbca07d9635992ee9d1c7c0b447aa8ec92d159489ee9bc88e2a493a2decda3f01c8fbed199f5523f301bcbfa60573209
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
# Dry::Data::Rails
|
2
2
|
|
3
|
-
|
3
|
+
Really simple gem that will help you work with the [`dry-data`](https://github.com/dryrb/dry-data) gem in development.
|
4
4
|
|
5
|
-
|
5
|
+
## Raison d'être
|
6
|
+
|
7
|
+
Rails reloads code quite often in development, this broke the usage of `Dry::Data` since it would register the same types multiple times and raise exceptions.
|
6
8
|
|
7
9
|
## Installation
|
8
10
|
|
@@ -12,28 +14,13 @@ Add this line to your application's Gemfile:
|
|
12
14
|
gem 'dry-data-rails'
|
13
15
|
```
|
14
16
|
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install dry-data-rails
|
22
|
-
|
23
17
|
## Usage
|
24
18
|
|
25
|
-
|
26
|
-
|
27
|
-
## Development
|
28
|
-
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
-
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
19
|
+
Nothing to do, this is using `Rails::Railtie`, which means it gets loaded automatically.
|
32
20
|
|
33
21
|
## Contributing
|
34
22
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
36
|
-
|
23
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/jeromegn/dry-data-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
37
24
|
|
38
25
|
## License
|
39
26
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-data-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jerome Gravel-Niquet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -132,9 +132,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
version: '0'
|
133
133
|
requirements: []
|
134
134
|
rubyforge_project:
|
135
|
-
rubygems_version: 2.5.
|
135
|
+
rubygems_version: 2.4.5.1
|
136
136
|
signing_key:
|
137
137
|
specification_version: 4
|
138
138
|
summary: Simplifies dry-data usage with Rails.
|
139
139
|
test_files: []
|
140
|
-
has_rdoc:
|