concord 0.1.2 → 0.1.3

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: 2bdb5ade2038b5884813deb9d527d44ddeed1322
4
- data.tar.gz: 3f7a3684bd50c715622730568f9e99eb510273da
3
+ metadata.gz: 83c5ff7083dab553ef9985a6e0794a51f9b45d4c
4
+ data.tar.gz: 2078dec96e30f24efb25649e8bed103e5d9e075e
5
5
  SHA512:
6
- metadata.gz: ef6645627811abf8ea289ede8ed2ef4ed6af2b04c5b8548cef13a3697dafa2a13cffdc439b8cfc962c263d1cf24b1af3de71736608d066870001065af31b9316
7
- data.tar.gz: 798fe84211b8dca1afec360dc8b86b1d2519f605df699d21dd56314f1a54bc6f36d629a8afb257111b78d6cc2af311f174def3f38b239a0eb241b5146549e28c
6
+ metadata.gz: 80fa490197dfbc29267547e242fff01d57ff3ade5e049345eeaff0e5bfac59a822068750c85bf7c0909e29fcedfde4549457be1fcdcd4409f3be0e908226a60a
7
+ data.tar.gz: 34afb07cd65177e48800fb86537953f5e25346b5e0463672cd8981bebad91a0a5c1f27cb4298c4ae9aa26353e9b2f5af2946cca9a6b9319c16b2b250740bc1b4
@@ -0,0 +1,4 @@
1
+ ---
2
+ test:
3
+ override:
4
+ - bundle exec rake ci
data/.rspec CHANGED
@@ -3,3 +3,4 @@
3
3
  --profile
4
4
  --order random
5
5
  --fail-fast
6
+ --warnings
@@ -3,17 +3,18 @@
3
3
  group :development do
4
4
  gem 'rake', '~> 10.1.0'
5
5
  gem 'rspec', '~> 2.13.0'
6
- gem 'yard', '~> 0.8.6.1'
6
+ gem 'yard', '~> 0.8.6.2'
7
7
  end
8
8
 
9
9
  group :yard do
10
- gem 'kramdown', '~> 1.0.1'
10
+ gem 'kramdown', '~> 1.1.0'
11
11
  end
12
12
 
13
13
  group :guard do
14
14
  gem 'guard', '~> 1.8.1'
15
15
  gem 'guard-bundler', '~> 1.0.0'
16
16
  gem 'guard-rspec', '~> 3.0.2'
17
+ gem 'guard-rubocop', '~> 0.2.0'
17
18
 
18
19
  # file system change event handling
19
20
  gem 'listen', '~> 1.2.2'
@@ -28,20 +29,21 @@ group :guard do
28
29
  end
29
30
 
30
31
  group :metrics do
31
- gem 'backports', '~> 3.3', '>= 3.3.2'
32
32
  gem 'coveralls', '~> 0.6.7'
33
33
  gem 'flay', '~> 2.3.0'
34
34
  gem 'flog', '~> 4.1.0'
35
35
  gem 'reek', '~> 1.3.1', :git => 'https://github.com/troessner/reek.git'
36
+ gem 'rubocop', '~> 0.9.1'
36
37
  gem 'simplecov', '~> 0.7.1'
37
38
  gem 'yardstick', '~> 0.9.6'
38
39
 
39
- platforms :ruby_19 do
40
+ platforms :ruby_19, :ruby_20 do
41
+ gem 'mutant', '~> 0.3.0.beta13'
40
42
  gem 'yard-spellcheck', '~> 0.1.5'
41
43
  end
42
44
 
43
- platforms :ruby_19, :ruby_20 do
44
- gem 'mutant', '~> 0.3.0.beta6'
45
+ platforms :ruby_19 do
46
+ gem 'json', '~> 1.8.0'
45
47
  end
46
48
 
47
49
  platforms :rbx do
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'concord'
5
- s.version = '0.1.2'
5
+ s.version = '0.1.3'
6
6
  s.authors = ['Markus Schirp']
7
7
  s.email = ['mbj@schirp-dso.com']
8
8
  s.homepage = 'https://github.com/mbj/concord'
@@ -1,2 +1,2 @@
1
1
  ---
2
- threshold: 23.3
2
+ threshold: 25.5
@@ -69,8 +69,8 @@ class Concord < Module
69
69
  def define_readers(descendant)
70
70
  attribute_names = names
71
71
  descendant.class_eval do
72
- attr_reader *attribute_names
73
- protected *attribute_names
72
+ attr_reader(*attribute_names)
73
+ protected(*attribute_names)
74
74
  end
75
75
  end
76
76
 
@@ -93,6 +93,7 @@ class Concord < Module
93
93
  end
94
94
  ivars.zip(args) { |ivar, arg| instance_variable_set(ivar, arg) }
95
95
  end
96
+ private :initialize
96
97
  end
97
98
  end
98
99
 
@@ -10,10 +10,10 @@ describe Concord do
10
10
 
11
11
  let(:instance_a) { class_under_test.new(foo, bar) }
12
12
  let(:instance_b) { class_under_test.new(foo, bar) }
13
- let(:instance_c) { class_under_test.new(foo, mock('Baz')) }
13
+ let(:instance_c) { class_under_test.new(foo, double('Baz')) }
14
14
 
15
- let(:foo) { mock('Foo') }
16
- let(:bar) { mock('Bar') }
15
+ let(:foo) { double('Foo') }
16
+ let(:bar) { double('Bar') }
17
17
 
18
18
  context 'initializer lines' do
19
19
  it 'creates a private #initialize method' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concord
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-07 00:00:00.000000000 Z
11
+ date: 2013-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: adamantium
@@ -45,6 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - .circle.yml
48
49
  - .gitignore
49
50
  - .rspec
50
51
  - .travis.yml