query_exec 0.0.4 → 0.0.5
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 +8 -8
- data/doc/user_guide.txt +20 -0
- data/lib/query_exec.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NmY4NzY4NzRkNDgxMTgzMjI5ZTExMDA5ZDg5NWVhMjAyMDJmMWE0Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWJjMGUyOTQ5Mjg0Nzg4NDcwMGRhZjEyYzYwYzYxYmM0YTVjNjg2MQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzJlOTAxZDllNTE2NThhMTE4OGVmZjYzMTU1NDZiYTY1M2ZjOTEyMTZhOTVm
|
10
|
+
MTg1MjQzYzE4OGYwZGQ2ZmY4ZjNkNWY4ODE2YWRlNTI5MmRlOWE1MTAwMzg4
|
11
|
+
NjYwZDQyODYwOTA3MGY4ZjQ1MGUyOTQ2ZjZmNjA5MmVmYTEyNzc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzI3OGZlNWMwNjAwZTU2N2ZiNGY0OTYwYzJkYzRiYjkxOTQ3ZTNmOWJjN2Y2
|
14
|
+
ZmQwMjFmZTllZTZkODM3ZjJiNDdhZTllOTNiYWQ0MjY0MzFhZWQ4YzMxMjYy
|
15
|
+
OTMzNjNiYTY2ZTUwMjY3ZTlkNzE4ZGU2YmViZGZmZDUzY2RjYWY=
|
data/doc/user_guide.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Query Exec Gem:
|
2
|
+
|
3
|
+
This gem is used to execute SQL commands in our Rails application.
|
4
|
+
|
5
|
+
Installation:
|
6
|
+
|
7
|
+
gem install query_exec
|
8
|
+
|
9
|
+
or
|
10
|
+
|
11
|
+
add gem 'query_exec' to your gem file.
|
12
|
+
|
13
|
+
|
14
|
+
Example of Usage:
|
15
|
+
|
16
|
+
QueryExec.run('select * from users') # gives all the users from users table
|
17
|
+
|
18
|
+
QueryExec.run('update users set name='xxx' where id=2') # updates user with name='xxx' which is having id 2.
|
19
|
+
|
20
|
+
Using this gem we can do all the SQL operatons.
|
data/lib/query_exec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: query_exec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- M.Viji Kumar
|
@@ -16,8 +16,10 @@ description: This gem is used to execute SQL queries in our rails application. S
|
|
16
16
|
email: vijikumar1955@gmail.com
|
17
17
|
executables: []
|
18
18
|
extensions: []
|
19
|
-
extra_rdoc_files:
|
19
|
+
extra_rdoc_files:
|
20
|
+
- doc/user_guide.txt
|
20
21
|
files:
|
22
|
+
- doc/user_guide.txt
|
21
23
|
- lib/query_exec.rb
|
22
24
|
homepage:
|
23
25
|
licenses: []
|