dar_da_da 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -2,3 +2,5 @@ source "http://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in dar_da_da.gemspec
4
4
  gemspec
5
+
6
+ gem "rake"
data/dar_da_da.gemspec CHANGED
@@ -19,10 +19,10 @@ Gem::Specification.new do |s|
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_dependency 'activesupport', '>= 3.0'
23
- s.add_dependency 'activerecord', '>= 3.0'
22
+ s.add_dependency 'activesupport', '~> 3.0'
23
+ s.add_dependency 'activerecord', '~> 3.0'
24
24
  # Actionpack is optional!
25
- s.add_development_dependency 'actionpack', '>= 3.0'
25
+ s.add_development_dependency 'actionpack', '~> 3.0'
26
26
  s.add_development_dependency 'rspec', '>= 2.4.0'
27
27
  s.add_development_dependency 'guard-rspec', '>=0.1.9'
28
28
  s.add_development_dependency 'growl', '>=1.0.3'
@@ -1,3 +1,5 @@
1
+ require 'active_support/core_ext/class/inheritable_attributes'
2
+
1
3
  module DarDaDa
2
4
  module ActiveRecordExtension
3
5
  def self.included(base)
@@ -1,3 +1,3 @@
1
1
  module DarDaDa
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -5,8 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ segments_generated: true
10
+ version: 0.0.2
10
11
  platform: ruby
11
12
  authors:
12
13
  - Sebastian Munz
@@ -14,54 +15,56 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-04-23 00:00:00 +02:00
18
+ date: 2011-11-10 00:00:00 +01:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: activesupport
22
- prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
- - - ">="
26
+ - - ~>
27
27
  - !ruby/object:Gem::Version
28
28
  segments:
29
29
  - 3
30
30
  - 0
31
+ segments_generated: true
31
32
  version: "3.0"
32
33
  type: :runtime
34
+ prerelease: false
33
35
  version_requirements: *id001
34
36
  - !ruby/object:Gem::Dependency
35
37
  name: activerecord
36
- prerelease: false
37
38
  requirement: &id002 !ruby/object:Gem::Requirement
38
39
  none: false
39
40
  requirements:
40
- - - ">="
41
+ - - ~>
41
42
  - !ruby/object:Gem::Version
42
43
  segments:
43
44
  - 3
44
45
  - 0
46
+ segments_generated: true
45
47
  version: "3.0"
46
48
  type: :runtime
49
+ prerelease: false
47
50
  version_requirements: *id002
48
51
  - !ruby/object:Gem::Dependency
49
52
  name: actionpack
50
- prerelease: false
51
53
  requirement: &id003 !ruby/object:Gem::Requirement
52
54
  none: false
53
55
  requirements:
54
- - - ">="
56
+ - - ~>
55
57
  - !ruby/object:Gem::Version
56
58
  segments:
57
59
  - 3
58
60
  - 0
61
+ segments_generated: true
59
62
  version: "3.0"
60
63
  type: :development
64
+ prerelease: false
61
65
  version_requirements: *id003
62
66
  - !ruby/object:Gem::Dependency
63
67
  name: rspec
64
- prerelease: false
65
68
  requirement: &id004 !ruby/object:Gem::Requirement
66
69
  none: false
67
70
  requirements:
@@ -71,12 +74,13 @@ dependencies:
71
74
  - 2
72
75
  - 4
73
76
  - 0
77
+ segments_generated: true
74
78
  version: 2.4.0
75
79
  type: :development
80
+ prerelease: false
76
81
  version_requirements: *id004
77
82
  - !ruby/object:Gem::Dependency
78
83
  name: guard-rspec
79
- prerelease: false
80
84
  requirement: &id005 !ruby/object:Gem::Requirement
81
85
  none: false
82
86
  requirements:
@@ -86,12 +90,13 @@ dependencies:
86
90
  - 0
87
91
  - 1
88
92
  - 9
93
+ segments_generated: true
89
94
  version: 0.1.9
90
95
  type: :development
96
+ prerelease: false
91
97
  version_requirements: *id005
92
98
  - !ruby/object:Gem::Dependency
93
99
  name: growl
94
- prerelease: false
95
100
  requirement: &id006 !ruby/object:Gem::Requirement
96
101
  none: false
97
102
  requirements:
@@ -101,12 +106,13 @@ dependencies:
101
106
  - 1
102
107
  - 0
103
108
  - 3
109
+ segments_generated: true
104
110
  version: 1.0.3
105
111
  type: :development
112
+ prerelease: false
106
113
  version_requirements: *id006
107
114
  - !ruby/object:Gem::Dependency
108
115
  name: rb-fsevent
109
- prerelease: false
110
116
  requirement: &id007 !ruby/object:Gem::Requirement
111
117
  none: false
112
118
  requirements:
@@ -116,12 +122,13 @@ dependencies:
116
122
  - 0
117
123
  - 3
118
124
  - 9
125
+ segments_generated: true
119
126
  version: 0.3.9
120
127
  type: :development
128
+ prerelease: false
121
129
  version_requirements: *id007
122
130
  - !ruby/object:Gem::Dependency
123
131
  name: sqlite3-ruby
124
- prerelease: false
125
132
  requirement: &id008 !ruby/object:Gem::Requirement
126
133
  none: false
127
134
  requirements:
@@ -129,8 +136,10 @@ dependencies:
129
136
  - !ruby/object:Gem::Version
130
137
  segments:
131
138
  - 0
139
+ segments_generated: true
132
140
  version: "0"
133
141
  type: :development
142
+ prerelease: false
134
143
  version_requirements: *id008
135
144
  description: Roles easy like sunday morning.
136
145
  email:
@@ -161,7 +170,6 @@ files:
161
170
  - spec/dar_da_da/config_spec.rb
162
171
  - spec/dar_da_da/role_spec.rb
163
172
  - spec/spec_helper.rb
164
- - spec/watchr.rb
165
173
  has_rdoc: true
166
174
  homepage: https://github.com/yolk/dar_da_da
167
175
  licenses: []
@@ -176,16 +184,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
184
  requirements:
177
185
  - - ">="
178
186
  - !ruby/object:Gem::Version
187
+ hash: -433884475567382819
179
188
  segments:
180
189
  - 0
190
+ segments_generated: true
181
191
  version: "0"
182
192
  required_rubygems_version: !ruby/object:Gem::Requirement
183
193
  none: false
184
194
  requirements:
185
195
  - - ">="
186
196
  - !ruby/object:Gem::Version
197
+ hash: -433884475567382819
187
198
  segments:
188
199
  - 0
200
+ segments_generated: true
189
201
  version: "0"
190
202
  requirements: []
191
203
 
@@ -200,4 +212,3 @@ test_files:
200
212
  - spec/dar_da_da/config_spec.rb
201
213
  - spec/dar_da_da/role_spec.rb
202
214
  - spec/spec_helper.rb
203
- - spec/watchr.rb
data/spec/watchr.rb DELETED
@@ -1,48 +0,0 @@
1
- # Run me with:
2
- #
3
- # $ watchr specs.watchr.rb
4
-
5
- # --------------------------------------------------
6
- # Convenience Methods
7
- # --------------------------------------------------
8
-
9
- def run(files)
10
- files = Array(files).reject do |file|
11
- skip = !File.exist?(file)
12
- puts "*** #{file} skipped - does not exist!" if skip
13
- skip
14
- end
15
-
16
- if files.any?
17
- cmd = "spec -c #{files.join(' ')}"
18
- puts("*** Executing #{cmd}")
19
- system(cmd)
20
- end
21
- end
22
-
23
- def run_all_tests
24
- puts "\n***** Running all tests *****\n"
25
- cmd = Dir['spec/**/*_spec.rb']
26
- run(cmd)
27
- end
28
-
29
- # --------------------------------------------------
30
- # Watchr Rules
31
- # --------------------------------------------------
32
- watch( '^lib/(.*)\.rb' ) { |m| run( "spec/%s_spec.rb" % m[1] ) }
33
- watch( '^lib/(.*)/(.*)\.rb' ) { |m| run( "spec/#{m[1]}/#{m[2]}_spec.rb" ) }
34
- watch( '^spec/(.*)_spec\.rb' ) { |m| run( "spec/%s_spec.rb" % m[1] ) }
35
- watch( '^spec/spec_helper\.rb' ) { run_all_tests }
36
-
37
- # --------------------------------------------------
38
- # Signal Handling
39
- # --------------------------------------------------
40
- # Ctrl-\
41
- Signal.trap('QUIT') do
42
- run_all_tests
43
- end
44
-
45
- # Ctrl-C
46
- Signal.trap('INT') { abort("\n") }
47
-
48
- puts "*** Watching for changes..."