hai 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +14 -2
- data/README.md +198 -10
- data/app/controllers/hai/rest_controller.rb +69 -0
- data/config/routes.rb +7 -0
- data/lib/hai/action_mods.rb +26 -0
- data/lib/hai/create.rb +41 -3
- data/lib/hai/delete.rb +17 -0
- data/lib/hai/graphql/create_mutations.rb +28 -9
- data/lib/hai/graphql/delete_mutations.rb +25 -0
- data/lib/hai/graphql/list_queries.rb +20 -13
- data/lib/hai/graphql/read_queries.rb +11 -3
- data/lib/hai/graphql/types.rb +88 -13
- data/lib/hai/graphql/update_mutations.rb +34 -0
- data/lib/hai/graphql.rb +26 -7
- data/lib/hai/policies.rb +26 -0
- data/lib/hai/railtie.rb +13 -0
- data/lib/hai/read.rb +82 -44
- data/lib/hai/tasks/graphql/filter_type.rake +8 -0
- data/lib/hai/tasks/hai.rake +2 -0
- data/lib/hai/types/arel/boolean_input_type.rb +11 -0
- data/lib/hai/types/arel/float_input_type.rb +10 -0
- data/lib/hai/types/arel/sort_input_type.rb +13 -0
- data/lib/hai/types/base_create.rb +14 -0
- data/lib/hai/types/mutation_error_type.rb +11 -0
- data/lib/hai/types/sort_input_type.rb +10 -0
- data/lib/hai/update.rb +25 -5
- data/lib/hai/version.rb +1 -1
- data/lib/hai.rb +20 -4
- data/todo.md +17 -10
- metadata +34 -3
- data/hai-0.0.1.gem +0 -0
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- basicbrogrammer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '7.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: graphql
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: pg
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,19 +80,34 @@ files:
|
|
66
80
|
- LICENSE.txt
|
67
81
|
- README.md
|
68
82
|
- Rakefile
|
69
|
-
- hai
|
83
|
+
- app/controllers/hai/rest_controller.rb
|
84
|
+
- config/routes.rb
|
70
85
|
- lib/hai.rb
|
86
|
+
- lib/hai/action_mods.rb
|
71
87
|
- lib/hai/create.rb
|
88
|
+
- lib/hai/delete.rb
|
72
89
|
- lib/hai/graphql.rb
|
73
90
|
- lib/hai/graphql/create_mutations.rb
|
91
|
+
- lib/hai/graphql/delete_mutations.rb
|
74
92
|
- lib/hai/graphql/list_queries.rb
|
75
93
|
- lib/hai/graphql/read_queries.rb
|
76
94
|
- lib/hai/graphql/types.rb
|
95
|
+
- lib/hai/graphql/update_mutations.rb
|
77
96
|
- lib/hai/mbgr.code-workspace
|
97
|
+
- lib/hai/policies.rb
|
98
|
+
- lib/hai/railtie.rb
|
78
99
|
- lib/hai/read.rb
|
100
|
+
- lib/hai/tasks/graphql/filter_type.rake
|
101
|
+
- lib/hai/tasks/hai.rake
|
102
|
+
- lib/hai/types/arel/boolean_input_type.rb
|
79
103
|
- lib/hai/types/arel/datetime_input_type.rb
|
104
|
+
- lib/hai/types/arel/float_input_type.rb
|
80
105
|
- lib/hai/types/arel/int_input_type.rb
|
106
|
+
- lib/hai/types/arel/sort_input_type.rb
|
81
107
|
- lib/hai/types/arel/string_input_type.rb
|
108
|
+
- lib/hai/types/base_create.rb
|
109
|
+
- lib/hai/types/mutation_error_type.rb
|
110
|
+
- lib/hai/types/sort_input_type.rb
|
82
111
|
- lib/hai/update.rb
|
83
112
|
- lib/hai/version.rb
|
84
113
|
- sig/yasashii.rbs
|
@@ -93,6 +122,8 @@ post_install_message:
|
|
93
122
|
rdoc_options: []
|
94
123
|
require_paths:
|
95
124
|
- lib
|
125
|
+
- app
|
126
|
+
- config
|
96
127
|
required_ruby_version: !ruby/object:Gem::Requirement
|
97
128
|
requirements:
|
98
129
|
- - ">="
|
data/hai-0.0.1.gem
DELETED
Binary file
|