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 +4 -4
- data/README.md +2 -2
- data/lib/pendulum/dsl/output/result.rb +3 -2
- data/lib/pendulum/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1757afed1c5c5dd9df775798ab52914fc9363466
|
4
|
+
data.tar.gz: c1d6819b7a9dce13135272232e902e4b92b90b74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
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
|
data/lib/pendulum/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: td
|