miser 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba6d3fe5d8a6c40c9bc2305b990e551c77d0e798
4
- data.tar.gz: f5b20d416913fa3858557acf8736e524cf174fee
3
+ metadata.gz: 78fbac34893d64d038fb618769191156fab1d584
4
+ data.tar.gz: 20dfceb1bb05df123cbe66d14be249a689681199
5
5
  SHA512:
6
- metadata.gz: 2efc8d444d850a622d164ab88ac64c04fef5d9b5ac895eaa6c534aba16fc6d7e644e1661b25678fe9dd56511cd8d44058e7f9d8e54dbff8c5855410f1fdb1240
7
- data.tar.gz: e86ec67a877fc113b037aaff6c7fa44384af91a8effb16528ef9cba95e1fb5b77ea2f572ab287d350f03acd59ce3f6621df203df856594a84288ec7fbaf9adaa
6
+ metadata.gz: eae7ee4bd91febdebe3215be344d98b25c629f46dbd2b622bdf10c05cb821d96c43c0638bc75cce1434cbbb010529d178ed19c0dd789e0e074f949e628356ab6
7
+ data.tar.gz: 6af14b7ae22ab7af548ef26b0c814bf509c63fc86cb59d94afc325fdf182961d1f83eade15763eed11e0f168f3da114af1f65db22e330c8c78c7e0e8a1389955
data/.gitignore CHANGED
@@ -20,3 +20,4 @@ tmp
20
20
  *.o
21
21
  *.a
22
22
  mkmf.log
23
+ .*.swp
data/lib/miser/driver.rb CHANGED
@@ -31,6 +31,10 @@ module Miser
31
31
  DEFAULT_BROWSER = :chrome
32
32
 
33
33
  def initialize
34
+ @headless = Headless.new
35
+ @headless.start
36
+ at_exit { @headless.destroy }
37
+
34
38
  @session = Capybara::Session.new(browser)
35
39
  end
36
40
 
data/lib/miser/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Miser
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/miser.gemspec CHANGED
@@ -26,4 +26,5 @@ Gem::Specification.new do |spec|
26
26
  spec.add_dependency 'thor'
27
27
  spec.add_dependency 'rufus-scheduler', '~> 3.0.8'
28
28
  spec.add_dependency 'mailgun-ruby', '~> 1.0.2'
29
+ spec.add_dependency 'headless', '~> 1.0.2'
29
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Cichra
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 1.0.2
111
+ - !ruby/object:Gem::Dependency
112
+ name: headless
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 1.0.2
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 1.0.2
111
125
  description: Will annoy you every day with how much you spent last day.
112
126
  email:
113
127
  - michal@o2h.cz
@@ -158,3 +172,4 @@ signing_key:
158
172
  specification_version: 4
159
173
  summary: Your personal finance assistant.
160
174
  test_files: []
175
+ has_rdoc: