mousetrap-rails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -16,3 +16,5 @@ spec/reports
16
16
  test/tmp
17
17
  test/version_tmp
18
18
  tmp
19
+ *.log
20
+ .sass-cache
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 1.9.2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
+ ## v0.0.5.wip
2
+
3
+ ## v0.0.4
4
+
5
+ * add key binding hints (experimental)
6
+
1
7
  ## v0.0.3
2
8
 
3
- * add development dependecies
9
+ * add development dependencies
4
10
  * add tests for generators
5
11
 
6
12
  ## v0.0.2
@@ -1,3 +1,5 @@
1
+ ### Gem mousetrap-rails
2
+
1
3
  Copyright (c) 2012 Nick Kugaevsky
2
4
 
3
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
@@ -5,3 +7,20 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
5
7
  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
8
 
7
9
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10
+
11
+
12
+ ### Original Moustrap javascript library
13
+
14
+ Copyright 2012 Craig Campbell
15
+
16
+ Licensed under the Apache License, Version 2.0 (the "License");
17
+ you may not use this file except in compliance with the License.
18
+ You may obtain a copy of the License at
19
+
20
+ http://www.apache.org/licenses/LICENSE-2.0
21
+
22
+ Unless required by applicable law or agreed to in writing, software
23
+ distributed under the License is distributed on an "AS IS" BASIS,
24
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25
+ See the License for the specific language governing permissions and
26
+ limitations under the License.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Mousetrap::Rails [![endorse](http://api.coderwall.com/kugaevsky/endorsecount.png)](http://coderwall.com/kugaevsky)
1
+ # Mousetrap::Rails [![endorse](http://api.coderwall.com/kugaevsky/endorsecount.png)](http://coderwall.com/kugaevsky) [![Build Status](https://secure.travis-ci.org/kugaevsky/mousetrap-rails.png)](http://travis-ci.org/kugaevsky/mousetrap-rails) [![Dependency Status](https://gemnasium.com/kugaevsky/mousetrap-rails.png)](https://gemnasium.com/kugaevsky/mousetrap-rails) [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/kugaevsky/mousetrap-rails)
2
2
 
3
3
  [Mousetrap](https://github.com/ccampbell/mousetrap) is a javascript library for handling keyboard shortcuts in your web applications written by [Craig Campbell](http://craig.is/).
4
4
 
@@ -21,7 +21,10 @@ And then execute:
21
21
 
22
22
  $ rails generate mousetrap:install
23
23
 
24
- It will create sample `keybindings.js.coffee` file in `app/assets/javascripts` and add `//= require mousetrap` to `application.js` manifest.
24
+ It will create sample `keybindings.js.coffee` file in `app/assets/javascripts` and insert mousetrap-rails files to manifests of assert pipeline
25
+
26
+ //= require mousetrap # ---> application.js
27
+ *= require moustrap # ---> application.css
25
28
 
26
29
  Voila!
27
30
 
@@ -82,6 +85,20 @@ Mousetrap.bind 'up up down down left right left right b a enter', -> console.log
82
85
 
83
86
  You can find full documentation on [Mousetrap library page](http://craig.is/killing/mice). Really, look there – there are plenty examples of using this awesome library.
84
87
 
88
+ ### Key binding hints (experimental)
89
+
90
+ You can display key binding hints near links with `data-keybinding` attribute by pressing `Alt+Shift+h`. Now it's just experimental feature for debugging purposes only.
91
+
92
+
93
+ ## Changelog
94
+
95
+ All changes could be found in [CHANGELOG.md](https://github.com/kugaevsky/mousetrap-rails/blob/master/CHANGELOG.md)
96
+
97
+
98
+ ## License
99
+
100
+ Gosh! It's [here](https://github.com/kugaevsky/mousetrap-rails/blob/master/LICENSE.md).
101
+
85
102
 
86
103
  ## Authors
87
104
 
data/Rakefile CHANGED
@@ -1 +1,5 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task :default => :spec
@@ -0,0 +1,37 @@
1
+ .mt-hotkey-el {
2
+ position: relative; }
3
+
4
+ a[data-keybinding] .mt-hotkey-hint {
5
+ display: block;
6
+ float: right;
7
+ position: absolute;
8
+ top: -4px;
9
+ right: -4px;
10
+ z-index: 999;
11
+ font: bold 13px/1em sans-serif;
12
+ text-decoration: none;
13
+ text-indent: 0;
14
+ text-align: center;
15
+ vertical-align: center;
16
+ margin: 0;
17
+ padding: 0.3ex 0.7ex;
18
+ background: beige;
19
+ color: black;
20
+ text-shadow: 1px 1px 0 white;
21
+ box-shadow: 1px 1px 0 #333333;
22
+ border-radius: 5px;
23
+ border: 1px solid #888888;
24
+ opacity: 0.75;
25
+ -webkit-transition: all 0.15s linear;
26
+ -moz-transition: all 0.15s linear;
27
+ -o-transition: all 0.15s linear;
28
+ -ms-transition: all 0.15s linear;
29
+ transition: all 0.15s linear; }
30
+ a[data-keybinding] .mt-hotkey-hint:hover {
31
+ background: white;
32
+ opacity: 1;
33
+ -webkit-transform: scale(1.25);
34
+ -moz-transform: scale(1.25);
35
+ -o-transform: scale(1.25);
36
+ -ms-transform: scale(1.25);
37
+ transform: scale(1.25); }
@@ -0,0 +1,50 @@
1
+ $mtFont: bold 13px/1em sans-serif
2
+ $mtBackground: beige
3
+ $mtColor: black
4
+ $mtTextShadow: 1px 1px 0 white
5
+ $mtBoxShadow: 1px 1px 0 #333
6
+ $mtOpacity: .75
7
+
8
+ @mixin transition($styles)
9
+ -webkit-transition: $styles
10
+ -moz-transition: $styles
11
+ -o-transition: $styles
12
+ -ms-transition: $styles
13
+ transition: $styles
14
+
15
+ @mixin transform($styles)
16
+ -webkit-transform: $styles
17
+ -moz-transform: $styles
18
+ -o-transform: $styles
19
+ -ms-transform: $styles
20
+ transform: $styles
21
+
22
+ .mt-hotkey-el
23
+ position: relative
24
+ a[data-keybinding]
25
+ .mt-hotkey-hint
26
+ display: block
27
+ float: right
28
+ position: absolute
29
+ top: -4px
30
+ right: -4px
31
+ z-index: 999
32
+ font: $mtFont
33
+ text-decoration: none
34
+ text-indent: 0
35
+ text-align: center
36
+ vertical-align: center
37
+ margin: 0
38
+ padding: 0.3ex 0.7ex
39
+ background: $mtBackground
40
+ color: $mtColor
41
+ text-shadow: $mtTextShadow
42
+ box-shadow: $mtBoxShadow
43
+ border-radius: 5px
44
+ border: 1px solid #888
45
+ opacity: $mtOpacity
46
+ @include transition(all .15s linear)
47
+ &:hover
48
+ background: white
49
+ opacity: $mtOpacity + 0.25
50
+ @include transform(scale(1.25))
@@ -8,13 +8,21 @@ module Mousetrap
8
8
  copy_file "keybindings.js.coffee", "app/assets/javascripts/keybindings.js.coffee"
9
9
  end
10
10
 
11
- def add_assets
11
+ def add_javascript_assets
12
12
  if File.exist?('app/assets/javascripts/application.js')
13
13
  insert_into_file "app/assets/javascripts/application.js", "//= require mousetrap\n", :after => "jquery_ujs\n"
14
14
  else
15
15
  copy_file "application.js", "app/assets/javascripts/application.js"
16
16
  end
17
17
  end
18
+
19
+ def add_css_assets
20
+ if File.exist?('app/assets/stylesheets/application.css')
21
+ insert_into_file "app/assets/stylesheets/application.css", "*= require mousetrap\n ", :before => "*= require_tree ."
22
+ else
23
+ copy_file "application.css", "app/assets/stylesheets/application.css"
24
+ end
25
+ end
18
26
  end
19
27
  end
20
28
  end
@@ -0,0 +1,14 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the top of the
9
+ * compiled file, but it's generally better to create a new file per style scope.
10
+ *
11
+ *= require_self
12
+ *= require mousetrap
13
+ *= require_tree .
14
+ */
@@ -1,10 +1,10 @@
1
1
  $ ->
2
- # Hotkey binding to links with 'data-keybindings' attribute
2
+ # Hotkey binding to links with 'data-keybinding' attribute
3
3
  # Navigate link when hotkey pressed
4
4
  $('a[data-keybinding]').each (i, el) ->
5
5
  Mousetrap.bind $(el).data('keybinding'), (e) -> el.click()
6
6
 
7
- # Hotkey binding to inputs with 'data-keybindings' attribute
7
+ # Hotkey binding to inputs with 'data-keybinding' attribute
8
8
  # Focus input when hotkey pressed
9
9
  $('input[data-keybinding]').each (i, el) ->
10
10
  Mousetrap.bind $(el).data('keybinding'), (e) ->
@@ -13,3 +13,25 @@ $ ->
13
13
  e.preventDefault()
14
14
  else
15
15
  e.returnValue = false
16
+
17
+ # Toggle show/hide hotkey hints
18
+ window.mouseTrapRails =
19
+ showOnLoad: false # Show/hide hotkey hints by default (on page load). Mostly for debugging purposes.
20
+ toggleKeys: 'alt+shift+h' # Key sequence to toggle hints visibility.
21
+ keysShown: false
22
+ toggleHints: ->
23
+ $('a[data-keybinding]').each (i, el) ->
24
+ $el = $(el)
25
+ if mouseTrapRails.keysShown
26
+ $el.removeClass('mt-hotkey-el').find('.mt-hotkey-hint').remove()
27
+ else
28
+ mtKey = $el.data('keybinding')
29
+ $hint = "<i class='mt-hotkey-hint' title='Press \<#{mtKey}\> to open link'>#{mtKey}</i>"
30
+ $el.addClass('mt-hotkey-el') unless $el.css('position') is 'absolute'
31
+ $el.append $hint
32
+ @keysShown ^= true
33
+
34
+ Mousetrap.bind mouseTrapRails.toggleKeys, -> mouseTrapRails.toggleHints()
35
+
36
+ mouseTrapRails.toggleHints() if mouseTrapRails.showOnLoad
37
+
@@ -1,5 +1,5 @@
1
1
  module Mousetrap
2
2
  module Rails
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -17,10 +17,11 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_development_dependency 'rails'
21
- gem.add_development_dependency 'sqlite3'
22
- gem.add_development_dependency 'rspec-rails'
23
- gem.add_development_dependency 'genspec'
20
+ gem.add_development_dependency 'rails', '~> 3.2.1'
21
+ gem.add_development_dependency 'sqlite3', '~> 1.3.5'
22
+ gem.add_development_dependency 'rspec-rails', '~> 2.11.0'
23
+ gem.add_development_dependency 'genspec', '~> 0.2.7'
24
+ gem.add_development_dependency 'sass', '~> 3.2.1'
24
25
 
25
26
  gem.licenses = ['MIT', 'Apache']
26
27
  gem.post_install_message = <<MSG
@@ -1,8 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Mousetrap::Generators::InstallGenerator do
4
- # subject { Mousetrap::Generators::InstallGenerator }
5
-
6
4
  context "with mousetrap:install" do
7
5
  it "should generate keybindings.js.coffee file" do
8
6
  subject.should generate("app/assets/javascripts/keybindings.js.coffee") { |content|
@@ -15,5 +13,11 @@ describe Mousetrap::Generators::InstallGenerator do
15
13
  content.should =~ /\/\/= require mousetrap\n/
16
14
  }
17
15
  end
16
+
17
+ it "should inject require mousetrap into application.css" do
18
+ subject.should generate("app/assets/stylesheets/application.css") { |content|
19
+ content.should =~ /\s\*= require mousetrap\n/
20
+ }
21
+ end
18
22
  end
19
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mousetrap-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,72 +9,88 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-23 00:00:00.000000000 Z
12
+ date: 2012-09-24 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: '0'
21
+ version: 3.2.1
22
22
  type: :development
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: '0'
29
+ version: 3.2.1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: sqlite3
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ! '>='
35
+ - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: 1.3.5
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ! '>='
43
+ - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: '0'
45
+ version: 1.3.5
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rspec-rails
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - ! '>='
51
+ - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: 2.11.0
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - ! '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 2.11.0
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: genspec
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
- - - ! '>='
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: '0'
69
+ version: 0.2.7
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
- - - ! '>='
75
+ - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: '0'
77
+ version: 0.2.7
78
+ - !ruby/object:Gem::Dependency
79
+ name: sass
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 3.2.1
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 3.2.1
78
94
  description: Mousetrap is a javascript library for handling keyboard shortcuts in
79
95
  your web applications. This gem integrates Mousetrap with Rails asset pipeline for
80
96
  easy of use.
@@ -85,13 +101,17 @@ extensions: []
85
101
  extra_rdoc_files: []
86
102
  files:
87
103
  - .gitignore
104
+ - .travis.yml
88
105
  - CHANGELOG.md
89
106
  - Gemfile
90
- - LICENSE.txt
107
+ - LICENSE.md
91
108
  - README.md
92
109
  - Rakefile
110
+ - app/assets/stylesheets/mousetrap.css
111
+ - app/assets/stylesheets/mousetrap.css.sass
93
112
  - lib/generators/mousetrap/install/USAGE
94
113
  - lib/generators/mousetrap/install/install_generator.rb
114
+ - lib/generators/mousetrap/install/templates/application.css
95
115
  - lib/generators/mousetrap/install/templates/application.js
96
116
  - lib/generators/mousetrap/install/templates/keybindings.js.coffee
97
117
  - lib/mousetrap-rails.rb
@@ -129,7 +149,6 @@ files:
129
149
  - spec/dummy/lib/assets/.gitkeep
130
150
  - spec/dummy/log/.gitkeep
131
151
  - spec/dummy/log/development.log
132
- - spec/dummy/log/test.log
133
152
  - spec/dummy/public/404.html
134
153
  - spec/dummy/public/422.html
135
154
  - spec/dummy/public/500.html
@@ -156,7 +175,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
175
  version: '0'
157
176
  segments:
158
177
  - 0
159
- hash: 1311093102559047194
178
+ hash: 1496954347725522784
160
179
  required_rubygems_version: !ruby/object:Gem::Requirement
161
180
  none: false
162
181
  requirements:
@@ -165,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
184
  version: '0'
166
185
  segments:
167
186
  - 0
168
- hash: 1311093102559047194
187
+ hash: 1496954347725522784
169
188
  requirements: []
170
189
  rubyforge_project:
171
190
  rubygems_version: 1.8.24
@@ -203,7 +222,6 @@ test_files:
203
222
  - spec/dummy/lib/assets/.gitkeep
204
223
  - spec/dummy/log/.gitkeep
205
224
  - spec/dummy/log/development.log
206
- - spec/dummy/log/test.log
207
225
  - spec/dummy/public/404.html
208
226
  - spec/dummy/public/422.html
209
227
  - spec/dummy/public/500.html
@@ -1,152 +0,0 @@
1
- Connecting to database specified by database.yml
2
- Connecting to database specified by database.yml
3
-  (0.2ms) begin transaction
4
-  (0.0ms) rollback transaction
5
- Connecting to database specified by database.yml
6
- Connecting to database specified by database.yml
7
- Connecting to database specified by database.yml
8
- Connecting to database specified by database.yml
9
- Connecting to database specified by database.yml
10
- Connecting to database specified by database.yml
11
- Connecting to database specified by database.yml
12
- Connecting to database specified by database.yml
13
- Connecting to database specified by database.yml
14
-  (0.2ms) begin transaction
15
-  (0.1ms) rollback transaction
16
- Connecting to database specified by database.yml
17
-  (0.2ms) begin transaction
18
-  (0.0ms) rollback transaction
19
- Connecting to database specified by database.yml
20
-  (0.3ms) begin transaction
21
-  (0.1ms) rollback transaction
22
- Connecting to database specified by database.yml
23
-  (0.2ms) begin transaction
24
-  (0.1ms) rollback transaction
25
- Connecting to database specified by database.yml
26
-  (0.2ms) begin transaction
27
-  (0.1ms) rollback transaction
28
- Connecting to database specified by database.yml
29
-  (0.2ms) begin transaction
30
-  (0.1ms) rollback transaction
31
- Connecting to database specified by database.yml
32
-  (0.2ms) begin transaction
33
-  (0.1ms) rollback transaction
34
- Connecting to database specified by database.yml
35
- Connecting to database specified by database.yml
36
- Connecting to database specified by database.yml
37
- Connecting to database specified by database.yml
38
- Connecting to database specified by database.yml
39
- Connecting to database specified by database.yml
40
-  (0.2ms) begin transaction
41
-  (0.1ms) rollback transaction
42
- Connecting to database specified by database.yml
43
- Connecting to database specified by database.yml
44
- Connecting to database specified by database.yml
45
- Connecting to database specified by database.yml
46
- Connecting to database specified by database.yml
47
-  (0.2ms) begin transaction
48
-  (0.1ms) rollback transaction
49
- Connecting to database specified by database.yml
50
-  (0.2ms) begin transaction
51
-  (0.1ms) rollback transaction
52
- Connecting to database specified by database.yml
53
-  (0.2ms) begin transaction
54
-  (0.1ms) rollback transaction
55
- Connecting to database specified by database.yml
56
-  (0.2ms) begin transaction
57
-  (0.1ms) rollback transaction
58
- Connecting to database specified by database.yml
59
-  (0.2ms) begin transaction
60
-  (0.1ms) rollback transaction
61
- Connecting to database specified by database.yml
62
-  (0.2ms) begin transaction
63
-  (0.1ms) rollback transaction
64
- Connecting to database specified by database.yml
65
-  (0.2ms) begin transaction
66
-  (0.1ms) rollback transaction
67
- Connecting to database specified by database.yml
68
-  (0.2ms) begin transaction
69
-  (0.1ms) rollback transaction
70
- Connecting to database specified by database.yml
71
-  (0.2ms) begin transaction
72
-  (0.0ms) rollback transaction
73
- Connecting to database specified by database.yml
74
-  (0.2ms) begin transaction
75
-  (0.1ms) rollback transaction
76
-  (0.1ms) begin transaction
77
-  (0.1ms) rollback transaction
78
- Connecting to database specified by database.yml
79
-  (0.2ms) begin transaction
80
-  (0.1ms) rollback transaction
81
-  (0.0ms) begin transaction
82
-  (0.0ms) rollback transaction
83
- Connecting to database specified by database.yml
84
-  (0.2ms) begin transaction
85
-  (0.1ms) rollback transaction
86
-  (0.0ms) begin transaction
87
-  (0.0ms) rollback transaction
88
- Connecting to database specified by database.yml
89
-  (0.2ms) begin transaction
90
-  (0.1ms) rollback transaction
91
-  (0.1ms) begin transaction
92
-  (0.0ms) rollback transaction
93
- Connecting to database specified by database.yml
94
-  (0.2ms) begin transaction
95
-  (0.1ms) rollback transaction
96
-  (0.0ms) begin transaction
97
-  (0.0ms) rollback transaction
98
- Connecting to database specified by database.yml
99
-  (0.2ms) begin transaction
100
-  (0.1ms) rollback transaction
101
-  (0.0ms) begin transaction
102
-  (0.0ms) rollback transaction
103
- Connecting to database specified by database.yml
104
-  (0.2ms) begin transaction
105
-  (0.1ms) rollback transaction
106
-  (0.0ms) begin transaction
107
-  (0.0ms) rollback transaction
108
- Connecting to database specified by database.yml
109
-  (0.2ms) begin transaction
110
-  (0.0ms) rollback transaction
111
-  (0.1ms) begin transaction
112
-  (0.0ms) rollback transaction
113
- Connecting to database specified by database.yml
114
-  (0.2ms) begin transaction
115
-  (0.1ms) rollback transaction
116
-  (0.0ms) begin transaction
117
-  (0.1ms) rollback transaction
118
- Connecting to database specified by database.yml
119
-  (0.2ms) begin transaction
120
-  (0.1ms) rollback transaction
121
-  (0.0ms) begin transaction
122
-  (0.1ms) rollback transaction
123
- Connecting to database specified by database.yml
124
-  (0.2ms) begin transaction
125
-  (0.0ms) rollback transaction
126
-  (0.0ms) begin transaction
127
-  (0.0ms) rollback transaction
128
- Connecting to database specified by database.yml
129
-  (0.2ms) begin transaction
130
-  (0.1ms) rollback transaction
131
-  (0.0ms) begin transaction
132
-  (0.0ms) rollback transaction
133
- Connecting to database specified by database.yml
134
-  (0.2ms) begin transaction
135
-  (0.1ms) rollback transaction
136
-  (0.0ms) begin transaction
137
-  (0.0ms) rollback transaction
138
- Connecting to database specified by database.yml
139
-  (0.2ms) begin transaction
140
-  (0.1ms) rollback transaction
141
-  (0.0ms) begin transaction
142
-  (0.0ms) rollback transaction
143
- Connecting to database specified by database.yml
144
-  (0.2ms) begin transaction
145
-  (0.1ms) rollback transaction
146
-  (0.1ms) begin transaction
147
-  (0.0ms) rollback transaction
148
- Connecting to database specified by database.yml
149
-  (0.2ms) begin transaction
150
-  (0.1ms) rollback transaction
151
-  (0.0ms) begin transaction
152
-  (0.0ms) rollback transaction