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 +4 -4
- data/.circle.yml +4 -0
- data/.rspec +1 -0
- data/Gemfile.devtools +8 -6
- data/concord.gemspec +1 -1
- data/config/flog.yml +1 -1
- data/lib/concord.rb +3 -2
- data/spec/unit/concord/universal_spec.rb +3 -3
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83c5ff7083dab553ef9985a6e0794a51f9b45d4c
|
4
|
+
data.tar.gz: 2078dec96e30f24efb25649e8bed103e5d9e075e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80fa490197dfbc29267547e242fff01d57ff3ade5e049345eeaff0e5bfac59a822068750c85bf7c0909e29fcedfde4549457be1fcdcd4409f3be0e908226a60a
|
7
|
+
data.tar.gz: 34afb07cd65177e48800fb86537953f5e25346b5e0463672cd8981bebad91a0a5c1f27cb4298c4ae9aa26353e9b2f5af2946cca9a6b9319c16b2b250740bc1b4
|
data/.circle.yml
ADDED
data/.rspec
CHANGED
data/Gemfile.devtools
CHANGED
@@ -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.
|
6
|
+
gem 'yard', '~> 0.8.6.2'
|
7
7
|
end
|
8
8
|
|
9
9
|
group :yard do
|
10
|
-
gem 'kramdown', '~> 1.0
|
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
|
44
|
-
gem '
|
45
|
+
platforms :ruby_19 do
|
46
|
+
gem 'json', '~> 1.8.0'
|
45
47
|
end
|
46
48
|
|
47
49
|
platforms :rbx do
|
data/concord.gemspec
CHANGED
data/config/flog.yml
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
---
|
2
|
-
threshold:
|
2
|
+
threshold: 25.5
|
data/lib/concord.rb
CHANGED
@@ -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
|
73
|
-
protected
|
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,
|
13
|
+
let(:instance_c) { class_under_test.new(foo, double('Baz')) }
|
14
14
|
|
15
|
-
let(:foo) {
|
16
|
-
let(: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.
|
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-
|
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
|