anima 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ # v0.0.4 2013-01-21
2
+
3
+ * [changed] Update dependencies
4
+
1
5
  # v0.0.3 2012-12-13
2
6
 
3
7
  * [changed] Use the attributes_hash naming consistently.
@@ -1,44 +1,67 @@
1
+ # encoding: utf-8
2
+
1
3
  group :development do
2
- gem 'rake', '~> 0.9.2'
3
- gem 'rspec', '~> 2.12.0'
4
- gem 'yard', '~> 0.8.3'
4
+ gem 'rake', '~> 10.0.3'
5
+ gem 'rspec', '~> 2.12.0'
6
+ gem 'yard', '~> 0.8.3'
7
+ end
8
+
9
+ group :yard do
10
+ gem 'redcarpet', '~> 2.2.2', :platforms => [ :mri, :rbx ]
5
11
  end
6
12
 
7
13
  group :guard do
8
- gem 'guard', '~> 1.5.4'
14
+ gem 'guard', '~> 1.6.1'
9
15
  gem 'guard-bundler', '~> 1.0.0'
10
- gem 'guard-rspec', '~> 2.1.1'
11
- gem 'rb-inotify', :git => 'https://github.com/mbj/rb-inotify'
12
- end
16
+ gem 'guard-rspec', '~> 2.3.3'
13
17
 
14
- group :benchmarks do
15
- gem 'rbench', '~> 0.2.3'
16
- end
18
+ # file system change event handling
19
+ gem 'rb-fchange', '~> 0.0.6', :require => false
20
+ gem 'rb-fsevent', '~> 0.9.3', :require => false
21
+ gem 'rb-inotify', '~> 0.9.0', :require => false
17
22
 
18
- platform :jruby do
19
- group :jruby do
20
- gem 'jruby-openssl', '~> 0.7.4'
21
- end
23
+ # Remove this one https://github.com/guard/listen/pull/78 is released
24
+ gem 'listen', '~> 0.7.2', :git => 'https://github.com/guard/listen'
25
+
26
+ # notification handling
27
+ gem 'libnotify', '~> 0.8.0', :require => false
28
+ gem 'rb-notifu', '~> 0.0.4', :require => false
29
+ gem 'terminal-notifier-guard', '~> 1.5.3', :require => false
22
30
  end
23
31
 
24
32
  group :metrics do
25
- gem 'flay', '~> 1.4.2'
26
- gem 'flog', '~> 2.5.1'
27
- gem 'reek', '~> 1.2.8', :git => 'https://github.com/dkubb/reek.git'
33
+ gem 'backports', '~> 2.7.0'
34
+ gem 'flay', '~> 1.4.3'
35
+ gem 'flog', '~> 2.5.3'
36
+ gem 'mutant', '~> 0.2.15'
37
+ gem 'reek', '~> 1.2.13', :git => 'https://github.com/troessner/reek.git', :ref => 'ef77fcecaa21c9ebcbe4d9a79d41b0e70196bf18'
28
38
  gem 'roodi', '~> 2.1.0'
29
- gem 'yardstick', '~> 0.8.0'
30
- gem 'mutant', '~> 0.2.5'
39
+ gem 'yardstick', '~> 0.9.0'
31
40
 
32
41
  platforms :ruby_18, :ruby_19 do
33
42
  # this indirectly depends on ffi which does not build on ruby-head
34
43
  gem 'yard-spellcheck', '~> 0.1.5'
35
44
  end
36
45
 
46
+ platforms :mri_18 do
47
+ gem 'rcov', '~> 1.0.0'
48
+ end
49
+
37
50
  platforms :mri_19 do
38
- gem 'simplecov', '~> 0.7'
51
+ gem 'simplecov', '~> 0.7.1'
39
52
  end
40
53
 
41
54
  platforms :rbx do
42
- gem 'pelusa', '~> 0.2.1'
55
+ gem 'pelusa', '~> 0.2.2'
56
+ end
57
+ end
58
+
59
+ group :benchmarks do
60
+ gem 'rbench', '~> 0.2.3'
61
+ end
62
+
63
+ platform :jruby do
64
+ group :jruby do
65
+ gem 'jruby-openssl', '~> 0.8.2'
43
66
  end
44
67
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'anima'
5
- s.version = '0.0.3'
5
+ s.version = '0.0.4'
6
6
 
7
7
  s.authors = ['Markus Schirp']
8
8
  s.email = 'mbj@seonic.net'
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
14
14
  s.require_paths = %w(lib)
15
15
  s.extra_rdoc_files = %w(README.md)
16
16
 
17
- s.add_dependency('backports', '~> 2.6.4')
18
- s.add_dependency('adamantium', '~> 0.0.3')
19
- s.add_dependency('equalizer', '~> 0.0.1')
17
+ s.add_dependency('backports', '~> 2.7.0')
18
+ s.add_dependency('adamantium', '~> 0.0.5')
19
+ s.add_dependency('equalizer', '~> 0.0.3')
20
20
  s.add_dependency('abstract_type', '~> 0.0.2')
21
21
  end
@@ -6,6 +6,9 @@ require 'rspec'
6
6
  # require spec support files and shared behavior
7
7
  Dir[File.expand_path('../{support,shared}/**/*.rb', __FILE__)].each { |f| require(f) }
8
8
 
9
+ if RUBY_VERSION < '1.9'
10
+ require 'rspec/autorun'
11
+ end
9
12
 
10
13
  RSpec.configure do |config|
11
14
  end
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ describe Anima, '#attributes' do
4
+ subject { object.attributes }
5
+
6
+ let(:object) { described_class.new(:foo) }
7
+
8
+ it { should eql([Anima::Attribute.new(:foo)]) }
9
+ it { should be_frozen }
10
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anima
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-14 00:00:00.000000000 Z
12
+ date: 2013-01-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: backports
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 2.6.4
21
+ version: 2.7.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 2.6.4
29
+ version: 2.7.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: adamantium
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: 0.0.3
37
+ version: 0.0.5
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 0.0.3
45
+ version: 0.0.5
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: equalizer
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: 0.0.1
53
+ version: 0.0.3
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ dependencies:
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 0.0.1
61
+ version: 0.0.3
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: abstract_type
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -115,6 +115,7 @@ files:
115
115
  - spec/unit/anima/attribute/load_spec.rb
116
116
  - spec/unit/anima/attribute/set_spec.rb
117
117
  - spec/unit/anima/attributes_hash_spec.rb
118
+ - spec/unit/anima/attributes_spec.rb
118
119
  - spec/unit/anima/error/message_spec.rb
119
120
  - spec/unit/anima/included_spec.rb
120
121
  - spec/unit/anima/initialize_instance_spec.rb
@@ -138,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
139
  version: '0'
139
140
  requirements: []
140
141
  rubyforge_project:
141
- rubygems_version: 1.8.24
142
+ rubygems_version: 1.8.23
142
143
  signing_key:
143
144
  specification_version: 3
144
145
  summary: Attributes for Plain Old Ruby Objects Experiment
@@ -156,6 +157,7 @@ test_files:
156
157
  - spec/unit/anima/attribute/load_spec.rb
157
158
  - spec/unit/anima/attribute/set_spec.rb
158
159
  - spec/unit/anima/attributes_hash_spec.rb
160
+ - spec/unit/anima/attributes_spec.rb
159
161
  - spec/unit/anima/error/message_spec.rb
160
162
  - spec/unit/anima/included_spec.rb
161
163
  - spec/unit/anima/initialize_instance_spec.rb