automatic 14.3.0 → 14.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +3 -3
- data/VERSION +1 -1
- data/automatic.gemspec +9 -9
- data/doc/ChangeLog +7 -1
- data/lib/automatic/pipeline.rb +4 -2
- data/lib/automatic/version.rb +1 -1
- data/plugins/notify/ikachan.rb +2 -0
- data/plugins/provide/fluentd.rb +1 -2
- data/plugins/publish/eject.rb +4 -3
- data/plugins/subscription/xml.rb +2 -1
- data/script/build +2 -2
- data/spec/lib/automatic_spec.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f758274920596a6780c0d8976cc76a5a0344f84e
|
4
|
+
data.tar.gz: 1611da3699eaf8e52c0405c8a46491e719c10637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57cb29eaff31e98564961be7271cd3bd6f4591237fd13cd99098e693f41bc8238ba86a648e510bc911e2fa28bacaa3bc207c68221bf200cb6743e3a945842171
|
7
|
+
data.tar.gz: 677ebbbd71a1b4396ef571ca05878a144890841f7f52cfa2635c05f194a79acf7a5a0e5ca2964b0c7f20b7f8433cdd1efd561669d29380ad1f0c28bb1bf843da
|
data/Gemfile
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
# Version:
|
1
|
+
# Version:20140509
|
2
2
|
|
3
3
|
source "http://rubygems.org"
|
4
4
|
source "http://gems.github.com"
|
5
5
|
|
6
6
|
gem 'json', '~> 1.7.7'
|
7
7
|
gem 'sqlite3', '~> 1.3.8'
|
8
|
-
gem 'activesupport', '~> 4.
|
9
|
-
gem 'activerecord', '~> 4.
|
8
|
+
gem 'activesupport', '~> 4.1.1'
|
9
|
+
gem 'activerecord', '~> 4.1.1'
|
10
10
|
gem 'hashie', '~> 2.0.5'
|
11
11
|
gem 'gcalapi', '~> 0.1.2'
|
12
12
|
gem 'xml-simple', '~> 1.1.3'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
14.
|
1
|
+
14.5.0
|
data/automatic.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: automatic 14.
|
5
|
+
# stub: automatic 14.5.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "automatic"
|
9
|
-
s.version = "14.
|
9
|
+
s.version = "14.5.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["id774"]
|
14
|
-
s.date = "2014-
|
14
|
+
s.date = "2014-05-31"
|
15
15
|
s.description = "Ruby framework for the general-purpose automatic processing"
|
16
16
|
s.email = "idnanashi@gmail.com"
|
17
17
|
s.executables = ["automatic"]
|
@@ -174,8 +174,8 @@ Gem::Specification.new do |s|
|
|
174
174
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
175
175
|
s.add_runtime_dependency(%q<json>, ["~> 1.7.7"])
|
176
176
|
s.add_runtime_dependency(%q<sqlite3>, ["~> 1.3.8"])
|
177
|
-
s.add_runtime_dependency(%q<activesupport>, ["~> 4.
|
178
|
-
s.add_runtime_dependency(%q<activerecord>, ["~> 4.
|
177
|
+
s.add_runtime_dependency(%q<activesupport>, ["~> 4.1.1"])
|
178
|
+
s.add_runtime_dependency(%q<activerecord>, ["~> 4.1.1"])
|
179
179
|
s.add_runtime_dependency(%q<hashie>, ["~> 2.0.5"])
|
180
180
|
s.add_runtime_dependency(%q<gcalapi>, ["~> 0.1.2"])
|
181
181
|
s.add_runtime_dependency(%q<xml-simple>, ["~> 1.1.3"])
|
@@ -197,8 +197,8 @@ Gem::Specification.new do |s|
|
|
197
197
|
else
|
198
198
|
s.add_dependency(%q<json>, ["~> 1.7.7"])
|
199
199
|
s.add_dependency(%q<sqlite3>, ["~> 1.3.8"])
|
200
|
-
s.add_dependency(%q<activesupport>, ["~> 4.
|
201
|
-
s.add_dependency(%q<activerecord>, ["~> 4.
|
200
|
+
s.add_dependency(%q<activesupport>, ["~> 4.1.1"])
|
201
|
+
s.add_dependency(%q<activerecord>, ["~> 4.1.1"])
|
202
202
|
s.add_dependency(%q<hashie>, ["~> 2.0.5"])
|
203
203
|
s.add_dependency(%q<gcalapi>, ["~> 0.1.2"])
|
204
204
|
s.add_dependency(%q<xml-simple>, ["~> 1.1.3"])
|
@@ -221,8 +221,8 @@ Gem::Specification.new do |s|
|
|
221
221
|
else
|
222
222
|
s.add_dependency(%q<json>, ["~> 1.7.7"])
|
223
223
|
s.add_dependency(%q<sqlite3>, ["~> 1.3.8"])
|
224
|
-
s.add_dependency(%q<activesupport>, ["~> 4.
|
225
|
-
s.add_dependency(%q<activerecord>, ["~> 4.
|
224
|
+
s.add_dependency(%q<activesupport>, ["~> 4.1.1"])
|
225
|
+
s.add_dependency(%q<activerecord>, ["~> 4.1.1"])
|
226
226
|
s.add_dependency(%q<hashie>, ["~> 2.0.5"])
|
227
227
|
s.add_dependency(%q<gcalapi>, ["~> 0.1.2"])
|
228
228
|
s.add_dependency(%q<xml-simple>, ["~> 1.1.3"])
|
data/doc/ChangeLog
CHANGED
data/lib/automatic/pipeline.rb
CHANGED
@@ -2,11 +2,13 @@
|
|
2
2
|
# Name:: Automatic::Pipeline
|
3
3
|
# Author:: 774 <http://id774.net>
|
4
4
|
# Created:: Feb 22, 2012
|
5
|
-
# Updated:: Mar
|
6
|
-
# Copyright:: Copyright (c) 2012-
|
5
|
+
# Updated:: Mar 16, 2014
|
6
|
+
# Copyright:: Copyright (c) 2012-2014 Automatic Ruby Developers.
|
7
7
|
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
|
8
8
|
|
9
|
+
require 'active_support'
|
9
10
|
require 'active_support/core_ext'
|
11
|
+
require 'active_support/deprecation'
|
10
12
|
|
11
13
|
module Automatic
|
12
14
|
module Plugin end
|
data/lib/automatic/version.rb
CHANGED
data/plugins/notify/ikachan.rb
CHANGED
data/plugins/provide/fluentd.rb
CHANGED
@@ -2,14 +2,13 @@
|
|
2
2
|
# Name:: Automatic::Plugin::Provide::Fluentd
|
3
3
|
# Author:: 774 <http://id774.net>
|
4
4
|
# Created:: Jul 12, 2013
|
5
|
-
# Updated::
|
5
|
+
# Updated:: May 16, 2014
|
6
6
|
# Copyright:: Copyright (c) 2012-2014 Automatic Ruby Developers.
|
7
7
|
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
|
8
8
|
|
9
9
|
module Automatic::Plugin
|
10
10
|
class ProvideFluentd
|
11
11
|
require 'fluent-logger'
|
12
|
-
require 'active_support'
|
13
12
|
|
14
13
|
def initialize(config, pipeline=[])
|
15
14
|
@config = config
|
data/plugins/publish/eject.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Name:: Automatic::Plugin::Publish::Eject
|
3
3
|
# Author:: soramugi <http://soramugi.net>
|
4
|
+
# 774 <http://id774.net>
|
4
5
|
# Created:: Jun 9, 2013
|
5
|
-
# Updated::
|
6
|
+
# Updated:: May 16, 2014
|
6
7
|
# Copyright:: Copyright (c) 2012-2014 Automatic Ruby Developers.
|
7
8
|
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
|
8
9
|
|
@@ -32,9 +33,9 @@ module Automatic::Plugin
|
|
32
33
|
end
|
33
34
|
|
34
35
|
def eject_cmd
|
35
|
-
if `
|
36
|
+
if `which eject` != '' # linux
|
36
37
|
'eject ; eject -t'
|
37
|
-
elsif `
|
38
|
+
elsif `which drutil` != '' # mac
|
38
39
|
'drutil tray eject ; drutil tray close'
|
39
40
|
end
|
40
41
|
end
|
data/plugins/subscription/xml.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# Name:: Automatic::Plugin::Subscription::Xml
|
3
3
|
# Author:: 774 <http://id774.net>
|
4
4
|
# Created:: Jul 12, 2013
|
5
|
-
# Updated::
|
5
|
+
# Updated:: May 16, 2014
|
6
6
|
# Copyright:: Copyright (c) 2012-2014 Automatic Ruby Developers.
|
7
7
|
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
|
8
8
|
|
@@ -11,6 +11,7 @@ module Automatic::Plugin
|
|
11
11
|
require 'open-uri'
|
12
12
|
require 'active_support'
|
13
13
|
require 'active_support/core_ext'
|
14
|
+
require 'active_support/deprecation'
|
14
15
|
require 'rss'
|
15
16
|
|
16
17
|
def initialize(config, pipeline=[])
|
data/script/build
CHANGED
@@ -23,14 +23,14 @@
|
|
23
23
|
kickstart() {
|
24
24
|
export RACK_ROOT="."
|
25
25
|
export RACK_ENV="test"
|
26
|
-
export DATABASE_URL="$RACK_ROOT/db"
|
26
|
+
#export DATABASE_URL="$RACK_ROOT/db"
|
27
27
|
ruby -v
|
28
28
|
test_subcommand log info started.
|
29
29
|
}
|
30
30
|
|
31
31
|
exec_rspec() {
|
32
32
|
$RACK_ROOT/bin/automatic -v
|
33
|
-
bundle install --path vendor/gems
|
33
|
+
#bundle install --path vendor/gems
|
34
34
|
bundle update
|
35
35
|
bundle exec rake simplecov
|
36
36
|
}
|
data/spec/lib/automatic_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# Author:: kzgs
|
4
4
|
# 774 <http://id774.net>
|
5
5
|
# Created:: Mar 9, 2012
|
6
|
-
# Updated::
|
6
|
+
# Updated:: May 31, 2014
|
7
7
|
# Copyright:: Copyright (c) 2012-2014 Automatic Ruby Developers.
|
8
8
|
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
|
9
9
|
|
@@ -27,7 +27,7 @@ describe Automatic do
|
|
27
27
|
describe "#version" do
|
28
28
|
subject { Automatic.const_get(:VERSION) }
|
29
29
|
|
30
|
-
it { expect(subject).to eq "14.
|
30
|
+
it { expect(subject).to eq "14.5.0" }
|
31
31
|
end
|
32
32
|
|
33
33
|
describe "#(root)_dir" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: automatic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.
|
4
|
+
version: 14.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- id774
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 4.
|
47
|
+
version: 4.1.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 4.
|
54
|
+
version: 4.1.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: activerecord
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 4.
|
61
|
+
version: 4.1.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 4.
|
68
|
+
version: 4.1.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: hashie
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|