commonthread-rails 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -1,55 +1,53 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{commonthread-rails}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["CommonThread"]
12
- s.date = %q{2010-09-14}
12
+ s.date = %q{2010-11-16}
13
13
  s.description = %q{commonthread-rails is a collection of things that make rails development better for us. It includes date formats, monkey patches to String, Array and NilClass to make things nicer. An Encrypter using blowfish. Also, some rails filters}
14
14
  s.email = %q{hello@commonthread.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README.rdoc"
17
+ "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "commonthread-rails.gemspec",
27
- "lib/bj/mixin/async.rb",
28
- "lib/commonthread-rails.rb",
29
- "lib/commonthread/date_formats.rb",
30
- "lib/commonthread/encrypter.rb",
31
- "lib/commonthread/filters.rb",
32
- "lib/commonthread/lipsum.rb",
33
- "lib/commonthread/monkey_patches.rb",
34
- "lib/resque/mixin/async.rb",
35
- "test/helper.rb",
36
- "test/test_monkey_patches.rb"
21
+ "LICENSE",
22
+ "README.rdoc",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "commonthread-rails.gemspec",
26
+ "lib/bj/mixin/async.rb",
27
+ "lib/commonthread-rails.rb",
28
+ "lib/commonthread/date_formats.rb",
29
+ "lib/commonthread/encrypter.rb",
30
+ "lib/commonthread/filters.rb",
31
+ "lib/commonthread/lipsum.rb",
32
+ "lib/commonthread/monkey_patches.rb",
33
+ "lib/resque/mixin/async.rb",
34
+ "test/helper.rb",
35
+ "test/test_monkey_patches.rb"
37
36
  ]
38
37
  s.homepage = %q{http://github.com/commonthread/commonthread-rails}
39
- s.rdoc_options = ["--charset=UTF-8"]
40
38
  s.require_paths = ["lib"]
41
- s.rubygems_version = %q{1.3.6}
39
+ s.rubygems_version = %q{1.3.7}
42
40
  s.summary = %q{commonthread-rails is a collection of things that make rails development better for us}
43
41
  s.test_files = [
44
42
  "test/helper.rb",
45
- "test/test_monkey_patches.rb"
43
+ "test/test_monkey_patches.rb"
46
44
  ]
47
45
 
48
46
  if s.respond_to? :specification_version then
49
47
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
50
48
  s.specification_version = 3
51
49
 
52
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
50
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
51
  s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
54
52
  s.add_runtime_dependency(%q<crypt>, [">= 0"])
55
53
  else
@@ -37,6 +37,10 @@ module Resque
37
37
  @queue || 'default'
38
38
  end
39
39
 
40
+ def queue=(queue_name)
41
+ @queue = queue_name
42
+ end
43
+
40
44
  def async(method, *args)
41
45
  Resque.enqueue(self, nil, method, *args)
42
46
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonthread-rails
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 17
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 3
8
- - 0
9
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - CommonThread
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-09-14 00:00:00 -05:00
18
+ date: 2010-11-16 00:00:00 -06:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: thoughtbot-shoulda
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 3
27
30
  segments:
28
31
  - 0
29
32
  version: "0"
@@ -33,9 +36,11 @@ dependencies:
33
36
  name: crypt
34
37
  prerelease: false
35
38
  requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
36
40
  requirements:
37
41
  - - ">="
38
42
  - !ruby/object:Gem::Version
43
+ hash: 3
39
44
  segments:
40
45
  - 0
41
46
  version: "0"
@@ -52,7 +57,6 @@ extra_rdoc_files:
52
57
  - README.rdoc
53
58
  files:
54
59
  - .document
55
- - .gitignore
56
60
  - LICENSE
57
61
  - README.rdoc
58
62
  - Rakefile
@@ -73,28 +77,32 @@ homepage: http://github.com/commonthread/commonthread-rails
73
77
  licenses: []
74
78
 
75
79
  post_install_message:
76
- rdoc_options:
77
- - --charset=UTF-8
80
+ rdoc_options: []
81
+
78
82
  require_paths:
79
83
  - lib
80
84
  required_ruby_version: !ruby/object:Gem::Requirement
85
+ none: false
81
86
  requirements:
82
87
  - - ">="
83
88
  - !ruby/object:Gem::Version
89
+ hash: 3
84
90
  segments:
85
91
  - 0
86
92
  version: "0"
87
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
+ none: false
88
95
  requirements:
89
96
  - - ">="
90
97
  - !ruby/object:Gem::Version
98
+ hash: 3
91
99
  segments:
92
100
  - 0
93
101
  version: "0"
94
102
  requirements: []
95
103
 
96
104
  rubyforge_project:
97
- rubygems_version: 1.3.6
105
+ rubygems_version: 1.3.7
98
106
  signing_key:
99
107
  specification_version: 3
100
108
  summary: commonthread-rails is a collection of things that make rails development better for us
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC