ikazuchi 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c432e5a288bb5dbf269ef809f06d2c4728b6d5ff
4
- data.tar.gz: 8b1d457f148b77aa38618bd8be4712bb30b04f89
3
+ metadata.gz: 6e419b3585a679672be9e76e5096cbce4b81680b
4
+ data.tar.gz: a7e421a2205f428a58bc5865944be2877d9717d3
5
5
  SHA512:
6
- metadata.gz: 7b190187317b822632ed42dba5ad4308f646e076cd39da2d3822acf3a4b235271c884a508aa511d683143f2fb2e0170b21b45e43c3ef7e9b11391e69e67eec04
7
- data.tar.gz: 65b445040759befc2419463d895f8e43fe3634eece59a2b3edf8711e5e3cc923226f820070e13afce9ffed751e386818bd25a6e7517eda751e34890b0cc997c7
6
+ metadata.gz: 031753eff9e5c31d637a0a7d74ff2fe14fb84683b9cc06605daf0994228d9147423cc0516df44b156b6123ef86910cb33e0549864bddd278cf7248e0dee3284d
7
+ data.tar.gz: b0679af7d5b1be697ed71779595ed7875b5a7d3a4008f113e15df22366110829c315d39bbabd4a4c5ee88e7213d83696465d5970250c1844d73c921b4459de8e
@@ -0,0 +1,6 @@
1
+ Metrics/LineLength:
2
+ Enabled: false
3
+ Style/Documentation:
4
+ Enabled: false
5
+ Style/RegexpLiteral:
6
+ MaxSlashes: 0
@@ -2,3 +2,6 @@ language: ruby
2
2
  rvm:
3
3
  - 2.0.0
4
4
  - 2.1.2
5
+ script:
6
+ - bundle exec rake spec
7
+ - bundle exec rubocop
data/Gemfile CHANGED
@@ -1,4 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
-
data/Rakefile CHANGED
@@ -3,4 +3,4 @@ require 'rspec/core/rake_task'
3
3
 
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
 
6
- task :default => :spec
6
+ task default: :spec
@@ -5,23 +5,23 @@ require 'ikazuchi/version'
5
5
  require 'ikazuchi/definition'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
- spec.name = "ikazuchi"
8
+ spec.name = 'ikazuchi'
9
9
  spec.version = Ikazuchi::VERSION
10
- spec.authors = ["masarakki"]
11
- spec.email = ["masaki@hisme.net"]
12
- spec.description = %q{meta-package of useful gems for rails development}
13
- spec.summary = %q{meta-package of useful gems for rails development}
14
- spec.homepage = "https://github.com/masarakki/ikazuchi"
15
- spec.license = "MIT"
10
+ spec.authors = ['masarakki']
11
+ spec.email = ['masaki@hisme.net']
12
+ spec.description = 'meta-package of useful gems for rails development'
13
+ spec.summary = 'meta-package of useful gems for rails development'
14
+ spec.homepage = 'https://github.com/masarakki/ikazuchi'
15
+ spec.license = 'MIT'
16
16
 
17
- spec.files = `git ls-files`.split($/)
17
+ spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
18
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
- spec.require_paths = ["lib"]
20
+ spec.require_paths = ['lib']
21
21
 
22
- spec.add_development_dependency "bundler", "~> 1.3"
23
- spec.add_development_dependency "rake"
24
- spec.add_development_dependency "rspec"
22
+ spec.add_development_dependency 'bundler', '~> 1.3'
23
+ spec.add_development_dependency 'rake'
24
+ spec.add_development_dependency 'rspec'
25
25
 
26
26
  Ikazuchi::Definition.dependencies.each do |dependency|
27
27
  spec.add_dependency dependency.name, dependency.requirement.to_s
@@ -1,3 +1,3 @@
1
- require "ikazuchi/version"
2
- require "ikazuchi/definition"
1
+ require 'ikazuchi/version'
2
+ require 'ikazuchi/definition'
3
3
  require 'ikazuchi/railtie' if defined? Rails
@@ -9,13 +9,14 @@ group :development, :test do
9
9
  gem 'guard-spring'
10
10
  gem 'spring-commands-rspec'
11
11
  gem 'rspec-rails'
12
- gem 'libnotify', :require => false
13
- gem 'growl', :require => false
12
+ gem 'libnotify', require: false
13
+ gem 'growl', require: false
14
14
 
15
15
  gem 'factory_girl_rails'
16
- gem 'simplecov', :require => false
17
- gem 'simplecov-rcov', :require => false
18
- gem 'ci_reporter_rspec', :require => false
16
+ gem 'simplecov', require: false
17
+ gem 'simplecov-rcov', require: false
18
+ gem 'ci_reporter_rspec', require: false
19
+ gem 'rubocop'
19
20
 
20
21
  gem 'pry'
21
22
  gem 'pry-rails'
@@ -27,11 +27,11 @@ module Ikazuchi
27
27
 
28
28
  class << self
29
29
  def require!(*groups)
30
- self.new.require!(*groups)
30
+ new.require!(*groups)
31
31
  end
32
32
 
33
33
  def dependencies
34
- self.new.dependencies
34
+ new.dependencies
35
35
  end
36
36
  end
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module Ikazuchi
2
- VERSION = "0.1.1"
2
+ VERSION = '0.1.2'
3
3
  end
@@ -1,5 +1,5 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Ikazuchi::Definition do
4
- it { expect(Ikazuchi::Definition.dependencies).to all( be_a Bundler::Dependency ) }
4
+ it { expect(Ikazuchi::Definition.dependencies).to all(be_a Bundler::Dependency) }
5
5
  end
@@ -14,65 +14,63 @@
14
14
  # users commonly want.
15
15
  #
16
16
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
- RSpec.configure do |config|
18
- # The settings below are suggested to provide a good initial experience
19
- # with RSpec, but feel free to customize to your heart's content.
20
- =begin
21
- # These two settings work together to allow you to limit a spec run
22
- # to individual examples or groups you care about by tagging them with
23
- # `:focus` metadata. When nothing is tagged with `:focus`, all examples
24
- # get run.
25
- config.filter_run :focus
26
- config.run_all_when_everything_filtered = true
27
-
28
- # Many RSpec users commonly either run the entire suite or an individual
29
- # file, and it's useful to allow more verbose output when running an
30
- # individual spec file.
31
- if config.files_to_run.one?
32
- # Use the documentation formatter for detailed output,
33
- # unless a formatter has already been configured
34
- # (e.g. via a command-line flag).
35
- config.default_formatter = 'doc'
36
- end
37
-
38
- # Print the 10 slowest examples and example groups at the
39
- # end of the spec run, to help surface which specs are running
40
- # particularly slow.
41
- config.profile_examples = 10
42
-
43
- # Run specs in random order to surface order dependencies. If you find an
44
- # order dependency and want to debug it, you can fix the order by providing
45
- # the seed, which is printed after each run.
46
- # --seed 1234
47
- config.order = :random
48
-
49
- # Seed global randomization in this process using the `--seed` CLI option.
50
- # Setting this allows you to use `--seed` to deterministically reproduce
51
- # test failures related to randomization by passing the same `--seed` value
52
- # as the one that triggered the failure.
53
- Kernel.srand config.seed
54
-
55
- # rspec-expectations config goes here. You can use an alternate
56
- # assertion/expectation library such as wrong or the stdlib/minitest
57
- # assertions if you prefer.
58
- config.expect_with :rspec do |expectations|
59
- # Enable only the newer, non-monkey-patching expect syntax.
60
- # For more details, see:
61
- # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
62
- expectations.syntax = :expect
63
- end
64
-
65
- # rspec-mocks config goes here. You can use an alternate test double
66
- # library (such as bogus or mocha) by changing the `mock_with` option here.
67
- config.mock_with :rspec do |mocks|
68
- # Enable only the newer, non-monkey-patching expect syntax.
69
- # For more details, see:
70
- # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
71
- mocks.syntax = :expect
72
-
73
- # Prevents you from mocking or stubbing a method that does not exist on
74
- # a real object. This is generally recommended.
75
- mocks.verify_partial_doubles = true
76
- end
77
- =end
17
+ RSpec.configure do |_config|
18
+ # The settings below are suggested to provide a good initial experience
19
+ # with RSpec, but feel free to customize to your heart's content.
20
+ # # These two settings work together to allow you to limit a spec run
21
+ # # to individual examples or groups you care about by tagging them with
22
+ # # `:focus` metadata. When nothing is tagged with `:focus`, all examples
23
+ # # get run.
24
+ # config.filter_run :focus
25
+ # config.run_all_when_everything_filtered = true
26
+ #
27
+ # # Many RSpec users commonly either run the entire suite or an individual
28
+ # # file, and it's useful to allow more verbose output when running an
29
+ # # individual spec file.
30
+ # if config.files_to_run.one?
31
+ # # Use the documentation formatter for detailed output,
32
+ # # unless a formatter has already been configured
33
+ # # (e.g. via a command-line flag).
34
+ # config.default_formatter = 'doc'
35
+ # end
36
+ #
37
+ # # Print the 10 slowest examples and example groups at the
38
+ # # end of the spec run, to help surface which specs are running
39
+ # # particularly slow.
40
+ # config.profile_examples = 10
41
+ #
42
+ # # Run specs in random order to surface order dependencies. If you find an
43
+ # # order dependency and want to debug it, you can fix the order by providing
44
+ # # the seed, which is printed after each run.
45
+ # # --seed 1234
46
+ # config.order = :random
47
+ #
48
+ # # Seed global randomization in this process using the `--seed` CLI option.
49
+ # # Setting this allows you to use `--seed` to deterministically reproduce
50
+ # # test failures related to randomization by passing the same `--seed` value
51
+ # # as the one that triggered the failure.
52
+ # Kernel.srand config.seed
53
+ #
54
+ # # rspec-expectations config goes here. You can use an alternate
55
+ # # assertion/expectation library such as wrong or the stdlib/minitest
56
+ # # assertions if you prefer.
57
+ # config.expect_with :rspec do |expectations|
58
+ # # Enable only the newer, non-monkey-patching expect syntax.
59
+ # # For more details, see:
60
+ # # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
61
+ # expectations.syntax = :expect
62
+ # end
63
+ #
64
+ # # rspec-mocks config goes here. You can use an alternate test double
65
+ # # library (such as bogus or mocha) by changing the `mock_with` option here.
66
+ # config.mock_with :rspec do |mocks|
67
+ # # Enable only the newer, non-monkey-patching expect syntax.
68
+ # # For more details, see:
69
+ # # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
70
+ # mocks.syntax = :expect
71
+ #
72
+ # # Prevents you from mocking or stubbing a method that does not exist on
73
+ # # a real object. This is generally recommended.
74
+ # mocks.verify_partial_doubles = true
75
+ # end
78
76
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ikazuchi
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
  - masarakki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-20 00:00:00.000000000 Z
11
+ date: 2014-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -234,6 +234,20 @@ dependencies:
234
234
  - - ">="
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: rubocop
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :runtime
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
237
251
  - !ruby/object:Gem::Dependency
238
252
  name: pry
239
253
  requirement: !ruby/object:Gem::Requirement
@@ -397,6 +411,7 @@ extra_rdoc_files: []
397
411
  files:
398
412
  - ".gitignore"
399
413
  - ".rspec"
414
+ - ".rubocop.yml"
400
415
  - ".travis.yml"
401
416
  - Gemfile
402
417
  - LICENSE.txt