fyi 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Rakefile +22 -15
  2. data/fyi.gemspec +18 -51
  3. data/lib/fyi/version.rb +3 -0
  4. metadata +11 -12
  5. data/.gitignore +0 -2
  6. data/VERSION +0 -1
data/Rakefile CHANGED
@@ -1,17 +1,24 @@
1
- require 'rake'
1
+ $LOAD_PATH.unshift 'lib'
2
+ require 'fyi/version'
2
3
 
3
- begin
4
- require 'jeweler'
5
- Jeweler::Tasks.new do |gemspec|
6
- gemspec.name = 'fyi'
7
- gemspec.summary = 'Find out what cron is doing.'
8
- gemspec.email = 'boss@airbladesoftware.com'
9
- gemspec.homepage = 'http://github.com/airblade/fyi'
10
- gemspec.authors = ['Andy Stewart']
11
- gemspec.add_dependency('pony')
12
- gemspec.add_dependency('systemu')
13
- end
14
- Jeweler::GemcutterTasks.new
15
- rescue LoadError
16
- puts 'Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler'
4
+ desc 'Build the gem.'
5
+ task :build do
6
+ sh 'gem build fyi.gemspec'
7
+ end
8
+
9
+ desc 'Build and install the gem locally.'
10
+ task :install => :build do
11
+ sh "gem install fyi-#{Fyi::VERSION}.gem"
12
+ end
13
+
14
+ desc 'Tag the code and push tags to origin.'
15
+ task :tag do
16
+ sh "git tag v#{Fyi::VERSION}"
17
+ sh "git push origin master --tags"
18
+ end
19
+
20
+ desc 'Publish to rubygems.org.'
21
+ task :publish => [:build, :tag] do
22
+ sh "gem push fyi-#{Fyi::VERSION}.gem"
23
+ # sh "git clean -fd"
17
24
  end
data/fyi.gemspec CHANGED
@@ -1,55 +1,22 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
1
  # -*- encoding: utf-8 -*-
5
2
 
6
- Gem::Specification.new do |s|
7
- s.name = %q{fyi}
8
- s.version = "1.0.8"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Andy Stewart"]
12
- s.date = %q{2010-05-17}
13
- s.default_executable = %q{fyi}
14
- s.email = %q{boss@airbladesoftware.com}
15
- s.executables = ["fyi"]
16
- s.extra_rdoc_files = [
17
- "README.md"
18
- ]
19
- s.files = [
20
- ".gitignore",
21
- "README.md",
22
- "Rakefile",
23
- "VERSION",
24
- "bin/fyi",
25
- "config_example.yml",
26
- "fyi.gemspec",
27
- "lib/fyi.rb",
28
- "lib/fyi/config.rb",
29
- "lib/fyi/core_ext.rb",
30
- "lib/fyi/notifiers/email.rb",
31
- "lib/fyi/notifiers/log.rb"
32
- ]
33
- s.homepage = %q{http://github.com/airblade/fyi}
34
- s.rdoc_options = ["--charset=UTF-8"]
35
- s.require_paths = ["lib"]
36
- s.rubygems_version = %q{1.3.6}
37
- s.summary = %q{Find out what cron is doing.}
38
-
39
- if s.respond_to? :specification_version then
40
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
41
- s.specification_version = 3
3
+ $LOAD_PATH.unshift 'lib'
4
+ require 'fyi/version'
42
5
 
43
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
44
- s.add_runtime_dependency(%q<pony>, [">= 0"])
45
- s.add_runtime_dependency(%q<systemu>, [">= 0"])
46
- else
47
- s.add_dependency(%q<pony>, [">= 0"])
48
- s.add_dependency(%q<systemu>, [">= 0"])
49
- end
50
- else
51
- s.add_dependency(%q<pony>, [">= 0"])
52
- s.add_dependency(%q<systemu>, [">= 0"])
53
- end
6
+ Gem::Specification.new do |s|
7
+ s.name = 'fyi'
8
+ s.version = Fyi::VERSION
9
+ s.date = Time.now.strftime('%Y-%m-%d')
10
+ s.summary = 'Find out what cron is doing.'
11
+ s.description = s.summary
12
+ s.homepage = 'http://github.com/airblade/fyi'
13
+ s.authors = ['Andy Stewart']
14
+ s.email = 'boss@airbladesoftware.com'
15
+ s.files = %w( README.md Rakefile fyi.gemspec config_example.yml )
16
+ s.files += Dir.glob("bin/**/*")
17
+ s.files += Dir.glob("lib/**/*")
18
+ s.executables = %w( fyi )
19
+ s.extra_rdoc_files = %w( README.md )
20
+ s.add_dependency 'pony', ['>= 0']
21
+ s.add_dependency 'systemu', ['>= 0']
54
22
  end
55
-
@@ -0,0 +1,3 @@
1
+ class Fyi
2
+ VERSION = '1.0.9'
3
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 8
9
- version: 1.0.8
8
+ - 9
9
+ version: 1.0.9
10
10
  platform: ruby
11
11
  authors:
12
12
  - Andy Stewart
@@ -14,8 +14,8 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-17 00:00:00 +01:00
18
- default_executable: fyi
17
+ date: 2010-05-18 00:00:00 +01:00
18
+ default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: pony
@@ -41,7 +41,7 @@ dependencies:
41
41
  version: "0"
42
42
  type: :runtime
43
43
  version_requirements: *id002
44
- description:
44
+ description: Find out what cron is doing.
45
45
  email: boss@airbladesoftware.com
46
46
  executables:
47
47
  - fyi
@@ -50,25 +50,24 @@ extensions: []
50
50
  extra_rdoc_files:
51
51
  - README.md
52
52
  files:
53
- - .gitignore
54
53
  - README.md
55
54
  - Rakefile
56
- - VERSION
57
- - bin/fyi
58
- - config_example.yml
59
55
  - fyi.gemspec
60
- - lib/fyi.rb
56
+ - config_example.yml
57
+ - bin/fyi
61
58
  - lib/fyi/config.rb
62
59
  - lib/fyi/core_ext.rb
63
60
  - lib/fyi/notifiers/email.rb
64
61
  - lib/fyi/notifiers/log.rb
62
+ - lib/fyi/version.rb
63
+ - lib/fyi.rb
65
64
  has_rdoc: true
66
65
  homepage: http://github.com/airblade/fyi
67
66
  licenses: []
68
67
 
69
68
  post_install_message:
70
- rdoc_options:
71
- - --charset=UTF-8
69
+ rdoc_options: []
70
+
72
71
  require_paths:
73
72
  - lib
74
73
  required_ruby_version: !ruby/object:Gem::Requirement
data/.gitignore DELETED
@@ -1,2 +0,0 @@
1
- .DS_Store
2
- pkg/
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.0.8