export_manager 0.1.1 → 0.1.2

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: 58ce4d82284296f0a5eb94bcfe2292be7fc954e23ecce55198692fd353f95bc0
4
- data.tar.gz: 1994b72616f21d174a801f88d3ea3c8d9e0f3ce6fa1b4028a5c342f1761017fc
3
+ metadata.gz: 40d5fdb8ff5853f69a8ab218b81011f6e4b46ed8372f34a26b4f7ccc4a721d47
4
+ data.tar.gz: aefe59c79746d380c20d87c1a694baa2d2704cb668465747d0f23f9c6116f5b5
5
5
  SHA512:
6
- metadata.gz: 412b576a42d26daf338ee8a82bccb42188f958be822fd34e1cf4262b8e1733ae4eaa173813b837d2fee67a8888b3d29f96b6057e8fabd15ccb2954cfca1d9190
7
- data.tar.gz: 2c50436235c21854f58ee5dc324d28f0a0f189d96cdc3dd2875d7176cb261d249c6dd69397cd4147fe2919843ad2ced2e1aa49c6551234e51820d92b8f135b3f
6
+ metadata.gz: f29cccdc68a4646cf7eb404db7ccb81993ff4f9f6e21abbcbbd51a5a9e4316f78da1fbb93f3e38a0169a86e24522198c0f7cb2b3dc84ac1924519646ab2fb9c8
7
+ data.tar.gz: 60014ead662d2e7e60ce964140600b691b288e0a52422c3c309a5bc95ff7b4d27d333b1326237db222c5dba49c92d0e9884f77558f6c935eddf88a94db2b844f
data/README.md CHANGED
@@ -1,25 +1,32 @@
1
1
  # ExportManager
2
- ExportManager handles the dynamic export of table data to CSV, JSON, EXCEL and XML format.
2
+ The ExportManager handles the dynamic export of table data to CSV, JSON, Excel, and XML formats.
3
3
 
4
4
  ## Usage
5
- The ExportManager allows users to export data from dynamic tables with dynamic columns. The system provides flexibility in choosing the data to be exported and generates a CSV, JSON, EXCEL and XML file accordingly.
5
+ The ExportManager allows users to export data from dynamic tables with dynamic columns. The system provides flexibility in selecting the data to be exported and generates a **CSV, JSON, Excel, or XML** file accordingly.
6
+
7
+ ## Demo
8
+ [Screencast from 27-12-24 04:09:24 PM IST.webm](https://github.com/user-attachments/assets/17d245c3-5234-4171-b349-6cc1a74ea847)
6
9
 
7
10
  ## Quick Start
8
11
  ```ruby
9
- 1) gem "export_manager"
12
+ 1) Add the following gems to your Gemfile
13
+ gem "export_manager"
10
14
  gem "caxlsx"
11
15
  gem "caxlsx_rails"
12
- 2) Add on config/routes.rb -> mount ExportManager::Engine, at: '/'
13
- 3) Add manifest.js
14
- //= link export_manager/application.css
15
- //= link export_manager/application.js
16
- 4) rails assets:precompile (on console)
16
+ 2) In config/routes.rb, add
17
+ mount ExportManager::Engine, at: '/'
18
+
19
+ 3) Add the following lines to manifest.js
20
+ //= link export_manager/application.css
21
+ //= link export_manager/application.js
22
+
23
+ 4) Run rails assets:precompile in the console
17
24
  ```
18
25
 
19
- ## Worked on DATABASE
26
+ ## Database Support
20
27
  ```ruby
21
- 1) postgres
22
- 2) mysql
28
+ 1) PostgreSQL
29
+ 2) MySQL
23
30
  ```
24
31
 
25
32
 
@@ -43,14 +50,14 @@ $ gem install export_manager
43
50
  ```
44
51
 
45
52
 
46
- Remove the table name from the select box. (Note: Please create a global.rb file in the config/initializers/global.rb directory and add the necessary code inside this file.)
53
+ Remove a specific table name from the select box by creating a **global.rb** file in the **config/initializers** directory and adding the following code
47
54
  ```ruby
48
55
  config/initializers/global.rb
49
56
 
50
57
  REMOVE_TABLE_NAME = ['ActiveStorageBlobs'] # remove table
51
58
  ```
52
59
 
53
- Add the custom file name in global.rb
60
+ Add the custom file name in **global.rb**
54
61
  ```ruby
55
62
  config/initializers/global.rb
56
63
 
@@ -60,7 +67,7 @@ JSON_FILE_NAME = "JSON_EXPORT_#{Date.today}.json"
60
67
  XML_FILE_NAME = "XML_EXPORT_#{Date.today}.xml"
61
68
  ```
62
69
 
63
- If an authenticated user has the admin? method returning true, they can access the ExportManager engine at /.
70
+ If an authenticated user has the **admin?** method returning **true**, they can access the ExportManager engine at /.
64
71
  ```ruby
65
72
  authenticated :user, ->(user) { user.admin? } do
66
73
  mount ExportManager::Engine, at: '/'
@@ -1,3 +1,3 @@
1
1
  module ExportManager
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: export_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vishal Mahto
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-27 00:00:00.000000000 Z
10
+ date: 2025-01-06 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rails
@@ -25,8 +24,8 @@ dependencies:
25
24
  - !ruby/object:Gem::Version
26
25
  version: '7.0'
27
26
  description: The ExportManager allows users to export data from dynamic tables with
28
- dynamic columns. The system provides flexibility in choosing the data to be exported
29
- and generates a CSV file accordingly.
27
+ dynamic columns. The system provides flexibility in selecting the data to be exported
28
+ and generates a CSV, JSON, Excel, or XML file accordingly.
30
29
  email:
31
30
  - vishalgmahto@proton.me
32
31
  executables: []
@@ -58,10 +57,10 @@ homepage: https://github.com/VishalMahtog/export_manager
58
57
  licenses:
59
58
  - MIT
60
59
  metadata:
60
+ keywords: export, csv, excel, JSON, json, xml, XML, export data, Export, gem, ruby
61
61
  homepage_uri: https://github.com/VishalMahtog/export_manager
62
62
  source_code_uri: https://github.com/VishalMahtog/export_manager
63
63
  changelog_uri: http://mygemserver.com
64
- post_install_message:
65
64
  rdoc_options: []
66
65
  require_paths:
67
66
  - lib
@@ -76,8 +75,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
75
  - !ruby/object:Gem::Version
77
76
  version: '0'
78
77
  requirements: []
79
- rubygems_version: 3.4.10
80
- signing_key:
78
+ rubygems_version: 3.6.2
81
79
  specification_version: 4
82
- summary: ExportManager handles the dynamic export of table data to CSV format.
80
+ summary: ExportManager handles the dynamic export of table data to CSV, JSON, Excel,
81
+ or XML format.
83
82
  test_files: []