danger-ya_tu_sabes 0.0.1

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: a3dd0c6d62fd062f76d4ad2b65acffcc2977c3bb
4
+ data.tar.gz: ed577f4204b6035aecd1855903d062acad868457
5
+ SHA512:
6
+ metadata.gz: b170783ada4c428043fad75b5915b7bb7c0502b5c94b3c41fa66666337fa6c07d2578aad8d2ee2e84b50ed143b001d96bf53a870da7681ec3314bf422bf94907
7
+ data.tar.gz: 2f8e56145d2f6e1562a3de8d27ddb573586db6ca159794a2e92f7c19a8bd564700ab5ff4f30871c3d4fca7398f2ab4045fe4521bfad1fef8465d5e011dd349d6
@@ -0,0 +1,3 @@
1
+ .DS_Store
2
+ pkg
3
+ .idea/
@@ -0,0 +1,2 @@
1
+ Style/Documentation:
2
+ Enabled: false
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in danger-ya_tu_sabes.gemspec
4
+ gemspec
5
+
6
+ group :development do
7
+ gem 'danger'
8
+
9
+ gem 'rspec'
10
+ gem 'rubocop'
11
+ gem 'webmock'
12
+ gem 'pry'
13
+ end
@@ -0,0 +1,89 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ danger-ya_tu_sabes (0.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ addressable (2.4.0)
10
+ ast (2.2.0)
11
+ claide (1.0.0)
12
+ coderay (1.1.1)
13
+ colored (1.2)
14
+ crack (0.4.3)
15
+ safe_yaml (~> 1.0.0)
16
+ danger (0.8.1)
17
+ claide
18
+ colored (~> 1.2)
19
+ faraday
20
+ git
21
+ octokit (~> 4.2)
22
+ redcarpet (~> 3.3)
23
+ terminal-table (~> 1)
24
+ diff-lcs (1.2.5)
25
+ faraday (0.9.2)
26
+ multipart-post (>= 1.2, < 3)
27
+ git (1.3.0)
28
+ hashdiff (0.2.3)
29
+ method_source (0.8.2)
30
+ multipart-post (2.0.0)
31
+ octokit (4.3.0)
32
+ sawyer (~> 0.7.0, >= 0.5.3)
33
+ parser (2.3.1.2)
34
+ ast (~> 2.2)
35
+ powerpack (0.1.1)
36
+ pry (0.10.3)
37
+ coderay (~> 1.1.0)
38
+ method_source (~> 0.8.1)
39
+ slop (~> 3.4)
40
+ rainbow (2.1.0)
41
+ rake (11.1.2)
42
+ redcarpet (3.3.4)
43
+ rspec (3.4.0)
44
+ rspec-core (~> 3.4.0)
45
+ rspec-expectations (~> 3.4.0)
46
+ rspec-mocks (~> 3.4.0)
47
+ rspec-core (3.4.4)
48
+ rspec-support (~> 3.4.0)
49
+ rspec-expectations (3.4.0)
50
+ diff-lcs (>= 1.2.0, < 2.0)
51
+ rspec-support (~> 3.4.0)
52
+ rspec-mocks (3.4.1)
53
+ diff-lcs (>= 1.2.0, < 2.0)
54
+ rspec-support (~> 3.4.0)
55
+ rspec-support (3.4.1)
56
+ rubocop (0.40.0)
57
+ parser (>= 2.3.1.0, < 3.0)
58
+ powerpack (~> 0.1)
59
+ rainbow (>= 1.99.1, < 3.0)
60
+ ruby-progressbar (~> 1.7)
61
+ unicode-display_width (~> 1.0, >= 1.0.1)
62
+ ruby-progressbar (1.8.1)
63
+ safe_yaml (1.0.4)
64
+ sawyer (0.7.0)
65
+ addressable (>= 2.3.5, < 2.5)
66
+ faraday (~> 0.8, < 0.10)
67
+ slop (3.6.0)
68
+ terminal-table (1.5.2)
69
+ unicode-display_width (1.0.5)
70
+ webmock (1.22.3)
71
+ addressable (>= 2.3.6)
72
+ crack (>= 0.3.2)
73
+ hashdiff
74
+
75
+ PLATFORMS
76
+ ruby
77
+
78
+ DEPENDENCIES
79
+ bundler (~> 1.3)
80
+ danger
81
+ danger-ya_tu_sabes!
82
+ pry
83
+ rake
84
+ rspec
85
+ rubocop
86
+ webmock
87
+
88
+ BUNDLED WITH
89
+ 1.12.5
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2016 Boris Bügling <boris@icculus.org>
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,23 @@
1
+ # danger-ya\_tu\_sabes
2
+
3
+ Ya tu sabes.
4
+
5
+ ## Installation
6
+
7
+ $ gem install danger-ya_tu_sabes
8
+
9
+ ## Usage
10
+
11
+ Once you have it installed, your `danger` warnings will be so much more
12
+ useful:
13
+
14
+ ```
15
+ danger results:
16
+
17
+ +-------------+
18
+ | Warnings |
19
+ +-------------+
20
+ | ya tu sabes |
21
+ +-------------+
22
+ ```
23
+
@@ -0,0 +1,18 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+ require 'rubocop/rake_task'
4
+
5
+ RSpec::Core::RakeTask.new(:specs)
6
+
7
+ task default: :specs
8
+
9
+ task :spec do
10
+ Rake::Task['specs'].invoke
11
+ Rake::Task['rubocop'].invoke
12
+ Rake::Task['spec_docs'].invoke
13
+ end
14
+
15
+ desc 'Run RuboCop on the lib/specs directory'
16
+ RuboCop::RakeTask.new(:rubocop) do |task|
17
+ task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
18
+ end
@@ -0,0 +1,22 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'ya_tu_sabes/gem_version.rb'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'danger-ya_tu_sabes'
8
+ spec.version = YaTuSabes::VERSION
9
+ spec.authors = ['Boris Bügling']
10
+ spec.email = ['boris@icculus.org']
11
+ spec.summary = 'Ya tu sabes.'
12
+ spec.homepage = 'https://github.com/neonichu/danger-ya_tu_sabes'
13
+ spec.license = 'MIT'
14
+
15
+ spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ['lib']
19
+
20
+ spec.add_development_dependency 'bundler', '~> 1.3'
21
+ spec.add_development_dependency 'rake'
22
+ end
@@ -0,0 +1 @@
1
+ require 'ya_tu_sabes/plugin'
@@ -0,0 +1 @@
1
+ require 'ya_tu_sabes/gem_version'
@@ -0,0 +1,3 @@
1
+ module YaTuSabes
2
+ VERSION = '0.0.1'.freeze
3
+ end
@@ -0,0 +1,8 @@
1
+ module Danger
2
+ class DangerYaTuSabes < Plugin
3
+ def ya_tu_sabes
4
+ u = false
5
+ warn 'ya tu sabes' unless u # no u
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,10 @@
1
+ require 'pathname'
2
+ ROOT = Pathname.new(File.expand_path('../../', __FILE__))
3
+ $LOAD_PATH.unshift((ROOT + 'lib').to_s)
4
+ $LOAD_PATH.unshift((ROOT + 'spec').to_s)
5
+
6
+ require 'bundler/setup'
7
+ require 'rspec'
8
+ require 'danger'
9
+
10
+ require 'danger_plugin'
@@ -0,0 +1,13 @@
1
+ require File.expand_path('../spec_helper', __FILE__)
2
+
3
+ module Danger
4
+ describe Danger::DangerYaTuSabes do
5
+ it 'should be a plugin' do
6
+ expect(Danger::DangerYaTuSabes.new(nil)).to be_a Danger::Plugin
7
+ end
8
+
9
+ #
10
+ # You should test your custom attributes and methods here
11
+ #
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,89 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: danger-ya_tu_sabes
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Boris Bügling
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-06-10 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.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description:
42
+ email:
43
+ - boris@icculus.org
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - .gitignore
49
+ - .rubocop.yml
50
+ - Gemfile
51
+ - Gemfile.lock
52
+ - LICENSE.txt
53
+ - README.md
54
+ - Rakefile
55
+ - danger-ya_tu_sabes.gemspec
56
+ - lib/danger_plugin.rb
57
+ - lib/danger_ya_tu_sabes.rb
58
+ - lib/ya_tu_sabes/gem_version.rb
59
+ - lib/ya_tu_sabes/plugin.rb
60
+ - spec/spec_helper.rb
61
+ - spec/ya_tu_sabes_spec.rb
62
+ homepage: https://github.com/neonichu/danger-ya_tu_sabes
63
+ licenses:
64
+ - MIT
65
+ metadata: {}
66
+ post_install_message:
67
+ rdoc_options: []
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - '>='
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ requirements: []
81
+ rubyforge_project:
82
+ rubygems_version: 2.0.14
83
+ signing_key:
84
+ specification_version: 4
85
+ summary: Ya tu sabes.
86
+ test_files:
87
+ - spec/spec_helper.rb
88
+ - spec/ya_tu_sabes_spec.rb
89
+ has_rdoc: