pulis 0.1.1 → 0.1.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: ae55c9ad502b24c31a9f7302ffc785778275df4a
4
- data.tar.gz: cf87eb448df9d6fe4b814c3a6f8c85948fc8b269
3
+ metadata.gz: 2e3b80b0c6b92dfd5b29112da9a9b48f1ddfa6bf
4
+ data.tar.gz: 1a85c6a43dd7e4941ce6005306f601ef66863a9b
5
5
  SHA512:
6
- metadata.gz: dd5e3fec28b820e1a6b21e48cdc2abd44b1985208cdd9a447283c5cf0e762407189ca86fb7ba930ebd8b88bd9cf186815f24c5749a9c3f9af4dea0b47a3f5845
7
- data.tar.gz: 73695d78e92c8287bd2a283e357efd67ef6180c7b7122f8fcb4d8205b1ebb4b957a1474c2d24dd98d37fc48eb6fbd2b77dc36ee60c934eabac6d971815d53036
6
+ metadata.gz: eda56b1a70c04e65b0ab6de598287c66584bc34c6913404dd5c1b8f2cf4063f03beeca0eb7a1f784a0cb964a48fbaa2888015e1f074ce6a739aa94642614df0d
7
+ data.tar.gz: 763551e618af2fbca3699c62d0ac9a1508fb51e6a66a7bb8c348c70695f70b8f838cb3e6c034c93b6a1e75a232acf0d00af34d46972071336b4de01ea53bf715
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in pulis.gemspec
4
+ gemspec
data/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # Pulis
2
+
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/pulis`. 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
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'pulis'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install pulis
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 spec` 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/eightcard/pulis.
36
+
data/Rakefile ADDED
@@ -0,0 +1,3 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'pulis'
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require 'irb'
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,160 @@
1
+ # rubocop yml config example
2
+ # https://github.com/ryshinoz/rubocop_sample
3
+
4
+ ######## Rubocop Config ########
5
+ AllCops:
6
+ Exclude:
7
+ - vendor/**/*
8
+ - db/**/*
9
+ - config/**/*
10
+ - tmp/**/*
11
+ - log/**/*
12
+ TargetRubyVersion: 2.3
13
+
14
+ Rails:
15
+ Enabled: true
16
+
17
+ Style/AsciiComments:
18
+ Enabled: false
19
+
20
+ Style/Documentation:
21
+ Enabled: false
22
+
23
+ Rails/ActionFilter:
24
+ Enabled: false
25
+
26
+ Rails/Delegate:
27
+ Enabled: true
28
+
29
+ Rails/Validation:
30
+ Enabled: true
31
+
32
+ Metrics/AbcSize:
33
+ Max: 1000
34
+
35
+ Metrics/ClassLength:
36
+ Max: 1000
37
+
38
+ Metrics/CyclomaticComplexity:
39
+ Max: 50
40
+
41
+ Metrics/MethodLength:
42
+ # Max: 30
43
+ Enabled: false
44
+
45
+ Metrics/LineLength:
46
+ # Max: 180
47
+ Enabled: false
48
+
49
+ Lint/UnusedBlockArgument:
50
+ Enabled: true
51
+
52
+ Lint/UnusedMethodArgument:
53
+ Enabled: true
54
+
55
+ Lint/UselessAssignment:
56
+ Enabled: true
57
+
58
+ Lint/UselessComparison:
59
+ Enabled: true
60
+
61
+ Lint/Void:
62
+ Enabled: true
63
+
64
+ Style/MultilineBlockChain:
65
+ Enabled: false
66
+
67
+ Style/SpaceInsideHashLiteralBraces:
68
+ EnforcedStyle: no_space
69
+
70
+ Style/SpaceBeforeBlockBraces:
71
+ EnforcedStyle: space
72
+
73
+ Style/SpaceInsideBlockBraces:
74
+ EnforcedStyle: space
75
+ SpaceBeforeBlockParameters: false
76
+
77
+ Style/BracesAroundHashParameters:
78
+ EnforcedStyle: no_braces
79
+
80
+ Style/CollectionMethods:
81
+ Enabled: false
82
+
83
+ Style/Documentation:
84
+ Enabled: false
85
+
86
+ Style/AlignParameters:
87
+ EnforcedStyle: with_fixed_indentation
88
+
89
+ Style/IfUnlessModifier:
90
+ MaxLineLength: 60
91
+
92
+ Style/GuardClause:
93
+ MinBodyLength: 3
94
+
95
+ RedundantSelf:
96
+ Enabled: false
97
+
98
+ Style/Lambda:
99
+ Enabled: false
100
+
101
+ Lint/EndAlignment:
102
+ Enabled: false
103
+ Style/IndentationWidth:
104
+ Enabled: false
105
+
106
+ AndOr:
107
+ Enabled: false
108
+
109
+ Style/IndentHash:
110
+ Enabled: false
111
+
112
+ Style/CaseEquality:
113
+ Enabled: false
114
+
115
+ Style/SignalException:
116
+ EnforcedStyle: only_raise
117
+
118
+ NumericLiterals:
119
+ MinDigits: 12
120
+
121
+ CommentAnnotation:
122
+ Enabled: false
123
+
124
+ Style/BlockDelimiters:
125
+ Enabled: false
126
+
127
+ Style/EmptyLiteral:
128
+ Enabled: false
129
+
130
+ Style/TrailingUnderscoreVariable:
131
+ Enabled: false
132
+
133
+ Style/Semicolon:
134
+ Enabled: false
135
+ Style/WhenThen:
136
+ Enabled: false
137
+
138
+ Style/MultilineOperationIndentation:
139
+ Enabled: false
140
+
141
+ Style/ClassAndModuleChildren:
142
+ Enabled: false
143
+
144
+ Lint/UnderscorePrefixedVariableName:
145
+ Enabled: false
146
+
147
+ Lint/AssignmentInCondition:
148
+ Enabled: false
149
+
150
+ SingleLineMethods:
151
+ Enabled: false
152
+
153
+ Style/PredicateName:
154
+ Enabled: false
155
+
156
+ Rails/HttpPositionalArguments:
157
+ Enabled: false
158
+
159
+ Style/AlignParameters:
160
+ Enabled: false
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Pulis
4
+ VERSION = '0.1.2'
5
+ end
data/lib/pulis.rb ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'pulis/version'
4
+
5
+ module Pulis
6
+ end
data/pulis.gemspec ADDED
@@ -0,0 +1,22 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'pulis/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'pulis'
7
+ spec.version = Pulis::VERSION
8
+ spec.authors = ['sansan']
9
+ spec.email = ['op-dev@sansan.com']
10
+
11
+ spec.summary = %q{cop file for my project}
12
+ spec.description = %q{cop file for my project}
13
+ spec.homepage = ''
14
+
15
+ spec.files = `git ls-files -z`.split("\x0")
16
+ spec.require_paths = ['lib']
17
+
18
+ spec.add_dependency 'rubocop', '~> 0.47'
19
+
20
+ spec.add_development_dependency 'bundler', '~> 1.14'
21
+ spec.add_development_dependency 'rake', '~> 10.0'
22
+ end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sansan
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2017-03-15 00:00:00.000000000 Z
12
12
  dependencies:
@@ -58,7 +58,16 @@ email:
58
58
  executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
- files: []
61
+ files:
62
+ - Gemfile
63
+ - README.md
64
+ - Rakefile
65
+ - bin/console
66
+ - bin/setup
67
+ - config/rubocop.yml
68
+ - lib/pulis.rb
69
+ - lib/pulis/version.rb
70
+ - pulis.gemspec
62
71
  homepage: ''
63
72
  licenses: []
64
73
  metadata: {}