pendulum 0.1.1 → 0.1.2

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: aa3f12296f6657494a58bee25637972dc425918e
4
- data.tar.gz: b28c330673e2fac874bc8b71b63dc7e80372f69d
3
+ metadata.gz: 1757afed1c5c5dd9df775798ab52914fc9363466
4
+ data.tar.gz: c1d6819b7a9dce13135272232e902e4b92b90b74
5
5
  SHA512:
6
- metadata.gz: b8cd6cab2576bde56fbffa8dc07df726d1ef109074a544a7023580453c03d32504853a7b5e1cf9eec0ca5917a19546f1ab334e5ae1923ca999db98175a4974e3
7
- data.tar.gz: 90952cf321d9cc0eb2ea0744c05c474bdfa130ea8a990972464243e18f518c68ed4f62850b52c2a466b7104fafed8bcdbbd941d43bd6edee90a7e6a72655305a
6
+ metadata.gz: a22447d8d5bb8c889dac69ea1862f6e5dffa6d339b952c0124e150e1493b9ea6c1709d3fdbfed949932842e3f10f295baf50295690afb101b2c532df76bde4ff
7
+ data.tar.gz: 494298dd98416c09675baabcb023a69c648db2b6077a4da359bdff1a1a73add76c04c1b48810a7f209c266eedda59f5c94e50c9a5a367f3ef9291b2da9cb178e
data/README.md CHANGED
@@ -29,7 +29,7 @@ schedule 'test-scheduled-job' do
29
29
  cron '30 0 * * *'
30
30
  timezone 'Asia/Tokyo'
31
31
  delay 0
32
- result 'td://@/db_name/table_name'
32
+ result_url 'td://@/db_name/table_name'
33
33
  end
34
34
  ```
35
35
 
@@ -77,7 +77,7 @@ Or install it yourself as:
77
77
 
78
78
  ## Development
79
79
 
80
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
80
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
81
81
 
82
82
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
83
83
 
@@ -1,6 +1,6 @@
1
1
  module Pendulum::DSL::Output
2
2
  class Result < Base
3
- define_setter :table
3
+ define_setter :table, :schema, :method, :mode
4
4
 
5
5
  def initialize(name)
6
6
  @name = name
@@ -8,7 +8,8 @@ module Pendulum::DSL::Output
8
8
  end
9
9
 
10
10
  def to_url
11
- "#{@name}:#{@table}"
11
+ url = "#{@name}:#{@table}"
12
+ with_options(url, :schema, :method, :mode)
12
13
  end
13
14
  end
14
15
  end
@@ -1,3 +1,3 @@
1
1
  module Pendulum
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pendulum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - monochromegane
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-18 00:00:00.000000000 Z
11
+ date: 2016-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: td