sql_record 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.3
@@ -3,6 +3,8 @@ module SQLRecord
3
3
  module Attributes
4
4
  module Mapper
5
5
 
6
+ attr_reader :sql_select_columns
7
+
6
8
  # with_opts blocks specify default options for calls to {#column}
7
9
  #
8
10
  # @param opts [Hash] anything that {#column} supports. Currently this should only be :class
@@ -57,6 +59,10 @@ module SQLRecord
57
59
  (@sql_select_columns ||= []) << select_column
58
60
  end
59
61
 
62
+ def sql_select_helper
63
+ @sql_select_columns.join(', ')
64
+ end
65
+
60
66
  end
61
67
  end
62
68
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sql_record}
8
- s.version = "1.0.1"
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
11
  s.authors = ["Rasheed Abdul-Aziz"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sql_record
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Rasheed Abdul-Aziz