one_offs 0.0.2 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/one_offs/runner.rb +1 -1
- data/lib/one_offs/tasks.rb +1 -1
- data/lib/one_offs/tracker.rb +2 -1
- data/lib/one_offs/version.rb +1 -1
- data/one_offs.gemspec +1 -1
- metadata +32 -59
data/lib/one_offs/runner.rb
CHANGED
@@ -16,7 +16,7 @@ module OneOffs
|
|
16
16
|
if(!Tracker.complete?(one_off_name))
|
17
17
|
puts "Running #{one_off}"
|
18
18
|
require one_off
|
19
|
-
one_off_class = one_off_name.scan(/\d_(.*)/).
|
19
|
+
one_off_class = one_off_name.scan(/\d_(.*)/).flatten.first.classify
|
20
20
|
Object.const_get(one_off_class).send(:process)
|
21
21
|
|
22
22
|
Tracker.complete(one_off_name)
|
data/lib/one_offs/tasks.rb
CHANGED
data/lib/one_offs/tracker.rb
CHANGED
data/lib/one_offs/version.rb
CHANGED
data/one_offs.gemspec
CHANGED
@@ -18,5 +18,5 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.add_dependency(%q<activerecord>, ['
|
21
|
+
s.add_dependency(%q<activerecord>, ['>= 1.15.6'])
|
22
22
|
end
|
metadata
CHANGED
@@ -1,56 +1,39 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: one_offs
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 2
|
10
|
-
version: 0.0.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Jatin Naik
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-08-15 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: activerecord
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 7
|
29
|
-
segments:
|
30
|
-
- 3
|
31
|
-
- 0
|
32
|
-
- 0
|
33
|
-
version: 3.0.0
|
34
|
-
- - ">="
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
hash: 39
|
37
|
-
segments:
|
38
|
-
- 1
|
39
|
-
- 15
|
40
|
-
- 6
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
41
21
|
version: 1.15.6
|
42
22
|
type: :runtime
|
43
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.15.6
|
44
30
|
description: Track and manage your one off scripts with rake
|
45
|
-
email:
|
31
|
+
email:
|
46
32
|
- jsnaik@gmail.com
|
47
33
|
executables: []
|
48
|
-
|
49
34
|
extensions: []
|
50
|
-
|
51
35
|
extra_rdoc_files: []
|
52
|
-
|
53
|
-
files:
|
36
|
+
files:
|
54
37
|
- .gitignore
|
55
38
|
- Gemfile
|
56
39
|
- LICENCE
|
@@ -63,36 +46,26 @@ files:
|
|
63
46
|
- one_offs.gemspec
|
64
47
|
homepage: http://github.com/tinygrasshopper/one_offs
|
65
48
|
licenses: []
|
66
|
-
|
67
49
|
post_install_message:
|
68
50
|
rdoc_options: []
|
69
|
-
|
70
|
-
require_paths:
|
51
|
+
require_paths:
|
71
52
|
- lib
|
72
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
53
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
73
54
|
none: false
|
74
|
-
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
|
78
|
-
|
79
|
-
- 0
|
80
|
-
version: "0"
|
81
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ! '>='
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
60
|
none: false
|
83
|
-
requirements:
|
84
|
-
- -
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
|
87
|
-
segments:
|
88
|
-
- 0
|
89
|
-
version: "0"
|
61
|
+
requirements:
|
62
|
+
- - ! '>='
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '0'
|
90
65
|
requirements: []
|
91
|
-
|
92
66
|
rubyforge_project: one_offs
|
93
|
-
rubygems_version: 1.8.
|
67
|
+
rubygems_version: 1.8.24
|
94
68
|
signing_key:
|
95
69
|
specification_version: 3
|
96
70
|
summary: Track and manage your one off scripts
|
97
71
|
test_files: []
|
98
|
-
|