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 0b07919 commit af7cad3
Show file tree
Hide file tree
Showing 6 changed files with 108 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

85 changes: 83 additions & 2 deletions .rubocop.yml
@@ -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
3 changes: 3 additions & 0 deletions .travis.yml
@@ -1,10 +1,13 @@
before_install:
- gem install bundler -v '< 2'
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- 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
Expand Down
22 changes: 20 additions & 2 deletions Gemfile
@@ -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
@@ -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 af7cad3

Please sign in to comment.