textbringer-http_client 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ecd4b9b6e298ba0b55261636966e33f542028661f8d024013c34e43cbd0ef5a
4
- data.tar.gz: 4dd010a11bef5f80e5f4746b37116d2fd626c5462d47fae59d8b94d2f7aef609
3
+ metadata.gz: 2b1b0d309ab7a0992c6d29c0da987bf5755c3313b89947cdd9befb8ecd374437
4
+ data.tar.gz: 9ce9d732f065885608fde17c40ac08f2fd64e035408a2da7b6820fd2e49b439c
5
5
  SHA512:
6
- metadata.gz: 7db02a3d5462c53a99c8faa0e33d2f297f404f92610b3890a882954182180c79d3458269e04fb1f55fc63c28ab456682b327349e7c0329ae98a748f3d413923d
7
- data.tar.gz: 488d387e0d881f0a8ce0723b3a4def85ab52d4e356e3cb01f26444fc4b7376193269d472ca1e34c252a129654c97c7a2bd0955a2d8d6ba9ed8582580d0c0cc19
6
+ metadata.gz: 4e7fb1ee8497368e5e20bf9a93b7d5b1073224d78a8f6556367709510885474216b921001876e115714f5d56f52dc3dbfce0eeb0dbfe42e576cc983c379a6ed1
7
+ data.tar.gz: 9466c7a8883dcd1a22440d35dc2768a9a442459dfd3e58cc97b0017d31c84dbf21426a16c116a82c3804d4a47124f348dca00827fa44b7428bfcadd9dfbce74d
data/README.md CHANGED
@@ -1,36 +1,29 @@
1
- # textbringer-ghost_text
1
+ # textbringer-http_client
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/textbringer-ghost_text.svg)](https://badge.fury.io/rb/textbringer-ghost_text)
4
-
5
- [GhostText](https://github.com/GhostText/GhostText) plugin for [Textbringer](https://github.com/shugo/textbringer).
3
+ HTTP client plugin for [Textbringer](https://github.com/shugo/textbringer).
6
4
 
7
5
  ## Installation
8
6
 
9
- $ gem install textbringer-ghost_text
10
-
11
- ## Configuration
12
-
13
- ```ruby
14
- # The host of the GhostText server.
15
- CONFIG[:ghost_text_host] = "127.0.0.1"
16
- # The port of the GhostText server.
17
- CONFIG[:ghost_text_port] = 4001
18
- ```
7
+ $ gem install textbringer-http_client
19
8
 
20
9
  ## Usage
21
10
 
22
- Type `M-x ghost_text_start` to start the server.
23
-
24
- ## Development
11
+ Type `M-x send_http_request` to send an HTTP request, for example, in the following buffer:
25
12
 
26
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
27
-
28
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
13
+ ```
14
+ POST http://localhost:4000/graphql
15
+ Content-Type: application/json
16
+
17
+ {
18
+ "query":"query todo{ todo(id: 1) { id content } }",
19
+ "variables":null,
20
+ "operationName":"todo"
21
+ }
22
+ ```
29
23
 
30
24
  ## Contributing
31
25
 
32
- Bug reports and pull requests are welcome on GitHub at https://github.com/shugo/textbringer-ghost_text.
33
-
26
+ Bug reports and pull requests are welcome on GitHub at https://github.com/shugo/textbringer-http_client.
34
27
 
35
28
  ## License
36
29
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Textbringer
4
4
  module HttpClient
5
- VERSION = "0.0.1"
5
+ VERSION = "0.0.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: textbringer-http_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shugo Maeda