export_data 0.1.0 → 0.2.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f01d2609e9edb7ea19da8662ce32a0ee180a2b426bc908d9f0da68f3d7fc4dca
|
4
|
+
data.tar.gz: 44df34f8a9e2174b5e6cbf4baaefb26184862b3bf70e733877989d519ba3f4f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c535faef54e9a40f90c73ebdf1ecdb2b6c01e19f44d64208f720e0f5be1a6ab7e0c69d2a20637804ac9e8cc8f05cb7394b899f0edbe0d628c64f59c7967e1806
|
7
|
+
data.tar.gz: 2309ab163abd2b13d222113cca8ad2523452b455cc453d7a36c720cf51f32b49379090eb4abc6e789f29eed52959e302cca3147d6c8cd31fa94fdd26b148152f
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@ This gem exports model data into different formats, such as CSV. To achieve so,
|
|
5
5
|
## Installation
|
6
6
|
|
7
7
|
```ruby
|
8
|
-
gem '
|
8
|
+
gem 'export_data', '~> 0.1.0'
|
9
9
|
```
|
10
10
|
|
11
11
|
Then, run `bundle install` to install the gem.
|
@@ -15,7 +15,7 @@ Then, run `bundle install` to install the gem.
|
|
15
15
|
To use the DataExport::Exporter class, follow these steps:
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
require '
|
18
|
+
require 'export_data'
|
19
19
|
|
20
20
|
# Prepare data
|
21
21
|
data = [
|
@@ -38,7 +38,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
38
38
|
|
39
39
|
## Contributing
|
40
40
|
|
41
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/ronakabhattrz/
|
41
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/ronakabhattrz/export_data. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/ronakabhattrz/export_data/blob/master/CODE_OF_CONDUCT.md).
|
42
42
|
|
43
43
|
## License
|
44
44
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative "lib/
|
3
|
+
require_relative "lib/export_data/version"
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "export_data"
|
@@ -10,19 +10,19 @@ Gem::Specification.new do |spec|
|
|
10
10
|
|
11
11
|
spec.summary = "A Data Import/Export Gem for Ruby on Rails"
|
12
12
|
spec.description = "Simplify data import and export tasks in Rails applications."
|
13
|
-
spec.homepage = "https://github.com/ronakabhattrz/
|
13
|
+
spec.homepage = "https://github.com/ronakabhattrz/export_data"
|
14
14
|
spec.license = "MIT"
|
15
15
|
spec.required_ruby_version = ">= 2.6.0"
|
16
16
|
|
17
17
|
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
18
18
|
|
19
19
|
spec.metadata["homepage_uri"] = spec.homepage
|
20
|
-
spec.metadata["source_code_uri"] = "https://github.com/ronakabhattrz/
|
21
|
-
spec.metadata["changelog_uri"] = "https://github.com/ronakabhattrz/
|
20
|
+
spec.metadata["source_code_uri"] = "https://github.com/ronakabhattrz/export_data"
|
21
|
+
spec.metadata["changelog_uri"] = "https://github.com/ronakabhattrz/export_data/blob/main/CHANGELOG.md"
|
22
22
|
|
23
23
|
# Specify which files should be added to the gem when it is released.
|
24
24
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
25
|
-
spec.files = %w[.rspec .rubocop.yml CHANGELOG.md CODE_OF_CONDUCT.md LICENSE.txt README.md Rakefile
|
25
|
+
spec.files = %w[.rspec .rubocop.yml CHANGELOG.md CODE_OF_CONDUCT.md LICENSE.txt README.md Rakefile export_data.gemspec lib/export_data.rb lib/export_data/version.rb sig/export_data.rbs]
|
26
26
|
spec.bindir = "exe"
|
27
27
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
28
28
|
spec.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: export_data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RONAK BHATT
|
@@ -24,18 +24,18 @@ files:
|
|
24
24
|
- LICENSE.txt
|
25
25
|
- README.md
|
26
26
|
- Rakefile
|
27
|
-
-
|
28
|
-
- lib/
|
29
|
-
- lib/
|
30
|
-
- sig/
|
31
|
-
homepage: https://github.com/ronakabhattrz/
|
27
|
+
- export_data.gemspec
|
28
|
+
- lib/export_data.rb
|
29
|
+
- lib/export_data/version.rb
|
30
|
+
- sig/export_data.rbs
|
31
|
+
homepage: https://github.com/ronakabhattrz/export_data
|
32
32
|
licenses:
|
33
33
|
- MIT
|
34
34
|
metadata:
|
35
35
|
allowed_push_host: https://rubygems.org
|
36
|
-
homepage_uri: https://github.com/ronakabhattrz/
|
37
|
-
source_code_uri: https://github.com/ronakabhattrz/
|
38
|
-
changelog_uri: https://github.com/ronakabhattrz/
|
36
|
+
homepage_uri: https://github.com/ronakabhattrz/export_data
|
37
|
+
source_code_uri: https://github.com/ronakabhattrz/export_data
|
38
|
+
changelog_uri: https://github.com/ronakabhattrz/export_data/blob/main/CHANGELOG.md
|
39
39
|
post_install_message:
|
40
40
|
rdoc_options: []
|
41
41
|
require_paths:
|
File without changes
|