data_pact 0.1.0 → 0.1.1

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: d7d5fbe8d5f7764616acdd4a24c9ce62054d9d162c677b7d966582f5b782f8fb
4
- data.tar.gz: 4f624085741aa5e30ca7faa7f584fb57b5b931de07bb5b2b04f50ccdecf3cf2c
3
+ metadata.gz: 3ad22ffefe24c4b6638d94ae5712dd889807284b21bab08daca987a95bfa4044
4
+ data.tar.gz: db37fd0cf41eacb31523c7b89cde4f093b48fc287ca7b6649649102589f17c20
5
5
  SHA512:
6
- metadata.gz: 4798f5347fcdda1ca26a59e76422b140dc516a476acb34173c53f1a906ef3a156375910840c951b67b911ad7dcd3840563cefb261a9791dcf9505f381bbe44a3
7
- data.tar.gz: 4cfd60032ea0bbfa869288a972014b6122670619eb526a33647ec5d28b71f1d4c27642a4d3bae4b479f69a49a60ec49968cc0ffd796ba9804e04fd7734323cf4
6
+ metadata.gz: daf8e31fd23ec361163d9a88d9a0ccb9e96411e661eaa06f8dade8f0c8245628166508a7a71af1ae5f38ed4b214c06d05a9585a755f251d73b21e9548b0c28fa
7
+ data.tar.gz: 46d269af7bd85db352507970e342a536f5da8e5b8719ae91d4751f2b81ccbabd858bbb2b80b8ea0b10c301f861e81d4aab8483016d4f2da224e1a51966127dae
@@ -11,5 +11,8 @@ module DataPact
11
11
  }
12
12
  end
13
13
  end
14
+
15
+ def settings
16
+ end
14
17
  end
15
18
  end
@@ -1,4 +1,9 @@
1
1
  module DataPact
2
2
  module ApplicationHelper
3
+ DAISY_UI_THEMES = %w[dark cupcake bumblebee emerald retro cyberpunk valentine forest aqua pastel fantasy wireframe black luxury cmyk autumn business acid night].freeze
4
+
5
+ def themes_for_select
6
+ DAISY_UI_THEMES.map { |theme| [theme.titleize, theme] }
7
+ end
3
8
  end
4
9
  end
@@ -2,9 +2,12 @@
2
2
  <% @routes.each do |route_data| %>
3
3
  <div class="collapse collapse-arrow bg-base-200">
4
4
  <input type="radio" name="my-accordion-2" checked="checked"/>
5
- <div class="collapse-title text-xl font-medium flex items-center justify-between">
5
+ <div class="collapse-title text-xl font-medium flex items-center">
6
+ <div class="flex items-center gap-6 flex-1">
7
+ <%= tag.div route_data.fetch(:verb), class: 'badge badge-neutral badge-lg' if route_data[:verb].present? %>
8
+ <span><%= route_data[:path]&.sub('(.:format)', '') %></span>
9
+ </div>
6
10
  <span><%= route_data.fetch(:name, :controller_action) %></span>
7
- <span><%= route_data[:path]&.sub('(.:format)', '') %></span>
8
11
  </div>
9
12
  <div class="collapse-content">
10
13
  <p><%= route_data %></p>
@@ -0,0 +1,26 @@
1
+ <div x-data="settings" class="w-2/3">
2
+ <div class="rounded bg-base-100 place-content-center py-4">
3
+ <div class="flex flex-1 items-center justify-between px-6">
4
+ <span class="text-primary-content text-xl font-medium">Theme</span>
5
+
6
+ <select @change="changeTheme($event)" class="select select-bordered w-full max-w-xs text-primary-content">
7
+ <%= options_for_select(themes_for_select) %>
8
+ </select>
9
+ </div>
10
+ </div>
11
+ </div>
12
+
13
+ <script type="text/javascript" charset="utf-8">
14
+ document.addEventListener('alpine:init', () => {
15
+ Alpine.data('settings', () => ({
16
+ init(){
17
+ document.querySelector('option[value="' + localStorage.getItem('theme') + '"]').selected = true
18
+ },
19
+ changeTheme(event) {
20
+ const theme = event.target.value
21
+ document.body.dataset.theme = theme
22
+ localStorage.setItem('theme', theme)
23
+ }
24
+ }))
25
+ })
26
+ </script>
@@ -1,17 +1,8 @@
1
1
  <div x-data class="flex flex-col gap-y-2">
2
- <div class="collapse collapse-arrow bg-base-200">
3
- <input type="radio" name="my-accordion-2" checked="checked"/>
4
- <div class="collapse-title text-xl font-medium flex gap-x-3 items-center">
5
2
 
6
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-square-rounded-plus" width="32" height="32" viewBox="0 0 24 24" stroke-width="1.5" stroke="#2c3e50" fill="none" stroke-linecap="round" stroke-linejoin="round">
7
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
8
- <path d="M9 12h6"/>
9
- <path d="M12 9v6"/>
10
- <path d="M12 3c7.2 0 9 1.8 9 9s-1.8 9 -9 9s-9 -1.8 -9 -9s1.8 -9 9 -9z"/>
11
- </svg>
12
- <span>Set Session data</span>
13
- </div>
14
- <div class="collapse-content">
3
+ <div class="card w-2/3 bg-base-100 shadow-xl">
4
+ <div class="card-body">
5
+ <div class="card-title">Set Session data</div>
15
6
  <%= form_with url: session_data_path, class: 'flex items-center gap-6' do |f| %>
16
7
  <div class="form-control w-full max-w-xs">
17
8
  <label class="label">
@@ -27,9 +18,9 @@
27
18
  <%= f.text_field :session_value, placeholder: 'Enter value', class: 'input input-bordered w-full max-w-xs' %>
28
19
  </div>
29
20
 
30
- <button type="submit" class="mt-8">
21
+ <button type="submit" class="mt-8 ">
31
22
  <div class="form-control w-full max-w-xs">
32
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-square-rounded-plus" width="48" height="48" viewBox="0 0 24 24" stroke-width="1.5" stroke="#2c3e50" fill="none" stroke-linecap="round" stroke-linejoin="round">
23
+ <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-square-rounded-plus hover:stroke-white" width="48" height="48" viewBox="0 0 24 24" stroke-width="1.5" stroke="#2c3e50" fill="none" stroke-linecap="round" stroke-linejoin="round">
33
24
  <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
34
25
  <path d="M9 12h6"/>
35
26
  <path d="M12 9v6"/>
@@ -40,30 +31,30 @@
40
31
  <% end %>
41
32
  </div>
42
33
  </div>
43
- <% @session_data.each do |session_key, value| %>
44
- <div class="collapse collapse-arrow bg-base-200">
45
- <input type="radio" name="my-accordion-2" checked="checked"/>
46
- <div class="collapse-title text-xl font-medium">
47
- <%= session_key %>
48
- </div>
49
- <div class="collapse-content">
50
- <div class="flex items-center justify-between">
51
34
 
52
- <p><%= value %></p>
53
- <div>
54
- <%= button_to session_data_path, method: :delete, params: { session_key_name: session_key } do %>
55
- <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-trash" width="44" height="44" viewBox="0 0 24 24" stroke-width="1.5" stroke="#2c3e50" fill="none" stroke-linecap="round" stroke-linejoin="round">
56
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
57
- <path d="M4 7l16 0"/>
58
- <path d="M10 11l0 6"/>
59
- <path d="M14 11l0 6"/>
60
- <path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"/>
61
- <path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3"/>
62
- </svg>
63
- <% end %>
35
+
36
+ <div class="grid grid-cols-3 gap-4">
37
+ <% @session_data.each do |session_key, value| %>
38
+ <div class="card bg-base-100 shadow-xl">
39
+ <div class="card-body">
40
+ <div class="flex items-center justify-between">
41
+ <h2 class="card-title"><%= session_key %></h2>
42
+ <div class="card-actions justify-end">
43
+ <%= button_to session_data_path, method: :delete, params: { session_key_name: session_key }, class: 'btn btn-square btn-sm' do %>
44
+ <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-trash hover:stroke-white" width="44" height="44" viewBox="0 0 24 24" stroke-width="1.5" stroke="#2c3e50" fill="none" stroke-linecap="round" stroke-linejoin="round">
45
+ <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
46
+ <path d="M4 7l16 0"/>
47
+ <path d="M10 11l0 6"/>
48
+ <path d="M14 11l0 6"/>
49
+ <path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"/>
50
+ <path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3"/>
51
+ </svg>
52
+ <% end %>
53
+ </div>
64
54
  </div>
55
+ <p><%= value %></p>
65
56
  </div>
66
57
  </div>
67
- </div>
68
- <% end %>
58
+ <% end %>
59
+ </div>
69
60
  </div>
@@ -5,16 +5,21 @@
5
5
  <%= csrf_meta_tags %>
6
6
  <%= csp_meta_tag %>
7
7
 
8
-
9
8
  <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.12.3/dist/cdn.min.js"></script>
10
9
 
11
10
  <%#= stylesheet_link_tag "data_pact/application", media: "all" %>
12
11
  <link href="https://cdn.jsdelivr.net/npm/daisyui@3.5.0/dist/full.css" rel="stylesheet" type="text/css"/>
13
12
  <script src="https://cdn.tailwindcss.com"></script>
13
+
14
14
  </head>
15
15
  <body>
16
+ <script type="text/javascript" charset="utf-8">
17
+ (function () {
18
+ document.body.dataset.theme = localStorage.getItem('theme') || 'light';
19
+ })();
20
+ </script>
16
21
 
17
- <div class="h-full w-full">
22
+ <div class="h-screen w-screen">
18
23
  <!-- Code block starts -->
19
24
  <nav role="navigation" class="md:px-6 lg:px-4 w-full mx-auto hidden md:block bg-white dark:bg-gray-800 shadow-md">
20
25
  <div class="container mx-6 justify-between h-20 flex items-center bg-white dark:bg-gray-800 md:items-stretch mx-auto border-b border-gray-200">
@@ -23,12 +28,12 @@
23
28
  <img class="dark:bg-white p-1 rounded-full" src="https://tuk-cdn.s3.amazonaws.com/can-uploader/horizontal-navigation-svg1.svg" alt="logo"/>
24
29
  </button>
25
30
  <ul class="pr-12 md:flex items-center h-full hidden">
26
- <li>
27
- <a href="javascript:void(0)" class="focus:outline-none border-b-2 border-transparent font-medium cursor-pointer h-full flex items-center hover:text-indigo-700 text-sm text-gray-800 dark:text-white tracking-normal ">Requests</a>
28
- </li>
29
- <li>
30
- <a href="javascript:void(0)" class="focus:outline-none border-b-2 border-transparent font-medium cursor-pointer h-full flex items-center hover:text-indigo-700 text-sm text-gray-800 dark:text-white mx-6 tracking-normal">Queries</a>
31
- </li>
31
+ <!-- <li>-->
32
+ <!-- <a href="javascript:void(0)" class="focus:outline-none border-b-2 border-transparent font-medium cursor-pointer h-full flex items-center hover:text-indigo-700 text-sm text-gray-800 dark:text-white tracking-normal ">Requests</a>-->
33
+ <!-- </li>-->
34
+ <!-- <li>-->
35
+ <!-- <a href="javascript:void(0)" class="focus:outline-none border-b-2 border-transparent font-medium cursor-pointer h-full flex items-center hover:text-indigo-700 text-sm text-gray-800 dark:text-white mx-6 tracking-normal">Queries</a>-->
36
+ <!-- </li>-->
32
37
  <li>
33
38
  <a href="<%= session_data_path %>" class="focus:outline-none border-b-2 border-transparent font-medium cursor-pointer h-full flex items-center hover:text-indigo-700 text-sm text-gray-800 dark:text-white mr-6 tracking-normal">Session
34
39
  Data</a>
@@ -37,39 +42,39 @@
37
42
  <a href="/datapact/routes" class="focus:outline-none border-b-2 border-transparent font-medium cursor-pointer h-full flex items-center hover:text-indigo-700 text-sm text-gray-800 dark:text-white mr-6 tracking-normal">Routes</a>
38
43
  </li>
39
44
  <li>
40
- <a href="javascript:void(0)" class="focus:outline-none border-b-2 border-transparent font-medium cursor-pointer h-full flex items-center hover:text-indigo-700 text-sm text-gray-800 dark:text-white mr-6 tracking-normal">Settings</a>
45
+ <a href="<%= settings_path %>" class="focus:outline-none border-b-2 border-transparent font-medium cursor-pointer h-full flex items-center hover:text-indigo-700 text-sm text-gray-800 dark:text-white mr-6 tracking-normal">Settings</a>
41
46
  </li>
42
47
  </ul>
43
48
  </div>
44
- <div class="md:flex items-center justify-end hidden">
45
- <div class="flex items-center">
46
- <div class="md:pr-10 lg:pr-0 h-full flex items-center">
47
- <div class="relative">
48
- <div class="text-gray-600 dark:text-gray-200 absolute ml-3 inset-0 m-auto lg:w-4 lg:h-4 md:w-6 md:h-6">
49
- <img class="text-gray-600 dark:text-gray-200 stroke-current icon icon-tabler icon-tabler-search" src="https://tuk-cdn.s3.amazonaws.com/can-uploader/horizontal-navigation-svg2.svg" alt="search"/>
50
- </div>
51
- <input class="hidden lg:block border border-gray-200 focus:outline-none focus:border-indigo-700 w-64 rounded text-sm text-gray-800 dark:text-white pl-8 py-2" type="text" placeholder="Search here"/>
52
- </div>
53
- </div>
54
- <div class="h-full flex items-center">
55
- <button aria-label="show notifications" class="relative focus:outline-none focus:text-indigo-700 hover:text-indigo-700 focus:border-indigo-700 hover:border-indigo-700 mx-5 h-full flex items-center justify-center text-gray-600 dark:text-gray-200 cursor-pointer">
56
- <svg class="icon icon-tabler icon-tabler-bell" xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
57
- <path stroke="none" d="M0 0h24v24H0z"/>
58
- <path d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6"/>
59
- <path d="M9 17v1a3 3 0 0 0 6 0v-1"/>
60
- </svg>
61
- <div class="absolute top-0 left-4 mt-0 mr-4 pr-1 pt-1">
62
- <div class="animate-ping w-2 h-2 rounded-full bg-blue-400"></div>
63
- </div>
64
- </button>
65
- </div>
66
- <div class="h-full flex items-center">
67
- <button aria-label="dropdown" class="focus:outline-none focus:text-gray-900 text-gray-800 dark:text-white border-b-2 border-transparent focus:border-gray-800 hover:text-gray-900 w-full flex items-center justify-end relative cursor-pointer" onclick="dropdownHandler(this)">
68
- <img class="rounded-full h-10 w-10 object-cover" src="https://i.ibb.co/GTLTzZY/Unsplash-Avatars-0000s-0035-azamat-zhanisov-a5s-RFie-A3-BY-unsplash-1.png" alt="Unsplash-Avatars-0000s-0035-azamat-zhanisov-a5s-RFie-A3-BY-unsplash-1" alt="logo"/>
69
- </button>
70
- </div>
71
- </div>
72
- </div>
49
+ <!-- <div class="md:flex items-center justify-end hidden">-->
50
+ <!-- <div class="flex items-center">-->
51
+ <!-- <div class="md:pr-10 lg:pr-0 h-full flex items-center">-->
52
+ <!-- <div class="relative">-->
53
+ <!-- <div class="text-gray-600 dark:text-gray-200 absolute ml-3 inset-0 m-auto lg:w-4 lg:h-4 md:w-6 md:h-6">-->
54
+ <!-- <img class="text-gray-600 dark:text-gray-200 stroke-current icon icon-tabler icon-tabler-search" src="https://tuk-cdn.s3.amazonaws.com/can-uploader/horizontal-navigation-svg2.svg" alt="search"/>-->
55
+ <!-- </div>-->
56
+ <!-- <input class="hidden lg:block border border-gray-200 focus:outline-none focus:border-indigo-700 w-64 rounded text-sm text-gray-800 dark:text-white pl-8 py-2" type="text" placeholder="Search here"/>-->
57
+ <!-- </div>-->
58
+ <!-- </div>-->
59
+ <!-- <div class="h-full flex items-center">-->
60
+ <!-- <button aria-label="show notifications" class="relative focus:outline-none focus:text-indigo-700 hover:text-indigo-700 focus:border-indigo-700 hover:border-indigo-700 mx-5 h-full flex items-center justify-center text-gray-600 dark:text-gray-200 cursor-pointer">-->
61
+ <!-- <svg class="icon icon-tabler icon-tabler-bell" xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">-->
62
+ <!-- <path stroke="none" d="M0 0h24v24H0z"/>-->
63
+ <!-- <path d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6"/>-->
64
+ <!-- <path d="M9 17v1a3 3 0 0 0 6 0v-1"/>-->
65
+ <!-- </svg>-->
66
+ <!-- <div class="absolute top-0 left-4 mt-0 mr-4 pr-1 pt-1">-->
67
+ <!-- <div class="animate-ping w-2 h-2 rounded-full bg-blue-400"></div>-->
68
+ <!-- </div>-->
69
+ <!-- </button>-->
70
+ <!-- </div>-->
71
+ <!-- <div class="h-full flex items-center">-->
72
+ <!-- <button aria-label="dropdown" class="focus:outline-none focus:text-gray-900 text-gray-800 dark:text-white border-b-2 border-transparent focus:border-gray-800 hover:text-gray-900 w-full flex items-center justify-end relative cursor-pointer" onclick="dropdownHandler(this)">-->
73
+ <!-- <img class="rounded-full h-10 w-10 object-cover" src="https://i.ibb.co/GTLTzZY/Unsplash-Avatars-0000s-0035-azamat-zhanisov-a5s-RFie-A3-BY-unsplash-1.png" alt="Unsplash-Avatars-0000s-0035-azamat-zhanisov-a5s-RFie-A3-BY-unsplash-1" alt="logo"/>-->
74
+ <!-- </button>-->
75
+ <!-- </div>-->
76
+ <!-- </div>-->
77
+ <!-- </div>-->
73
78
  <div class="flex items-center md:hidden">
74
79
  <ul class="p-2 border-r bg-white dark:bg-gray-800 absolute rounded top-0 left-0 right-0 shadow mt-16 md:mt-16 hidden">
75
80
  <li class="flex md:hidden cursor-pointer text-gray-600 dark:text-gray-200 text-sm leading-3 tracking-normal mt-2 py-2 hover:text-indigo-700 focus:text-indigo-700 focus:outline-none">
@@ -227,15 +232,15 @@
227
232
  </div>
228
233
  </div>
229
234
  <ul class="">
230
- <li>
231
- <a class="cursor-pointer">
232
- <div class="text-gray-800 dark:text-white pt-10">
233
- <div class="flex items-center">
234
- <p tabindex="0" class="focus:outline-none text-gray-800 dark:text-white text-sm font-medium">Routes</p>
235
- </div>
236
- </div>
237
- </a>
238
- </li>
235
+ <!-- <li>-->
236
+ <!-- <a class="cursor-pointer">-->
237
+ <!-- <div class="text-gray-800 dark:text-white pt-10">-->
238
+ <!-- <div class="flex items-center">-->
239
+ <!-- <p tabindex="0" class="focus:outline-none text-gray-800 dark:text-white text-sm font-medium">Routes</p>-->
240
+ <!-- </div>-->
241
+ <!-- </div>-->
242
+ <!-- </a>-->
243
+ <!-- </li>-->
239
244
  <li>
240
245
  <a href='/session_data' class="cursor-pointer">
241
246
  <div class="text-gray-800 dark:text-white pt-8">
@@ -248,22 +253,22 @@
248
253
  </div>
249
254
  </a>
250
255
  </li>
251
- <li>
252
- <a class="cursor-pointer">
253
- <div class="text-gray-800 dark:text-white pt-8">
254
- <div class="flex items-center">
255
- <p tabindex="0" class="focus:outline-none text-gray-800 dark:text-white text-sm font-medium">Requests</p>
256
- </div>
257
- </div>
258
- </a>
259
- </li>
260
- <li class="text-gray-800 dark:text-white pt-8 cursor-pointer">
261
- <div class="flex items-center justify-between">
262
- <div class="w-6 h-6 md:w-8 md:h-8 text-gray-800 dark:text-white ">
263
- <p tabindex="0" class="focus:outline-none text-gray-800 dark:text-white text-sm font-medium">Queries</p>
264
- </div>
265
- </div>
266
- </li>
256
+ <!-- <li>-->
257
+ <!-- <a class="cursor-pointer">-->
258
+ <!-- <div class="text-gray-800 dark:text-white pt-8">-->
259
+ <!-- <div class="flex items-center">-->
260
+ <!-- <p tabindex="0" class="focus:outline-none text-gray-800 dark:text-white text-sm font-medium">Requests</p>-->
261
+ <!-- </div>-->
262
+ <!-- </div>-->
263
+ <!-- </a>-->
264
+ <!-- </li>-->
265
+ <!-- <li class="text-gray-800 dark:text-white pt-8 cursor-pointer">-->
266
+ <!-- <div class="flex items-center justify-between">-->
267
+ <!-- <div class="w-6 h-6 md:w-8 md:h-8 text-gray-800 dark:text-white ">-->
268
+ <!-- <p tabindex="0" class="focus:outline-none text-gray-800 dark:text-white text-sm font-medium">Queries</p>-->
269
+ <!-- </div>-->
270
+ <!-- </div>-->
271
+ <!-- </li>-->
267
272
  <li class="text-gray-800 dark:text-white pt-8 cursor-pointer">
268
273
  <div class="flex items-center justify-between">
269
274
  <div class="w-6 h-6 md:w-8 md:h-8 text-gray-800 dark:text-white ">
@@ -285,7 +290,5 @@
285
290
  <%= yield %>
286
291
  </div>
287
292
  </div>
288
-
289
-
290
293
  </body>
291
294
  </html>
data/config/routes.rb CHANGED
@@ -4,6 +4,7 @@ DataPact::Engine.routes.draw do
4
4
  delete :destroy, on: :collection
5
5
  end
6
6
  get 'routes', to: 'application#routes'
7
+ get 'settings', to: 'application#settings'
7
8
  root to: 'application#index'
8
9
 
9
10
  end
@@ -1,3 +1,3 @@
1
1
  module DataPact
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/data_pact.rb CHANGED
@@ -2,11 +2,5 @@ require "data_pact/version"
2
2
  require "data_pact/engine"
3
3
 
4
4
  module DataPact
5
- class << self
6
- attr_accessor :s3_client
7
- end
8
-
9
- def self.configure
10
- yield self
11
- end
5
+ # Your code goes here...
12
6
  end
metadata CHANGED
@@ -1,44 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_pact
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Shyman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-02 00:00:00.000000000 Z
11
+ date: 2023-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 6.1.7.1
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
19
+ version: '6.1'
24
20
  - - ">="
25
21
  - !ruby/object:Gem::Version
26
22
  version: 6.1.7.1
27
- - !ruby/object:Gem::Dependency
28
- name: aws-sdk-s3
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
23
  type: :runtime
35
24
  prerelease: false
36
25
  version_requirements: !ruby/object:Gem::Requirement
37
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '6.1'
38
30
  - - ">="
39
31
  - !ruby/object:Gem::Version
40
- version: '0'
41
- description:
32
+ version: 6.1.7.1
33
+ description: Various debugging tools for Ruby on Rails
42
34
  email:
43
35
  - bshyman@gmail.com
44
36
  executables: []
@@ -58,6 +50,7 @@ files:
58
50
  - app/models/data_pact/application_record.rb
59
51
  - app/views/application/index.html.erb
60
52
  - app/views/data_pact/application/routes.html.erb
53
+ - app/views/data_pact/application/settings.html.erb
61
54
  - app/views/data_pact/session_data/index.html.erb
62
55
  - app/views/layouts/data_pact/application.html.erb
63
56
  - config/routes.rb
@@ -87,5 +80,5 @@ requirements: []
87
80
  rubygems_version: 3.2.15
88
81
  signing_key:
89
82
  specification_version: 4
90
- summary: Data contracts between front and back end software development teams.
83
+ summary: Debugging tool for Ruby on Rails.
91
84
  test_files: []