raise 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/README.md +25 -2
- data/bin/console +1 -1
- data/lib/raise.rb +8 -8
- data/lib/raise/print.rb +11 -0
- data/lib/raise/version.rb +1 -1
- data/raise.gemspec +7 -7
- metadata +10 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32021df475e3ae65370b4fc57f5d457deb606ba9
|
4
|
+
data.tar.gz: ff780bcf162b753334f38669d88891de07f11a66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 391abb66d51a81ace9ed0c641dff3404c870504a6973599bb1de3571fac8ee30bb0798f5afb5fd7d96b4f387950258ea547069e1282ca039f84481fd18b7fa5a
|
7
|
+
data.tar.gz: cd33f55b804fe116b2e2b072c8c2a0668f2cbca0aaa6aaee8021b03d1f1ffcdbff8677a6eb49ad83151792aaf10d3306024b3a6dc96dd5f106cf3b76f6ff5b3a
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Raise
|
2
2
|
|
3
|
-
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/raise`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
@@ -10,4 +12,25 @@ Add this line to your application's Gemfile:
|
|
10
12
|
gem 'raise'
|
11
13
|
```
|
12
14
|
|
13
|
-
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install raise
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/Nick Sutterer/raise.
|
36
|
+
|
data/bin/console
CHANGED
data/lib/raise.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
require "raise/version"
|
2
2
|
|
3
|
-
module
|
4
|
-
|
5
|
-
|
6
|
-
def raise(*args)
|
7
|
-
exception = args.first
|
3
|
+
module Raise
|
4
|
+
# Your code goes here...
|
5
|
+
end
|
8
6
|
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
require "raise/print"
|
8
|
+
Object.class_eval do
|
9
|
+
# alias_method Raise.method(:print), put
|
10
|
+
def put(*args)
|
11
|
+
Raise.print(*args)
|
12
12
|
end
|
13
13
|
end
|
data/lib/raise/print.rb
ADDED
data/lib/raise/version.rb
CHANGED
data/raise.gemspec
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
# coding: utf-8
|
2
1
|
lib = File.expand_path('../lib', __FILE__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require 'raise/version'
|
@@ -9,17 +8,18 @@ Gem::Specification.new do |spec|
|
|
9
8
|
spec.authors = ["Nick Sutterer"]
|
10
9
|
spec.email = ["apotonick@gmail.com"]
|
11
10
|
|
12
|
-
spec.summary = %q{
|
13
|
-
spec.description = %q{
|
14
|
-
spec.homepage = "http://
|
15
|
-
spec.license = "MIT"
|
11
|
+
spec.summary = %q{My toolset.}
|
12
|
+
spec.description = %q{Apotonick's programming tools.}
|
13
|
+
spec.homepage = "http://trailblazer.to"
|
16
14
|
|
17
|
-
spec.files = `git ls-files -z`.split("\x0").reject
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
16
|
+
f.match(%r{^(test|spec|features)/})
|
17
|
+
end
|
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
|
|
22
|
-
spec.add_development_dependency "bundler", "~> 1.
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.14"
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
24
24
|
spec.add_development_dependency "minitest", "~> 5.0"
|
25
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.14'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.14'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,8 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '5.0'
|
55
|
-
description:
|
56
|
-
the argument.
|
55
|
+
description: Apotonick's programming tools.
|
57
56
|
email:
|
58
57
|
- apotonick@gmail.com
|
59
58
|
executables: []
|
@@ -68,11 +67,11 @@ files:
|
|
68
67
|
- bin/console
|
69
68
|
- bin/setup
|
70
69
|
- lib/raise.rb
|
70
|
+
- lib/raise/print.rb
|
71
71
|
- lib/raise/version.rb
|
72
72
|
- raise.gemspec
|
73
|
-
homepage: http://
|
74
|
-
licenses:
|
75
|
-
- MIT
|
73
|
+
homepage: http://trailblazer.to
|
74
|
+
licenses: []
|
76
75
|
metadata: {}
|
77
76
|
post_install_message:
|
78
77
|
rdoc_options: []
|
@@ -90,8 +89,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
89
|
version: '0'
|
91
90
|
requirements: []
|
92
91
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.5.
|
92
|
+
rubygems_version: 2.5.2
|
94
93
|
signing_key:
|
95
94
|
specification_version: 4
|
96
|
-
summary:
|
95
|
+
summary: My toolset.
|
97
96
|
test_files: []
|