click 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/demo/app.rb CHANGED
@@ -4,7 +4,6 @@ require 'sequel'
4
4
  require 'sqlite3'
5
5
 
6
6
  require 'click'
7
- require 'click/database'
8
7
 
9
8
  db = Sequel.sqlite('/tmp/click_demo.sqlite')
10
9
 
data/lib/click/clicker.rb CHANGED
@@ -51,6 +51,7 @@ module Click
51
51
 
52
52
  class << self
53
53
  def clicker_with_database(session_name, connection_string)
54
+ require 'click/database'
54
55
  Click::Database.with_database(connection_string) do |db|
55
56
  require 'click/database/writer'
56
57
  writer = Click::Database::Writer.new(db)
data/lib/click/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Click
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: click
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: