k 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +14 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +23 -0
- data/README.md +25 -0
- data/Rakefile +2 -0
- data/k.gemspec +23 -0
- data/lib/k.rb +5 -6
- data/lib/k/version.rb +3 -0
- metadata +50 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8cfdbc729846918a5544212f67d57ff51449ee2
|
4
|
+
data.tar.gz: 57ff418accb2f03c9e49bd17ad8b317de8d99c98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6749fc9b31fce8d991d6302ed16416e55933a06bc93a9b25c916849394bab6e6087116d5d5f08f078a08c310b39ca596bf45f6ad9c8f1833078c56c7735026e
|
7
|
+
data.tar.gz: db1a2fcff6aebcf512b21ee11eb5931d4349d8bc169837134ead551725be07cf94cdf8a36d5389547def68127c864f08ed1f48917b0063ecfe347aa93b2d0f42
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
Copyright (c) 2015 zhenzhong
|
2
|
+
|
3
|
+
|
4
|
+
MIT License
|
5
|
+
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
7
|
+
a copy of this software and associated documentation files (the
|
8
|
+
"Software"), to deal in the Software without restriction, including
|
9
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
10
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
11
|
+
permit persons to whom the Software is furnished to do so, subject to
|
12
|
+
the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be
|
15
|
+
included in all copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
18
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
19
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
20
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
21
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
22
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
23
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# K - Simple HTTP Queue Service
|
2
|
+
|
3
|
+
Query requests are simple HTTP requests, using the GET or POST method, then Queue Service will do the requests later.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'k'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install k
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
TODO:
|
24
|
+
|
25
|
+
|
data/Rakefile
ADDED
data/k.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'k/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "k"
|
8
|
+
spec.version = K::VERSION
|
9
|
+
spec.authors = ["speed"]
|
10
|
+
spec.email = ["1615198@gmail.com"]
|
11
|
+
spec.summary = %q{Simple HTTP Queue Service}
|
12
|
+
spec.description = %q{Query requests are simple HTTP requests, using the GET or POST method, then Queue Service will do the requests later.}
|
13
|
+
spec.homepage = "https://github.com/zhenzhong/k"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
end
|
data/lib/k.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
end
|
1
|
+
require "k/version"
|
2
|
+
|
3
|
+
module K
|
4
|
+
# Your code goes here...
|
5
|
+
end
|
data/lib/k/version.rb
ADDED
metadata
CHANGED
@@ -1,24 +1,62 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: k
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- speed
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
|
11
|
+
date: 2015-09-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description: Query requests are simple HTTP requests, using the GET or POST method,
|
42
|
+
then Queue Service will do the requests later.
|
43
|
+
email:
|
44
|
+
- 1615198@gmail.com
|
15
45
|
executables: []
|
16
46
|
extensions: []
|
17
47
|
extra_rdoc_files: []
|
18
48
|
files:
|
49
|
+
- ".gitignore"
|
50
|
+
- Gemfile
|
51
|
+
- LICENSE.txt
|
52
|
+
- README.md
|
53
|
+
- Rakefile
|
54
|
+
- k.gemspec
|
19
55
|
- lib/k.rb
|
20
|
-
|
21
|
-
|
56
|
+
- lib/k/version.rb
|
57
|
+
homepage: https://github.com/zhenzhong/k
|
58
|
+
licenses:
|
59
|
+
- MIT
|
22
60
|
metadata: {}
|
23
61
|
post_install_message:
|
24
62
|
rdoc_options: []
|
@@ -26,18 +64,18 @@ require_paths:
|
|
26
64
|
- lib
|
27
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
28
66
|
requirements:
|
29
|
-
- -
|
67
|
+
- - ">="
|
30
68
|
- !ruby/object:Gem::Version
|
31
69
|
version: '0'
|
32
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
33
71
|
requirements:
|
34
|
-
- -
|
72
|
+
- - ">="
|
35
73
|
- !ruby/object:Gem::Version
|
36
74
|
version: '0'
|
37
75
|
requirements: []
|
38
76
|
rubyforge_project:
|
39
|
-
rubygems_version: 2.
|
77
|
+
rubygems_version: 2.2.2
|
40
78
|
signing_key:
|
41
79
|
specification_version: 4
|
42
|
-
summary:
|
80
|
+
summary: Simple HTTP Queue Service
|
43
81
|
test_files: []
|