admqr_knife 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/exe/admqr_visit +1 -1
- data/lib/admqr_knife/cube_service.rb +2 -2
- data/lib/admqr_knife/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f941f3ef287b3045821af11a43905f1ad92b74c4fde34222512f645504123aba
|
4
|
+
data.tar.gz: a010233306b667c1a0b6463b75506f397cbb1e9e6a04befab7c30f68e92612be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25fb8abae5f06e22aba0fb824acc53b9c8d6fca78069b37f95b0fab51078df91bacb21bb99aa5fd155e515110b32ad73fd0f07a033083c650f76a4b0cbe45991
|
7
|
+
data.tar.gz: 11c812380fb975ed7b4faa2d707651d9d219c0b8531a29327d7bb0204b6344a623d7adfdb58808cc9f4029dc2ffd6b4788c7faf139c4cd92c764651ca6858488
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -35,7 +35,7 @@ Or install it yourself as:
|
|
35
35
|
|
36
36
|
### gem 集成
|
37
37
|
|
38
|
-
1. 在 rails 里 initializers 中配置
|
38
|
+
1. 在 rails 里 initializers 中配置
|
39
39
|
|
40
40
|
```ruby
|
41
41
|
AdmqrKnife.init(CLIENT_KEY)
|
@@ -56,7 +56,7 @@ AdmqrKnife.visit unique_code: "唯一标记",
|
|
56
56
|
|
57
57
|
这种使用方式不需要安装这个gem
|
58
58
|
|
59
|
-
```
|
59
|
+
```bash
|
60
60
|
curl -X POST \
|
61
61
|
https://www.admqr.com/apic/v1 \
|
62
62
|
-H 'Content-Type: application/json' \
|
data/exe/admqr_visit
CHANGED
@@ -16,7 +16,7 @@ class AdmqrVisitCLI < Thor
|
|
16
16
|
def record(unique_code)
|
17
17
|
AdmqrKnife.init(options[:client_key])
|
18
18
|
AdmqrKnife.visit(unique_code: unique_code,
|
19
|
-
|
19
|
+
client_ua: options[:ua],
|
20
20
|
referer: options[:referer],
|
21
21
|
tag: options[:tag],
|
22
22
|
new_to_visit: options[:new_to_visit],
|
data/lib/admqr_knife/version.rb
CHANGED