jsender 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/jsender.gemspec +3 -3
- data/lib/jsender/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41dc1af6a6d32c30e127c4a4839762530dfd09e8
|
4
|
+
data.tar.gz: 7079f464d53d03346ecc2de6679e64e525da1fa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1e1f9361c31c0a95a6e438293b8334527b60e5aff5ec6301b4650f506d4c958585b68aad362b10e68f00f23d283158f652f84702aa585fbbc4c173ea99023e5
|
7
|
+
data.tar.gz: f3fdcbb00665b7347dacc6eb1d833ff746926832a4dc20a8b96fb775698ff9a3259bd98c0a317d1e3481e006b16bbfb864bfffc4bacf762a9feafd1205ed4b36
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Jsender
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/jsender.png)](https://badge.fury.io/rb/jsender)
|
4
|
+
|
3
5
|
JSender facilitates a simple jsend implementation for ruby. You can report success, error, fail, success with data, fail with data. The jsend response contains 'status' and 'data'. 'data' contains what-ever you put in it, as well as a 'notifications' array. Helpers are provided to check whether a notification is present and whether a specific data key is present. On error the response contains 'message'.
|
4
6
|
|
5
7
|
## Installation
|
data/jsender.gemspec
CHANGED
@@ -11,17 +11,17 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{JSender facilitates a simple jsend implementation for ruby}
|
13
13
|
spec.description = %q{JSender facilitates a simple jsend implementation for ruby}
|
14
|
-
spec.homepage = "https://
|
14
|
+
spec.homepage = "https://github.com/hetznerZA/jsender"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
18
|
spec.bindir = "exe"
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
|
-
|
21
|
+
spec.required_ruby_version = ['>=2.0.0']
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.10"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
-
spec.add_development_dependency "rspec"
|
25
|
+
spec.add_development_dependency "rspec", "~> 3.5.0"
|
26
26
|
# spec.add_development_dependency "byebug"
|
27
27
|
end
|
data/lib/jsender/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsender
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ernst van Graan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-07-
|
12
|
+
date: 2016-07-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -43,16 +43,16 @@ dependencies:
|
|
43
43
|
name: rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
48
|
+
version: 3.5.0
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
version: 3.5.0
|
56
56
|
description: JSender facilitates a simple jsend implementation for ruby
|
57
57
|
email:
|
58
58
|
- ernst.van.graan@hetzner.co.za
|
@@ -74,7 +74,7 @@ files:
|
|
74
74
|
- jsender.gemspec
|
75
75
|
- lib/jsender.rb
|
76
76
|
- lib/jsender/version.rb
|
77
|
-
homepage: https://
|
77
|
+
homepage: https://github.com/hetznerZA/jsender
|
78
78
|
licenses:
|
79
79
|
- MIT
|
80
80
|
metadata: {}
|
@@ -86,7 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 2.0.0
|
90
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
92
|
- - ">="
|