Skip to content

Commit

Permalink
Remove 'culture' submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
emesepadanyi committed Jul 22, 2020
1 parent 6e4b9ed commit 0786025
Show file tree
Hide file tree
Showing 6 changed files with 109 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

85 changes: 83 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,83 @@
inherit_from:
- culture/rubocop/rubocop.yml
Lint/HandleExceptions:
Enabled: false

Lint/LiteralInCondition:
Enabled: false

Lint/UnusedBlockArgument:
Enabled: false

Metrics/MethodLength:
CountComments: false
Max: 20

Metrics/LineLength:
Max: 120

Metrics/CyclomaticComplexity:
Max: 9

Metrics/PerceivedComplexity:
Max: 9

Metrics/AbcSize:
Max: 20

Style/Documentation:
Enabled: false

Style/ModuleFunction:
Enabled: false

Style/AndOr:
Enabled: true

Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes

Style/EachWithObject:
Enabled: true

Style/InfiniteLoop:
Enabled: false

Style/SpaceAroundEqualsInParameterDefault:
Enabled: false

Style/AccessModifierIndentation:
Enabled: false

Style/TrailingCommaInArguments:
Enabled: true
EnforcedStyleForMultiline: comma

Style/TrailingCommaInLiteral:
Enabled: true
EnforcedStyleForMultiline: comma

Style/SpaceInsideBlockBraces:
Enabled: true
EnforcedStyle: space

Style/SpaceInsideHashLiteralBraces:
Enabled: true
EnforcedStyle: no_space

Style/EmptyLinesAroundAccessModifier:
Enabled: false

Style/RescueModifier:
Enabled: false

Style/GlobalVars:
Enabled: false

Style/FormatString:
EnforcedStyle: percent

Style/TrailingUnderscoreVariable:
Enabled: false

Style/ParallelAssignment:
Enabled: false
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
before_install:
- gem install bundler -v '1.17.3'
- PATH="/usr/lib/ccache:$PATH" # enable ccache
- export LD_LIBRARY_PATH=$HOME/lib # custom libs (for execution)
- export PKG_CONFIG_PATH=$HOME/lib/pkgconfig # custom libs (for linking)
- export BUNDLE_PATH=$HOME/.bundle # bundle caching
- ( mkdir -p vendor && cd vendor && git clone --depth 1 https://github.com/paddor/czmq-ffi-gen && cd czmq-ffi-gen && ci-scripts/install-libzmq && ci-scripts/install-libczmq; )
sudo: false

cache:
directories:
- $HOME/.ccache
- $HOME/.bundle
script: bundle exec rake ci
language: ruby
install: bundle install --without=development
install: bundle _1.17.3_ install --without=development
rvm:
- rbx
- 2.2.3
- jruby-9.1.2.0
- 2.1.8
- 2.2.3
- 2.3.1
- ruby-head
- jruby-head
Expand Down
22 changes: 20 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
require File.expand_path("../culture/sync", __FILE__)
Celluloid::Sync::Gemfile[self]
source "https://rubygems.org"

gemspec

group :development, :test do
gem "benchmark_suite"
gem "bundler"
gem "coveralls"
gem "cztop"
gem "dotenv"
gem "guard", "=2.13.0"
gem "guard-rspec"
gem "listen", '=3.0.3'
gem "nenv"
gem "rubocop"
gem "rspec"
gem "rspec-retry"
gem "rake"
gem "transpec"
end
5 changes: 2 additions & 3 deletions celluloid-zmq.gemspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
require File.expand_path("../culture/sync", __FILE__)
require File.expand_path('../lib/celluloid/zmq/version', __FILE__)

Gem::Specification.new do |gem|
gem.authors = ["Tony Arcieri"]
Expand All @@ -12,13 +12,12 @@ Gem::Specification.new do |gem|
gem.name = "celluloid-zmq"
gem.version = Celluloid::ZMQ::VERSION

Celluloid::Sync::Gemspec[gem]
gem.add_dependency "cztop"
gem.add_dependency "celluloid"

# Files
ignores = File.read(".gitignore").split(/\r?\n/).reject { |f| f =~ /^(#.+|\s*)$/ }.map { |f| Dir[f] }.flatten
gem.files = (Dir["**/*", ".gitignore"] - ignores).reject { |f| !File.file?(f) }
gem.test_files = (Dir["spec/**/*", ".gitignore"] - ignores).reject { |f| !File.file?(f) }
# gem.executables = Dir['bin/*'].map { |f| File.basename(f) }
gem.require_paths = ["lib"]
end
1 change: 0 additions & 1 deletion culture
Submodule culture deleted from befa16

0 comments on commit 0786025

Please sign in to comment.