sentry-helper 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6770cae0f3866d68a49507c654cd990d3da5cac6
4
+ data.tar.gz: 722d9739c84f3ce88aac2c5b697868ef1cbd61e0
5
+ SHA512:
6
+ metadata.gz: f152cd805ef9364b2dd5b231a87f947ff2437d90f162367456995aac895ea95d6bcddde68e36fe241165f5c65dd525d33b94b889e063f987c29b11379f1fa297
7
+ data.tar.gz: 0a76124db2821b0b0b6e9e06bb24cd7f5a571fbce1d2f74fbe45461d290576105a3b8c8fb962110c04c40e97b9e77782dd4fd4c692be688036e83f949c692301
@@ -0,0 +1,3 @@
1
+ Gemfile.lock
2
+ pkg/
3
+ vendor/cache/*.gem
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source :rubygems
2
+
3
+ gemspec
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2015 jRiddick
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,3 @@
1
+ = sentry-helper
2
+
3
+ Some helper functions and classes for Sentry plugins
@@ -0,0 +1,11 @@
1
+ require 'sentry/helper/version'
2
+
3
+ class String
4
+ def to_url
5
+ unless self[/\Ahttp:\/\//] || self[/\Ahttps:\/\//]
6
+ self.sub! self, "http://#{self}"
7
+ else
8
+ self
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,6 @@
1
+ module Sentry
2
+ module Helper
3
+ # sentry-helper version
4
+ VERSION = "0.1.0"
5
+ end
6
+ end
@@ -0,0 +1,20 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ require File.expand_path('../lib/sentry/helper/version', __FILE__)
4
+
5
+ Gem::Specification.new do |gem|
6
+ gem.name = "sentry-helper"
7
+ gem.version = Sentry::Helper::VERSION
8
+ gem.summary = %q{Helper functions used in sentry plugins}
9
+ gem.license = "MIT"
10
+ gem.authors = ["jRiddick"]
11
+ gem.email = "apersson.93@gmail.com"
12
+ gem.homepage = "https://rubygems.org/gems/sentry-helper"
13
+
14
+ gem.files = `git ls-files`.split($/)
15
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
16
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
17
+ gem.require_paths = ['lib']
18
+
19
+ gem.add_development_dependency 'bundler', '~> 1.0'
20
+ end
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sentry-helper
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - jRiddick
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-02-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.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ description:
28
+ email: apersson.93@gmail.com
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - ".gitignore"
34
+ - Gemfile
35
+ - LICENSE.txt
36
+ - README.rdoc
37
+ - lib/sentry/helper.rb
38
+ - lib/sentry/helper/version.rb
39
+ - sentry-helper.gemspec
40
+ homepage: https://rubygems.org/gems/sentry-helper
41
+ licenses:
42
+ - MIT
43
+ metadata: {}
44
+ post_install_message:
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ requirements: []
59
+ rubyforge_project:
60
+ rubygems_version: 2.5.1
61
+ signing_key:
62
+ specification_version: 4
63
+ summary: Helper functions used in sentry plugins
64
+ test_files: []