gabrielhase-bitmask-attribute 0.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +1 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/gabrielhase-bitmask-attribute.gemspec +53 -0
- metadata +10 -7
data/README.markdown
CHANGED
@@ -6,6 +6,7 @@ Transparent manipulation of bitmask attributes.
|
|
6
6
|
About this Fork
|
7
7
|
---------------
|
8
8
|
This Fork is just a little tweak to bruce/bitmask_attribute in order to replace the depreciated Kernel#returning function.
|
9
|
+
To install this fork run: gem install gabrielhase-bitmask-attribute
|
9
10
|
|
10
11
|
Example
|
11
12
|
-------
|
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ begin
|
|
9
9
|
gem.email = "gabriel.hase@gmail.com"
|
10
10
|
gem.homepage = "http://github.com/gabrielhase/bitmask-attribute"
|
11
11
|
gem.authors = ["Bruce Williams, Gabriel Hase"]
|
12
|
-
gem.add_dependency 'activerecord'
|
12
|
+
gem.add_dependency 'activerecord', '>=2.3.7'
|
13
13
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
14
14
|
end
|
15
15
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
1.0.1
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{gabrielhase-bitmask-attribute}
|
8
|
+
s.version = "1.0.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Bruce Williams, Gabriel Hase"]
|
12
|
+
s.date = %q{2011-05-17}
|
13
|
+
s.email = %q{gabriel.hase@gmail.com}
|
14
|
+
s.extra_rdoc_files = [
|
15
|
+
"LICENSE",
|
16
|
+
"README.markdown"
|
17
|
+
]
|
18
|
+
s.files = [
|
19
|
+
".document",
|
20
|
+
"LICENSE",
|
21
|
+
"README.markdown",
|
22
|
+
"Rakefile",
|
23
|
+
"VERSION",
|
24
|
+
"gabrielhase-bitmask-attribute.gemspec",
|
25
|
+
"lib/bitmask-attribute.rb",
|
26
|
+
"lib/bitmask_attribute.rb",
|
27
|
+
"lib/bitmask_attribute/value_proxy.rb",
|
28
|
+
"rails/init.rb",
|
29
|
+
"test/bitmask_attribute_test.rb",
|
30
|
+
"test/test_helper.rb"
|
31
|
+
]
|
32
|
+
s.homepage = %q{http://github.com/gabrielhase/bitmask-attribute}
|
33
|
+
s.require_paths = ["lib"]
|
34
|
+
s.rubygems_version = %q{1.7.2}
|
35
|
+
s.summary = %q{Simple bitmask attribute support for ActiveRecord. Forked from bruce/bitmask_attribute for Rails 2.3.11 support.}
|
36
|
+
s.test_files = [
|
37
|
+
"test/bitmask_attribute_test.rb",
|
38
|
+
"test/test_helper.rb"
|
39
|
+
]
|
40
|
+
|
41
|
+
if s.respond_to? :specification_version then
|
42
|
+
s.specification_version = 3
|
43
|
+
|
44
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
45
|
+
s.add_runtime_dependency(%q<activerecord>, [">= 2.3.7"])
|
46
|
+
else
|
47
|
+
s.add_dependency(%q<activerecord>, [">= 2.3.7"])
|
48
|
+
end
|
49
|
+
else
|
50
|
+
s.add_dependency(%q<activerecord>, [">= 2.3.7"])
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gabrielhase-bitmask-attribute
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
|
+
- 1
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.0.0
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bruce Williams, Gabriel Hase
|
@@ -25,10 +25,12 @@ dependencies:
|
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
hash:
|
28
|
+
hash: 13
|
29
29
|
segments:
|
30
|
-
-
|
31
|
-
|
30
|
+
- 2
|
31
|
+
- 3
|
32
|
+
- 7
|
33
|
+
version: 2.3.7
|
32
34
|
type: :runtime
|
33
35
|
version_requirements: *id001
|
34
36
|
description:
|
@@ -46,6 +48,7 @@ files:
|
|
46
48
|
- README.markdown
|
47
49
|
- Rakefile
|
48
50
|
- VERSION
|
51
|
+
- gabrielhase-bitmask-attribute.gemspec
|
49
52
|
- lib/bitmask-attribute.rb
|
50
53
|
- lib/bitmask_attribute.rb
|
51
54
|
- lib/bitmask_attribute/value_proxy.rb
|