sql_origin 1.0.2 → 1.1.0

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.
@@ -0,0 +1 @@
1
+ sql_origin
@@ -0,0 +1 @@
1
+ 1.9.3-p392
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
2
 
3
- gem 'rails', '~> 3.2'
3
+ gem 'rails', '>= 4.0'
4
4
 
5
5
  group :development do
6
6
  gem 'yard'
@@ -1,90 +1,88 @@
1
1
  GEM
2
- remote: http://rubygems.org/
2
+ remote: https://rubygems.org/
3
3
  specs:
4
- actionmailer (3.2.6)
5
- actionpack (= 3.2.6)
6
- mail (~> 2.4.4)
7
- actionpack (3.2.6)
8
- activemodel (= 3.2.6)
9
- activesupport (= 3.2.6)
10
- builder (~> 3.0.0)
4
+ actionmailer (4.0.0)
5
+ actionpack (= 4.0.0)
6
+ mail (~> 2.5.3)
7
+ actionpack (4.0.0)
8
+ activesupport (= 4.0.0)
9
+ builder (~> 3.1.0)
11
10
  erubis (~> 2.7.0)
12
- journey (~> 1.0.1)
13
- rack (~> 1.4.0)
14
- rack-cache (~> 1.2)
15
- rack-test (~> 0.6.1)
16
- sprockets (~> 2.1.3)
17
- activemodel (3.2.6)
18
- activesupport (= 3.2.6)
19
- builder (~> 3.0.0)
20
- activerecord (3.2.6)
21
- activemodel (= 3.2.6)
22
- activesupport (= 3.2.6)
23
- arel (~> 3.0.2)
24
- tzinfo (~> 0.3.29)
25
- activeresource (3.2.6)
26
- activemodel (= 3.2.6)
27
- activesupport (= 3.2.6)
28
- activesupport (3.2.6)
29
- i18n (~> 0.6)
30
- multi_json (~> 1.0)
31
- arel (3.0.2)
32
- builder (3.0.0)
11
+ rack (~> 1.5.2)
12
+ rack-test (~> 0.6.2)
13
+ activemodel (4.0.0)
14
+ activesupport (= 4.0.0)
15
+ builder (~> 3.1.0)
16
+ activerecord (4.0.0)
17
+ activemodel (= 4.0.0)
18
+ activerecord-deprecated_finders (~> 1.0.2)
19
+ activesupport (= 4.0.0)
20
+ arel (~> 4.0.0)
21
+ activerecord-deprecated_finders (1.0.3)
22
+ activesupport (4.0.0)
23
+ i18n (~> 0.6, >= 0.6.4)
24
+ minitest (~> 4.2)
25
+ multi_json (~> 1.3)
26
+ thread_safe (~> 0.1)
27
+ tzinfo (~> 0.3.37)
28
+ arel (4.0.0)
29
+ atomic (1.1.9)
30
+ builder (3.1.4)
33
31
  erubis (2.7.0)
34
32
  git (1.2.5)
35
- hike (1.2.1)
36
- i18n (0.6.0)
37
- jeweler (1.8.3)
33
+ hike (1.2.3)
34
+ i18n (0.6.4)
35
+ jeweler (1.8.4)
38
36
  bundler (~> 1.0)
39
37
  git (>= 1.2.5)
40
38
  rake
41
39
  rdoc
42
- journey (1.0.3)
43
- json (1.7.3)
44
- mail (2.4.4)
45
- i18n (>= 0.4.0)
40
+ json (1.8.0)
41
+ mail (2.5.4)
46
42
  mime-types (~> 1.16)
47
43
  treetop (~> 1.4.8)
48
- mime-types (1.18)
49
- multi_json (1.3.6)
44
+ mime-types (1.23)
45
+ minitest (4.7.5)
46
+ multi_json (1.7.7)
50
47
  polyglot (0.3.3)
51
- rack (1.4.1)
52
- rack-cache (1.2)
53
- rack (>= 0.4)
54
- rack-ssl (1.3.2)
55
- rack
56
- rack-test (0.6.1)
48
+ rack (1.5.2)
49
+ rack-test (0.6.2)
57
50
  rack (>= 1.0)
58
- rails (3.2.6)
59
- actionmailer (= 3.2.6)
60
- actionpack (= 3.2.6)
61
- activerecord (= 3.2.6)
62
- activeresource (= 3.2.6)
63
- activesupport (= 3.2.6)
64
- bundler (~> 1.0)
65
- railties (= 3.2.6)
66
- railties (3.2.6)
67
- actionpack (= 3.2.6)
68
- activesupport (= 3.2.6)
69
- rack-ssl (~> 1.3.2)
51
+ rails (4.0.0)
52
+ actionmailer (= 4.0.0)
53
+ actionpack (= 4.0.0)
54
+ activerecord (= 4.0.0)
55
+ activesupport (= 4.0.0)
56
+ bundler (>= 1.3.0, < 2.0)
57
+ railties (= 4.0.0)
58
+ sprockets-rails (~> 2.0.0)
59
+ railties (4.0.0)
60
+ actionpack (= 4.0.0)
61
+ activesupport (= 4.0.0)
70
62
  rake (>= 0.8.7)
71
- rdoc (~> 3.4)
72
- thor (>= 0.14.6, < 2.0)
73
- rake (0.9.2.2)
74
- rdoc (3.12)
63
+ thor (>= 0.18.1, < 2.0)
64
+ rake (10.1.0)
65
+ rdoc (4.0.1)
75
66
  json (~> 1.4)
76
- redcarpet (2.1.1)
77
- sprockets (2.1.3)
67
+ redcarpet (2.3.0)
68
+ sprockets (2.10.0)
78
69
  hike (~> 1.2)
70
+ multi_json (~> 1.0)
79
71
  rack (~> 1.0)
80
72
  tilt (~> 1.1, != 1.3.0)
81
- thor (0.15.2)
82
- tilt (1.3.3)
83
- treetop (1.4.10)
73
+ sprockets-rails (2.0.0)
74
+ actionpack (>= 3.0)
75
+ activesupport (>= 3.0)
76
+ sprockets (~> 2.8)
77
+ thor (0.18.1)
78
+ thread_safe (0.1.0)
79
+ atomic
80
+ tilt (1.4.1)
81
+ treetop (1.4.14)
84
82
  polyglot
85
83
  polyglot (>= 0.3.1)
86
- tzinfo (0.3.33)
87
- yard (0.8.2.1)
84
+ tzinfo (0.3.37)
85
+ yard (0.8.6.1)
88
86
 
89
87
  PLATFORMS
90
88
  ruby
@@ -92,6 +90,6 @@ PLATFORMS
92
90
  DEPENDENCIES
93
91
  bundler
94
92
  jeweler
95
- rails (~> 3.2)
93
+ rails (>= 4.0)
96
94
  redcarpet
97
95
  yard
data/README.md CHANGED
@@ -3,7 +3,7 @@ SQL:Origin
3
3
 
4
4
  Adds backtraces to your SQL queries and query logs, so you know where your
5
5
  queries are coming from. This only works with Rails, and is only tested with
6
- Rails 3.2.
6
+ Rails 4.0.
7
7
 
8
8
  Why do I want this?
9
9
  -------------------
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.1.0
@@ -40,11 +40,11 @@ module SQLOrigin
40
40
  extend ActiveSupport::Concern
41
41
  included { alias_method_chain :execute, :backtrace }
42
42
 
43
- def execute_with_backtrace(sql, name=nil, binds=[])
43
+ def execute_with_backtrace(sql, name=nil)
44
44
  if (line = SQLOrigin.filtered_backtrace.first)
45
- execute_without_backtrace "#{sql} /* #{line} */", name, binds
45
+ execute_without_backtrace "#{sql} /* #{line} */", name
46
46
  else
47
- execute_without_backtrace sql, name, binds
47
+ execute_without_backtrace sql, name
48
48
  end
49
49
  end
50
50
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "sql_origin"
8
- s.version = "1.0.2"
8
+ s.version = "1.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tim Morgan"]
12
- s.date = "2012-06-18"
12
+ s.date = "2013-06-26"
13
13
  s.description = "Ever wonder where a SQL query comes from? This gem lets you add abbreviated backtraces to those queries, either in the query log, or as a comment in the query itself."
14
14
  s.email = "rubygems@timothymorgan.info"
15
15
  s.extra_rdoc_files = [
@@ -18,7 +18,8 @@ Gem::Specification.new do |s|
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- ".rvmrc",
21
+ ".ruby-gemset",
22
+ ".ruby-version",
22
23
  "Gemfile",
23
24
  "Gemfile.lock",
24
25
  "LICENSE.txt",
@@ -32,27 +33,27 @@ Gem::Specification.new do |s|
32
33
  s.homepage = "http://github.com/RISCfuture/sql_origin"
33
34
  s.licenses = ["MIT"]
34
35
  s.require_paths = ["lib"]
35
- s.rubygems_version = "1.8.24"
36
+ s.rubygems_version = "1.8.25"
36
37
  s.summary = "Add backtraces to your query log and queries themselves."
37
38
 
38
39
  if s.respond_to? :specification_version then
39
40
  s.specification_version = 3
40
41
 
41
42
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
42
- s.add_runtime_dependency(%q<rails>, ["~> 3.2"])
43
+ s.add_runtime_dependency(%q<rails>, [">= 4.0"])
43
44
  s.add_development_dependency(%q<yard>, [">= 0"])
44
45
  s.add_development_dependency(%q<redcarpet>, [">= 0"])
45
46
  s.add_development_dependency(%q<bundler>, [">= 0"])
46
47
  s.add_development_dependency(%q<jeweler>, [">= 0"])
47
48
  else
48
- s.add_dependency(%q<rails>, ["~> 3.2"])
49
+ s.add_dependency(%q<rails>, [">= 4.0"])
49
50
  s.add_dependency(%q<yard>, [">= 0"])
50
51
  s.add_dependency(%q<redcarpet>, [">= 0"])
51
52
  s.add_dependency(%q<bundler>, [">= 0"])
52
53
  s.add_dependency(%q<jeweler>, [">= 0"])
53
54
  end
54
55
  else
55
- s.add_dependency(%q<rails>, ["~> 3.2"])
56
+ s.add_dependency(%q<rails>, [">= 4.0"])
56
57
  s.add_dependency(%q<yard>, [">= 0"])
57
58
  s.add_dependency(%q<redcarpet>, [">= 0"])
58
59
  s.add_dependency(%q<bundler>, [">= 0"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sql_origin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-18 00:00:00.000000000 Z
12
+ date: 2013-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: '3.2'
21
+ version: '4.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: '3.2'
29
+ version: '4.0'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: yard
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -102,7 +102,8 @@ extra_rdoc_files:
102
102
  - README.md
103
103
  files:
104
104
  - .document
105
- - .rvmrc
105
+ - .ruby-gemset
106
+ - .ruby-version
106
107
  - Gemfile
107
108
  - Gemfile.lock
108
109
  - LICENSE.txt
@@ -127,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
128
  version: '0'
128
129
  segments:
129
130
  - 0
130
- hash: 994784243576180857
131
+ hash: -3377337824874064441
131
132
  required_rubygems_version: !ruby/object:Gem::Requirement
132
133
  none: false
133
134
  requirements:
@@ -136,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
137
  version: '0'
137
138
  requirements: []
138
139
  rubyforge_project:
139
- rubygems_version: 1.8.24
140
+ rubygems_version: 1.8.25
140
141
  signing_key:
141
142
  specification_version: 3
142
143
  summary: Add backtraces to your query log and queries themselves.
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm 1.9.3@sql_origin --create