has_schedule 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/Gemfile +3 -10
- data/Gemfile.lock +11 -17
- data/Rakefile +2 -53
- data/has_schedule.gemspec +15 -59
- data/lib/has_schedule/version.rb +3 -0
- metadata +22 -81
- data/.rvmrc +0 -1
data/.gitignore
ADDED
data/Gemfile
CHANGED
@@ -1,11 +1,4 @@
|
|
1
|
-
source
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem
|
4
|
-
|
5
|
-
|
6
|
-
group :development do
|
7
|
-
gem "shoulda", ">= 0"
|
8
|
-
gem "bundler", "~> 1.0.0"
|
9
|
-
gem "jeweler", "~> 1.5.2"
|
10
|
-
gem "rcov", ">= 0"
|
11
|
-
end
|
3
|
+
# Specify your gem's dependencies in has_schedule.gemspec
|
4
|
+
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,24 +1,18 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
has_schedule (1.2.2)
|
5
|
+
ice_cube
|
6
|
+
ryansch-andand (~> 1.3.2)
|
7
|
+
|
1
8
|
GEM
|
2
|
-
remote:
|
9
|
+
remote: https://rubygems.org/
|
3
10
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
ice_cube (0.6.6)
|
7
|
-
jeweler (1.5.2)
|
8
|
-
bundler (~> 1.0.0)
|
9
|
-
git (>= 1.2.5)
|
10
|
-
rake
|
11
|
-
rake (0.8.7)
|
12
|
-
rcov (0.9.9)
|
13
|
-
shoulda (2.11.3)
|
11
|
+
ice_cube (0.7.6)
|
12
|
+
ryansch-andand (1.3.2)
|
14
13
|
|
15
14
|
PLATFORMS
|
16
15
|
ruby
|
17
16
|
|
18
17
|
DEPENDENCIES
|
19
|
-
|
20
|
-
bundler (~> 1.0.0)
|
21
|
-
ice_cube
|
22
|
-
jeweler (~> 1.5.2)
|
23
|
-
rcov
|
24
|
-
shoulda
|
18
|
+
has_schedule!
|
data/Rakefile
CHANGED
@@ -1,53 +1,2 @@
|
|
1
|
-
|
2
|
-
require
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
|
-
require 'rake'
|
11
|
-
|
12
|
-
require 'jeweler'
|
13
|
-
Jeweler::Tasks.new do |gem|
|
14
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
15
|
-
gem.name = "has_schedule"
|
16
|
-
gem.homepage = "http://github.com/ryansch/has_schedule"
|
17
|
-
gem.license = "MIT"
|
18
|
-
gem.summary = %Q{Adds schedule serialization for use with ice_cube}
|
19
|
-
gem.description = %Q{Exposes an ice_cube schedule object and serializes it.}
|
20
|
-
gem.email = "ryan@instanceinc.com"
|
21
|
-
gem.authors = ["Ryan Schlesinger"]
|
22
|
-
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
23
|
-
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
|
24
|
-
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
|
25
|
-
# gem.add_development_dependency 'rspec', '> 1.2.3'
|
26
|
-
end
|
27
|
-
Jeweler::RubygemsDotOrgTasks.new
|
28
|
-
|
29
|
-
require 'rake/testtask'
|
30
|
-
Rake::TestTask.new(:test) do |test|
|
31
|
-
test.libs << 'lib' << 'test'
|
32
|
-
test.pattern = 'test/**/test_*.rb'
|
33
|
-
test.verbose = true
|
34
|
-
end
|
35
|
-
|
36
|
-
require 'rcov/rcovtask'
|
37
|
-
Rcov::RcovTask.new do |test|
|
38
|
-
test.libs << 'test'
|
39
|
-
test.pattern = 'test/**/test_*.rb'
|
40
|
-
test.verbose = true
|
41
|
-
end
|
42
|
-
|
43
|
-
task :default => :test
|
44
|
-
|
45
|
-
require 'rake/rdoctask'
|
46
|
-
Rake::RDocTask.new do |rdoc|
|
47
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
48
|
-
|
49
|
-
rdoc.rdoc_dir = 'rdoc'
|
50
|
-
rdoc.title = "has_schedule #{version}"
|
51
|
-
rdoc.rdoc_files.include('README*')
|
52
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
53
|
-
end
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
require "bundler/gem_tasks"
|
data/has_schedule.gemspec
CHANGED
@@ -1,64 +1,20 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/has_schedule/version', __FILE__)
|
5
3
|
|
6
|
-
Gem::Specification.new do |
|
7
|
-
|
8
|
-
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["Ryan Schlesinger"]
|
6
|
+
gem.email = ["ryan@instanceinc.com"]
|
7
|
+
gem.description = %q{Exposes an ice_cube schedule object and serializes it.}
|
8
|
+
gem.summary = %q{Adds schedule serialization for use with ice_cube}
|
9
|
+
gem.homepage = "http://github.com/ryansch/has_schedule"
|
9
10
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
"LICENSE.txt",
|
17
|
-
"README.rdoc"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
".document",
|
21
|
-
".rvmrc",
|
22
|
-
"Gemfile",
|
23
|
-
"Gemfile.lock",
|
24
|
-
"LICENSE.txt",
|
25
|
-
"README.rdoc",
|
26
|
-
"Rakefile",
|
27
|
-
"VERSION",
|
28
|
-
"has_schedule.gemspec",
|
29
|
-
"lib/has_schedule.rb"
|
30
|
-
]
|
31
|
-
s.homepage = %q{http://github.com/ryansch/has_schedule}
|
32
|
-
s.licenses = ["MIT"]
|
33
|
-
s.require_paths = ["lib"]
|
34
|
-
s.rubygems_version = %q{1.6.2}
|
35
|
-
s.summary = %q{Adds schedule serialization for use with ice_cube}
|
11
|
+
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
12
|
+
gem.files = `git ls-files`.split("\n")
|
13
|
+
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
14
|
+
gem.name = "has_schedule"
|
15
|
+
gem.require_paths = ["lib"]
|
16
|
+
gem.version = HasSchedule::VERSION
|
36
17
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
41
|
-
s.add_runtime_dependency(%q<ice_cube>, [">= 0"])
|
42
|
-
s.add_runtime_dependency(%q<andand>, ["= 1.3.1"])
|
43
|
-
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
44
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
45
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
46
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
47
|
-
else
|
48
|
-
s.add_dependency(%q<ice_cube>, [">= 0"])
|
49
|
-
s.add_dependency(%q<andand>, ["= 1.3.1"])
|
50
|
-
s.add_dependency(%q<shoulda>, [">= 0"])
|
51
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
52
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
53
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
54
|
-
end
|
55
|
-
else
|
56
|
-
s.add_dependency(%q<ice_cube>, [">= 0"])
|
57
|
-
s.add_dependency(%q<andand>, ["= 1.3.1"])
|
58
|
-
s.add_dependency(%q<shoulda>, [">= 0"])
|
59
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
60
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
61
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
62
|
-
end
|
18
|
+
gem.add_dependency 'ice_cube'
|
19
|
+
gem.add_dependency 'ryansch-andand', '~> 1.3.2'
|
63
20
|
end
|
64
|
-
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_schedule
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 3
|
10
|
+
version: 1.2.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Schlesinger
|
@@ -15,11 +15,12 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-01-11 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
22
|
+
name: ice_cube
|
23
|
+
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
25
|
none: false
|
25
26
|
requirements:
|
@@ -29,97 +30,36 @@ dependencies:
|
|
29
30
|
segments:
|
30
31
|
- 0
|
31
32
|
version: "0"
|
32
|
-
name: ice_cube
|
33
|
-
version_requirements: *id001
|
34
|
-
prerelease: false
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
33
|
type: :runtime
|
37
|
-
|
38
|
-
none: false
|
39
|
-
requirements:
|
40
|
-
- - "="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
hash: 25
|
43
|
-
segments:
|
44
|
-
- 1
|
45
|
-
- 3
|
46
|
-
- 1
|
47
|
-
version: 1.3.1
|
48
|
-
name: andand
|
49
|
-
version_requirements: *id002
|
50
|
-
prerelease: false
|
34
|
+
version_requirements: *id001
|
51
35
|
- !ruby/object:Gem::Dependency
|
52
|
-
|
53
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
|
-
requirements:
|
56
|
-
- - ">="
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
hash: 3
|
59
|
-
segments:
|
60
|
-
- 0
|
61
|
-
version: "0"
|
62
|
-
name: shoulda
|
63
|
-
version_requirements: *id003
|
36
|
+
name: ryansch-andand
|
64
37
|
prerelease: false
|
65
|
-
|
66
|
-
type: :development
|
67
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
|
-
requirements:
|
70
|
-
- - ~>
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
hash: 23
|
73
|
-
segments:
|
74
|
-
- 1
|
75
|
-
- 0
|
76
|
-
- 0
|
77
|
-
version: 1.0.0
|
78
|
-
name: bundler
|
79
|
-
version_requirements: *id004
|
80
|
-
prerelease: false
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
type: :development
|
83
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
84
39
|
none: false
|
85
40
|
requirements:
|
86
41
|
- - ~>
|
87
42
|
- !ruby/object:Gem::Version
|
88
|
-
hash:
|
43
|
+
hash: 31
|
89
44
|
segments:
|
90
45
|
- 1
|
91
|
-
-
|
46
|
+
- 3
|
92
47
|
- 2
|
93
|
-
version: 1.
|
94
|
-
|
95
|
-
version_requirements: *
|
96
|
-
prerelease: false
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
type: :development
|
99
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
|
-
requirements:
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
hash: 3
|
105
|
-
segments:
|
106
|
-
- 0
|
107
|
-
version: "0"
|
108
|
-
name: rcov
|
109
|
-
version_requirements: *id006
|
110
|
-
prerelease: false
|
48
|
+
version: 1.3.2
|
49
|
+
type: :runtime
|
50
|
+
version_requirements: *id002
|
111
51
|
description: Exposes an ice_cube schedule object and serializes it.
|
112
|
-
email:
|
52
|
+
email:
|
53
|
+
- ryan@instanceinc.com
|
113
54
|
executables: []
|
114
55
|
|
115
56
|
extensions: []
|
116
57
|
|
117
|
-
extra_rdoc_files:
|
118
|
-
|
119
|
-
- README.rdoc
|
58
|
+
extra_rdoc_files: []
|
59
|
+
|
120
60
|
files:
|
121
61
|
- .document
|
122
|
-
- .
|
62
|
+
- .gitignore
|
123
63
|
- Gemfile
|
124
64
|
- Gemfile.lock
|
125
65
|
- LICENSE.txt
|
@@ -128,10 +68,11 @@ files:
|
|
128
68
|
- VERSION
|
129
69
|
- has_schedule.gemspec
|
130
70
|
- lib/has_schedule.rb
|
71
|
+
- lib/has_schedule/version.rb
|
131
72
|
has_rdoc: true
|
132
73
|
homepage: http://github.com/ryansch/has_schedule
|
133
|
-
licenses:
|
134
|
-
|
74
|
+
licenses: []
|
75
|
+
|
135
76
|
post_install_message:
|
136
77
|
rdoc_options: []
|
137
78
|
|
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm ree@has_schedule
|