acts_as_decimal 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_DISABLE_SHARED_GEMS: "1"
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ # A sample Gemfile
2
+ source :gemcutter
3
+ #
4
+ gem "activerecord", ">=3.0.0.rc"
5
+
6
+ group :development do
7
+
8
+ gem "rspec", ">=2.0.0.beta.19"
9
+ gem "sqlite3-ruby"
10
+
11
+ end
@@ -0,0 +1,36 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.0.rc)
5
+ activesupport (= 3.0.0.rc)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.4.1)
8
+ activerecord (3.0.0.rc)
9
+ activemodel (= 3.0.0.rc)
10
+ activesupport (= 3.0.0.rc)
11
+ arel (~> 0.4.0)
12
+ tzinfo (~> 0.3.22)
13
+ activesupport (3.0.0.rc)
14
+ arel (0.4.0)
15
+ activesupport (>= 3.0.0.beta)
16
+ builder (2.1.2)
17
+ diff-lcs (1.1.2)
18
+ i18n (0.4.1)
19
+ rspec (2.0.0.beta.19)
20
+ rspec-core (= 2.0.0.beta.19)
21
+ rspec-expectations (= 2.0.0.beta.19)
22
+ rspec-mocks (= 2.0.0.beta.19)
23
+ rspec-core (2.0.0.beta.19)
24
+ rspec-expectations (2.0.0.beta.19)
25
+ diff-lcs (>= 1.1.2)
26
+ rspec-mocks (2.0.0.beta.19)
27
+ sqlite3-ruby (1.3.1)
28
+ tzinfo (0.3.22)
29
+
30
+ PLATFORMS
31
+ ruby
32
+
33
+ DEPENDENCIES
34
+ activerecord (>= 3.0.0.rc)
35
+ rspec (>= 2.0.0.beta.19)
36
+ sqlite3-ruby
data/Rakefile CHANGED
@@ -5,15 +5,16 @@ begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
7
  gem.name = "acts_as_decimal"
8
- gem.summary = "Treat an attribute as a decimal, storing it as an integer in the database."
9
- gem.description = "Rails 3 gem to treat an attribute as a decimal (storing and retrieving floating-point values) but storing it as an integer in the database (useful for prices and other money attributes)."
8
+ gem.summary = "Treat an attribute as if it were a decimal, storing it as an integer in the database."
9
+ gem.description = "Rails 3 gem to treat an attribute as a decimal (getting and setting floating-point values) but storing it as an integer in the database (useful for prices and other precision-needed attributes like money)."
10
10
  gem.email = "info@codegram.com"
11
11
  gem.homepage = "http://github.com/codegram/acts_as_decimal"
12
- gem.authors = ["Oriol Gual", "Josep Mª Bach", "Josep Jaume Rey"]
12
+ gem.authors = ["Oriol Gual", "Josep M. Bach", "Josep Jaume Rey"]
13
13
 
14
- gem.add_dependency 'activemodel', '>= 3.0.0.beta4'
14
+ gem.add_dependency 'activemodel', '>= 3.0.0.rc'
15
15
 
16
- gem.add_development_dependency "rspec", '>= 2.0.0.beta.12'
16
+ gem.add_development_dependency "rspec", '>= 2.0.0.beta.19'
17
+ gem.add_development_dependency 'activerecord', '>= 3.0.0.rc'
17
18
  end
18
19
  Jeweler::GemcutterTasks.new
19
20
  rescue LoadError
@@ -21,7 +22,7 @@ rescue LoadError
21
22
  end
22
23
 
23
24
  # Rake RSpec2 task stuff
24
- gem 'rspec', '>= 2.0.0.beta.12'
25
+ gem 'rspec', '>= 2.0.0.beta.19'
25
26
  gem 'rspec-expectations'
26
27
 
27
28
  require 'rspec/core/rake_task'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -5,21 +5,24 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{acts_as_decimal}
8
- s.version = "1.0.2"
8
+ s.version = "1.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Oriol Gual", "Josep M\302\252 Bach", "Josep Jaume Rey"]
12
- s.date = %q{2010-07-14}
13
- s.description = %q{Rails 3 gem to treat an attribute as a decimal (storing and retrieving floating-point values) but storing it as an integer in the database (useful for prices and other money attributes).}
11
+ s.authors = ["Oriol Gual", "Josep M. Bach", "Josep Jaume Rey"]
12
+ s.date = %q{2010-08-09}
13
+ s.description = %q{Rails 3 gem to treat an attribute as a decimal (getting and setting floating-point values) but storing it as an integer in the database (useful for prices and other precision-needed attributes like money).}
14
14
  s.email = %q{info@codegram.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
17
  "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
- ".document",
20
+ ".bundle/config",
21
+ ".document",
21
22
  ".gitignore",
22
23
  ".rspec",
24
+ "Gemfile",
25
+ "Gemfile.lock",
23
26
  "LICENSE",
24
27
  "README.rdoc",
25
28
  "Rakefile",
@@ -34,8 +37,8 @@ Gem::Specification.new do |s|
34
37
  s.homepage = %q{http://github.com/codegram/acts_as_decimal}
35
38
  s.rdoc_options = ["--charset=UTF-8"]
36
39
  s.require_paths = ["lib"]
37
- s.rubygems_version = %q{1.3.6}
38
- s.summary = %q{Treat an attribute as a decimal, storing it as an integer in the database.}
40
+ s.rubygems_version = %q{1.3.7}
41
+ s.summary = %q{Treat an attribute as if it were a decimal, storing it as an integer in the database.}
39
42
  s.test_files = [
40
43
  "spec/acts_as_decimal_spec.rb",
41
44
  "spec/model_builder.rb",
@@ -46,16 +49,19 @@ Gem::Specification.new do |s|
46
49
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
47
50
  s.specification_version = 3
48
51
 
49
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
50
- s.add_runtime_dependency(%q<activemodel>, [">= 3.0.0.beta4"])
51
- s.add_development_dependency(%q<rspec>, [">= 2.0.0.beta.12"])
52
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
+ s.add_runtime_dependency(%q<activemodel>, [">= 3.0.0.rc"])
54
+ s.add_development_dependency(%q<rspec>, [">= 2.0.0.beta.19"])
55
+ s.add_development_dependency(%q<activerecord>, [">= 3.0.0.rc"])
52
56
  else
53
- s.add_dependency(%q<activemodel>, [">= 3.0.0.beta4"])
54
- s.add_dependency(%q<rspec>, [">= 2.0.0.beta.12"])
57
+ s.add_dependency(%q<activemodel>, [">= 3.0.0.rc"])
58
+ s.add_dependency(%q<rspec>, [">= 2.0.0.beta.19"])
59
+ s.add_dependency(%q<activerecord>, [">= 3.0.0.rc"])
55
60
  end
56
61
  else
57
- s.add_dependency(%q<activemodel>, [">= 3.0.0.beta4"])
58
- s.add_dependency(%q<rspec>, [">= 2.0.0.beta.12"])
62
+ s.add_dependency(%q<activemodel>, [">= 3.0.0.rc"])
63
+ s.add_dependency(%q<rspec>, [">= 2.0.0.beta.19"])
64
+ s.add_dependency(%q<activerecord>, [">= 3.0.0.rc"])
59
65
  end
60
66
  end
61
67
 
@@ -4,12 +4,12 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
4
4
  require 'rubygems'
5
5
  require 'active_record'
6
6
 
7
- require 'lib/acts_as_decimal'
7
+ require 'acts_as_decimal'
8
8
  require 'rspec'
9
9
  require 'rspec/autorun'
10
10
 
11
11
  RAILS_ENV = "test"
12
- RAILS_VERSION = ENV['RAILS_VERSION'] || '3.0.0.beta4'
12
+ RAILS_VERSION = ENV['RAILS_VERSION'] || '3.0.0.rc'
13
13
 
14
14
  ActiveRecord::Base.establish_connection(
15
15
  :adapter => 'sqlite3',
metadata CHANGED
@@ -5,24 +5,25 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 2
9
- version: 1.0.2
8
+ - 3
9
+ version: 1.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Oriol Gual
13
- - "Josep M\xC2\xAA Bach"
13
+ - Josep M. Bach
14
14
  - Josep Jaume Rey
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-07-14 00:00:00 +02:00
19
+ date: 2010-08-09 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: activemodel
24
24
  prerelease: false
25
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
26
27
  requirements:
27
28
  - - ">="
28
29
  - !ruby/object:Gem::Version
@@ -30,14 +31,15 @@ dependencies:
30
31
  - 3
31
32
  - 0
32
33
  - 0
33
- - beta4
34
- version: 3.0.0.beta4
34
+ - rc
35
+ version: 3.0.0.rc
35
36
  type: :runtime
36
37
  version_requirements: *id001
37
38
  - !ruby/object:Gem::Dependency
38
39
  name: rspec
39
40
  prerelease: false
40
41
  requirement: &id002 !ruby/object:Gem::Requirement
42
+ none: false
41
43
  requirements:
42
44
  - - ">="
43
45
  - !ruby/object:Gem::Version
@@ -46,11 +48,27 @@ dependencies:
46
48
  - 0
47
49
  - 0
48
50
  - beta
49
- - 12
50
- version: 2.0.0.beta.12
51
+ - 19
52
+ version: 2.0.0.beta.19
51
53
  type: :development
52
54
  version_requirements: *id002
53
- description: Rails 3 gem to treat an attribute as a decimal (storing and retrieving floating-point values) but storing it as an integer in the database (useful for prices and other money attributes).
55
+ - !ruby/object:Gem::Dependency
56
+ name: activerecord
57
+ prerelease: false
58
+ requirement: &id003 !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ segments:
64
+ - 3
65
+ - 0
66
+ - 0
67
+ - rc
68
+ version: 3.0.0.rc
69
+ type: :development
70
+ version_requirements: *id003
71
+ description: Rails 3 gem to treat an attribute as a decimal (getting and setting floating-point values) but storing it as an integer in the database (useful for prices and other precision-needed attributes like money).
54
72
  email: info@codegram.com
55
73
  executables: []
56
74
 
@@ -60,9 +78,12 @@ extra_rdoc_files:
60
78
  - LICENSE
61
79
  - README.rdoc
62
80
  files:
81
+ - .bundle/config
63
82
  - .document
64
83
  - .gitignore
65
84
  - .rspec
85
+ - Gemfile
86
+ - Gemfile.lock
66
87
  - LICENSE
67
88
  - README.rdoc
68
89
  - Rakefile
@@ -83,6 +104,7 @@ rdoc_options:
83
104
  require_paths:
84
105
  - lib
85
106
  required_ruby_version: !ruby/object:Gem::Requirement
107
+ none: false
86
108
  requirements:
87
109
  - - ">="
88
110
  - !ruby/object:Gem::Version
@@ -90,6 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
112
  - 0
91
113
  version: "0"
92
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
+ none: false
93
116
  requirements:
94
117
  - - ">="
95
118
  - !ruby/object:Gem::Version
@@ -99,10 +122,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
122
  requirements: []
100
123
 
101
124
  rubyforge_project:
102
- rubygems_version: 1.3.6
125
+ rubygems_version: 1.3.7
103
126
  signing_key:
104
127
  specification_version: 3
105
- summary: Treat an attribute as a decimal, storing it as an integer in the database.
128
+ summary: Treat an attribute as if it were a decimal, storing it as an integer in the database.
106
129
  test_files:
107
130
  - spec/acts_as_decimal_spec.rb
108
131
  - spec/model_builder.rb