k 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16bcbfbcf1fc2733408dd6fc27351977b1b9480c
4
- data.tar.gz: dde717dfb4a4407d842b685189d8e1318d04b0bb
3
+ metadata.gz: d8cfdbc729846918a5544212f67d57ff51449ee2
4
+ data.tar.gz: 57ff418accb2f03c9e49bd17ad8b317de8d99c98
5
5
  SHA512:
6
- metadata.gz: 46b8b2405ce5668aad18636ca7b27aa246826a39dea4063c47964c3283c92c648e4d0bfab9a8593e81d552af24b9d51961421863afce63fac131fc0d774b15c7
7
- data.tar.gz: bc0f9e54b992199792b3b0cc596033f8b8658f4a681f078f8d402640df80870f6cb98dc5e997b761df5740bcd322ca99062b350a074cfb072cc26cafb90b8f7a
6
+ metadata.gz: b6749fc9b31fce8d991d6302ed16416e55933a06bc93a9b25c916849394bab6e6087116d5d5f08f078a08c310b39ca596bf45f6ad9c8f1833078c56c7735026e
7
+ data.tar.gz: db1a2fcff6aebcf512b21ee11eb5931d4349d8bc169837134ead551725be07cf94cdf8a36d5389547def68127c864f08ed1f48917b0063ecfe347aa93b2d0f42
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in k.gemspec
4
+ gemspec
@@ -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.
@@ -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
+
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -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
- % cat lib/k.rb
2
- class K
3
- def self.hi
4
- puts "Hello world!"
5
- end
6
- end
1
+ require "k/version"
2
+
3
+ module K
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,3 @@
1
+ module K
2
+ VERSION = "0.1.1"
3
+ end
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - jake
7
+ - speed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-28 00:00:00.000000000 Z
12
- dependencies: []
13
- description: A simple hello world gem
14
- email: jake@speedphp.com
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
- homepage: http://rubygems.org/gems/k
21
- licenses: []
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.0.0
77
+ rubygems_version: 2.2.2
40
78
  signing_key:
41
79
  specification_version: 4
42
- summary: CCC!
80
+ summary: Simple HTTP Queue Service
43
81
  test_files: []