comma 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. data/.gitignore +1 -0
  2. data/Gemfile +4 -0
  3. data/Gemfile.lock +29 -0
  4. data/VERSION +1 -1
  5. data/comma.gemspec +5 -3
  6. data/lib/comma.rb +1 -1
  7. metadata +5 -12
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  pkg/*
2
2
  .*.swp
3
3
  *~
4
+ .bundle
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source :rubygems
2
+
3
+ # Include dependencies from gemspec.
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,29 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ comma (0.4.0)
5
+ activesupport (>= 2.2.2)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ activesupport (3.0.1)
11
+ diff-lcs (1.1.2)
12
+ rspec (2.0.1)
13
+ rspec-core (~> 2.0.1)
14
+ rspec-expectations (~> 2.0.1)
15
+ rspec-mocks (~> 2.0.1)
16
+ rspec-core (2.0.1)
17
+ rspec-expectations (2.0.1)
18
+ diff-lcs (>= 1.1.2)
19
+ rspec-mocks (2.0.1)
20
+ rspec-core (~> 2.0.1)
21
+ rspec-expectations (~> 2.0.1)
22
+
23
+ PLATFORMS
24
+ ruby
25
+
26
+ DEPENDENCIES
27
+ activesupport (>= 2.2.2)
28
+ comma!
29
+ rspec (>= 1.2.9)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
data/comma.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{comma}
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marcus Crafter"]
@@ -17,6 +17,8 @@ Gem::Specification.new do |s|
17
17
  ]
18
18
  s.files = [
19
19
  ".gitignore",
20
+ "Gemfile",
21
+ "Gemfile.lock",
20
22
  "MIT-LICENSE",
21
23
  "README.rdoc",
22
24
  "Rakefile",
@@ -42,7 +44,7 @@ Gem::Specification.new do |s|
42
44
  s.rdoc_options = ["--charset=UTF-8"]
43
45
  s.require_paths = ["lib"]
44
46
  s.rubyforge_project = %q{comma}
45
- s.rubygems_version = %q{1.3.7}
47
+ s.rubygems_version = %q{1.3.6}
46
48
  s.summary = %q{Ruby Comma Seperated Values generation library}
47
49
  s.test_files = [
48
50
  "spec/comma/ar_spec.rb",
@@ -55,7 +57,7 @@ Gem::Specification.new do |s|
55
57
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
56
58
  s.specification_version = 3
57
59
 
58
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
59
61
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
60
62
  s.add_runtime_dependency(%q<activesupport>, [">= 2.2.2"])
61
63
  else
data/lib/comma.rb CHANGED
@@ -13,7 +13,7 @@ else
13
13
  begin
14
14
  # try faster csv
15
15
  require 'fastercsv'
16
- rescue StandardError => e
16
+ rescue Exception => e
17
17
  if defined? Rails
18
18
  Rails.logger.info "FasterCSV not installed, falling back on CSV"
19
19
  else
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comma
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 4
9
- - 0
10
- version: 0.4.0
8
+ - 1
9
+ version: 0.4.1
11
10
  platform: ruby
12
11
  authors:
13
12
  - Marcus Crafter
@@ -22,11 +21,9 @@ dependencies:
22
21
  name: rspec
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
25
  - - ">="
28
26
  - !ruby/object:Gem::Version
29
- hash: 13
30
27
  segments:
31
28
  - 1
32
29
  - 2
@@ -38,11 +35,9 @@ dependencies:
38
35
  name: activesupport
39
36
  prerelease: false
40
37
  requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
38
  requirements:
43
39
  - - ">="
44
40
  - !ruby/object:Gem::Version
45
- hash: 3
46
41
  segments:
47
42
  - 2
48
43
  - 2
@@ -60,6 +55,8 @@ extra_rdoc_files:
60
55
  - README.rdoc
61
56
  files:
62
57
  - .gitignore
58
+ - Gemfile
59
+ - Gemfile.lock
63
60
  - MIT-LICENSE
64
61
  - README.rdoc
65
62
  - Rakefile
@@ -90,27 +87,23 @@ rdoc_options:
90
87
  require_paths:
91
88
  - lib
92
89
  required_ruby_version: !ruby/object:Gem::Requirement
93
- none: false
94
90
  requirements:
95
91
  - - ">="
96
92
  - !ruby/object:Gem::Version
97
- hash: 3
98
93
  segments:
99
94
  - 0
100
95
  version: "0"
101
96
  required_rubygems_version: !ruby/object:Gem::Requirement
102
- none: false
103
97
  requirements:
104
98
  - - ">="
105
99
  - !ruby/object:Gem::Version
106
- hash: 3
107
100
  segments:
108
101
  - 0
109
102
  version: "0"
110
103
  requirements: []
111
104
 
112
105
  rubyforge_project: comma
113
- rubygems_version: 1.3.7
106
+ rubygems_version: 1.3.6
114
107
  signing_key:
115
108
  specification_version: 3
116
109
  summary: Ruby Comma Seperated Values generation library