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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e10f44f22e399c139f8aa586f2087321df0b061
4
- data.tar.gz: 4579dbf62910c0bd54d38cf5ee276d5f9b620687
3
+ metadata.gz: 41dc1af6a6d32c30e127c4a4839762530dfd09e8
4
+ data.tar.gz: 7079f464d53d03346ecc2de6679e64e525da1fa6
5
5
  SHA512:
6
- metadata.gz: c64ed896fb1d2a35914573699fbfa363fa7cce0c2ab4ed3a21c64d148755a6359705580914bb4a0a2d8cf14fa1487212d1e5d7398d60bc0fc1a0bb58c313db2a
7
- data.tar.gz: b7c7d426a4e43c2f1abccec7ad7e7138bf780dc4427dd32e8206ec6592ced77873c06b85de4c933827bb8af2f2df37ac8a9eea4680fa979e568747558188c60e
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
@@ -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://rubygems.org/gems/jsender"
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
- # spec.required_ruby_version = ['>=2.0.0']
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
@@ -1,3 +1,3 @@
1
1
  module Jsender
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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.1
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-20 00:00:00.000000000 Z
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: '0'
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: '0'
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://rubygems.org/gems/jsender
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: '0'
89
+ version: 2.0.0
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - ">="