sigil 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_DISABLE_SHARED_GEMS: "1"
@@ -0,0 +1,5 @@
1
+ *.sw?
2
+ .DS_Store
3
+ coverage
4
+ rdoc
5
+ pkg
data/Gemfile CHANGED
@@ -1,11 +1,3 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "activesupport", ">= 3.0.0"
4
- gem "i18n"
5
-
6
- group :development do
7
- gem "rspec", "~> 2.1.0"
8
- gem "bundler", "~> 1.0.0"
9
- gem "jeweler", "~> 1.5.1"
10
- gem "rcov", ">= 0"
11
- end
3
+ gemspec
@@ -1,15 +1,16 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ sigil (1.0.1)
5
+ activesupport (>= 3.0.0)
6
+ i18n
7
+
1
8
  GEM
2
9
  remote: http://rubygems.org/
3
10
  specs:
4
11
  activesupport (3.0.3)
5
12
  diff-lcs (1.1.2)
6
- git (1.2.5)
7
13
  i18n (0.5.0)
8
- jeweler (1.5.1)
9
- bundler (~> 1.0.0)
10
- git (>= 1.2.5)
11
- rake
12
- rake (0.8.7)
13
14
  rcov (0.9.9)
14
15
  rspec (2.1.0)
15
16
  rspec-core (~> 2.1.0)
@@ -27,6 +28,6 @@ DEPENDENCIES
27
28
  activesupport (>= 3.0.0)
28
29
  bundler (~> 1.0.0)
29
30
  i18n
30
- jeweler (~> 1.5.1)
31
31
  rcov
32
32
  rspec (~> 2.1.0)
33
+ sigil!
data/Rakefile CHANGED
@@ -1,31 +1,5 @@
1
- require 'rubygems'
2
1
  require 'bundler'
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 = "sigil"
16
- gem.homepage = "http://github.com/steveh/sigil"
17
- gem.license = "MIT"
18
- gem.summary = "Signs and verifies a set of parameters"
19
- gem.description = "Signs and verifies a set of parameters"
20
- gem.email = "steve@seven.net.nz"
21
- gem.authors = ["Steve Hoeksema"]
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', '>= 2.1.0'
26
- gem.add_development_dependency 'activesupport', '>= 3.0.0'
27
- end
28
- Jeweler::RubygemsDotOrgTasks.new
2
+ Bundler::GemHelper.install_tasks
29
3
 
30
4
  require 'rspec/core'
31
5
  require 'rspec/core/rake_task'
@@ -33,11 +7,6 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
33
7
  spec.pattern = FileList['spec/**/*_spec.rb']
34
8
  end
35
9
 
36
- RSpec::Core::RakeTask.new(:rcov) do |spec|
37
- spec.pattern = 'spec/**/*_spec.rb'
38
- spec.rcov = true
39
- end
40
-
41
10
  task :default => :spec
42
11
 
43
12
  require 'rake/rdoctask'
@@ -2,8 +2,5 @@ require "active_support/core_ext/hash"
2
2
  require "active_support/core_ext/object/conversions"
3
3
  require "openssl"
4
4
 
5
- module Sigil
6
- class Error < StandardError; end
7
- end
8
-
5
+ require "sigil/error"
9
6
  require "sigil/base"
@@ -0,0 +1,3 @@
1
+ module Sigil
2
+ class Error < StandardError; end
3
+ end
@@ -0,0 +1,3 @@
1
+ module Sigil
2
+ VERSION = "1.0.1"
3
+ end
@@ -1,71 +1,28 @@
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
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "sigil/version"
5
4
 
6
5
  Gem::Specification.new do |s|
7
- s.name = %q{sigil}
8
- s.version = "1.0.0"
6
+ s.name = "sigil"
7
+ s.version = Sigil::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Steve Hoeksema"]
10
+ s.email = ["steve@seven.net.nz"]
11
+ s.homepage = "http://github.com/steveh/sigil"
12
+ s.summary = "Signs and verifies a set of parameters"
13
+ s.description = "Signs and verifies a set of parameters"
9
14
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Steve Hoeksema"]
12
- s.date = %q{2010-12-08}
13
- s.description = %q{Signs and verifies a set of parameters}
14
- s.email = %q{steve@seven.net.nz}
15
- s.files = [
16
- ".document",
17
- "Gemfile",
18
- "Gemfile.lock",
19
- "Rakefile",
20
- "VERSION",
21
- "lib/sigil.rb",
22
- "lib/sigil/base.rb",
23
- "sigil.gemspec",
24
- "spec/sigil/base_spec.rb",
25
- "spec/spec_helper.rb"
26
- ]
27
- s.homepage = %q{http://github.com/steveh/sigil}
28
- s.licenses = ["MIT"]
29
- s.require_paths = ["lib"]
30
- s.rubygems_version = %q{1.3.7}
31
- s.summary = %q{Signs and verifies a set of parameters}
32
- s.test_files = [
33
- "spec/sigil/base_spec.rb",
34
- "spec/spec_helper.rb"
35
- ]
36
-
37
- if s.respond_to? :specification_version then
38
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
39
- s.specification_version = 3
15
+ s.rubyforge_project = "sigil"
40
16
 
41
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
42
- s.add_runtime_dependency(%q<activesupport>, [">= 3.0.0"])
43
- s.add_runtime_dependency(%q<i18n>, [">= 0"])
44
- s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
45
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
46
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
47
- s.add_development_dependency(%q<rcov>, [">= 0"])
48
- s.add_development_dependency(%q<rspec>, [">= 2.1.0"])
49
- s.add_development_dependency(%q<activesupport>, [">= 3.0.0"])
50
- else
51
- s.add_dependency(%q<activesupport>, [">= 3.0.0"])
52
- s.add_dependency(%q<i18n>, [">= 0"])
53
- s.add_dependency(%q<rspec>, ["~> 2.1.0"])
54
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
55
- s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
56
- s.add_dependency(%q<rcov>, [">= 0"])
57
- s.add_dependency(%q<rspec>, [">= 2.1.0"])
58
- s.add_dependency(%q<activesupport>, [">= 3.0.0"])
59
- end
60
- else
61
- s.add_dependency(%q<activesupport>, [">= 3.0.0"])
62
- s.add_dependency(%q<i18n>, [">= 0"])
63
- s.add_dependency(%q<rspec>, ["~> 2.1.0"])
64
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
65
- s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
66
- s.add_dependency(%q<rcov>, [">= 0"])
67
- s.add_dependency(%q<rspec>, [">= 2.1.0"])
68
- s.add_dependency(%q<activesupport>, [">= 3.0.0"])
69
- end
70
- end
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.require_paths = ["lib"]
71
21
 
22
+ s.add_runtime_dependency("activesupport", [">= 3.0.0"])
23
+ s.add_runtime_dependency("i18n", [">= 0"])
24
+ s.add_development_dependency("rspec", ["~> 2.1.0"])
25
+ s.add_development_dependency("bundler", ["~> 1.0.0"])
26
+ s.add_development_dependency("rcov", [">= 0"])
27
+ s.add_development_dependency("activesupport", [">= 3.0.0"])
28
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 0
9
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Steve Hoeksema
@@ -14,11 +14,12 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-08 00:00:00 +13:00
17
+ date: 2010-12-23 00:00:00 +09:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activesupport
22
+ prerelease: false
22
23
  requirement: &id001 !ruby/object:Gem::Requirement
23
24
  none: false
24
25
  requirements:
@@ -30,10 +31,10 @@ dependencies:
30
31
  - 0
31
32
  version: 3.0.0
32
33
  type: :runtime
33
- prerelease: false
34
34
  version_requirements: *id001
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: i18n
37
+ prerelease: false
37
38
  requirement: &id002 !ruby/object:Gem::Requirement
38
39
  none: false
39
40
  requirements:
@@ -43,10 +44,10 @@ dependencies:
43
44
  - 0
44
45
  version: "0"
45
46
  type: :runtime
46
- prerelease: false
47
47
  version_requirements: *id002
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rspec
50
+ prerelease: false
50
51
  requirement: &id003 !ruby/object:Gem::Requirement
51
52
  none: false
52
53
  requirements:
@@ -58,10 +59,10 @@ dependencies:
58
59
  - 0
59
60
  version: 2.1.0
60
61
  type: :development
61
- prerelease: false
62
62
  version_requirements: *id003
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: bundler
65
+ prerelease: false
65
66
  requirement: &id004 !ruby/object:Gem::Requirement
66
67
  none: false
67
68
  requirements:
@@ -73,54 +74,24 @@ dependencies:
73
74
  - 0
74
75
  version: 1.0.0
75
76
  type: :development
76
- prerelease: false
77
77
  version_requirements: *id004
78
- - !ruby/object:Gem::Dependency
79
- name: jeweler
80
- requirement: &id005 !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ~>
84
- - !ruby/object:Gem::Version
85
- segments:
86
- - 1
87
- - 5
88
- - 1
89
- version: 1.5.1
90
- type: :development
91
- prerelease: false
92
- version_requirements: *id005
93
78
  - !ruby/object:Gem::Dependency
94
79
  name: rcov
95
- requirement: &id006 !ruby/object:Gem::Requirement
96
- none: false
97
- requirements:
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- segments:
101
- - 0
102
- version: "0"
103
- type: :development
104
80
  prerelease: false
105
- version_requirements: *id006
106
- - !ruby/object:Gem::Dependency
107
- name: rspec
108
- requirement: &id007 !ruby/object:Gem::Requirement
81
+ requirement: &id005 !ruby/object:Gem::Requirement
109
82
  none: false
110
83
  requirements:
111
84
  - - ">="
112
85
  - !ruby/object:Gem::Version
113
86
  segments:
114
- - 2
115
- - 1
116
87
  - 0
117
- version: 2.1.0
88
+ version: "0"
118
89
  type: :development
119
- prerelease: false
120
- version_requirements: *id007
90
+ version_requirements: *id005
121
91
  - !ruby/object:Gem::Dependency
122
92
  name: activesupport
123
- requirement: &id008 !ruby/object:Gem::Requirement
93
+ prerelease: false
94
+ requirement: &id006 !ruby/object:Gem::Requirement
124
95
  none: false
125
96
  requirements:
126
97
  - - ">="
@@ -131,10 +102,10 @@ dependencies:
131
102
  - 0
132
103
  version: 3.0.0
133
104
  type: :development
134
- prerelease: false
135
- version_requirements: *id008
105
+ version_requirements: *id006
136
106
  description: Signs and verifies a set of parameters
137
- email: steve@seven.net.nz
107
+ email:
108
+ - steve@seven.net.nz
138
109
  executables: []
139
110
 
140
111
  extensions: []
@@ -142,20 +113,24 @@ extensions: []
142
113
  extra_rdoc_files: []
143
114
 
144
115
  files:
116
+ - .bundle/config
145
117
  - .document
118
+ - .gitignore
146
119
  - Gemfile
147
120
  - Gemfile.lock
148
121
  - Rakefile
149
122
  - VERSION
150
123
  - lib/sigil.rb
151
124
  - lib/sigil/base.rb
125
+ - lib/sigil/error.rb
126
+ - lib/sigil/version.rb
152
127
  - sigil.gemspec
153
128
  - spec/sigil/base_spec.rb
154
129
  - spec/spec_helper.rb
155
130
  has_rdoc: true
156
131
  homepage: http://github.com/steveh/sigil
157
- licenses:
158
- - MIT
132
+ licenses: []
133
+
159
134
  post_install_message:
160
135
  rdoc_options: []
161
136
 
@@ -166,7 +141,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
166
141
  requirements:
167
142
  - - ">="
168
143
  - !ruby/object:Gem::Version
169
- hash: -1382831699325218252
170
144
  segments:
171
145
  - 0
172
146
  version: "0"
@@ -180,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
154
  version: "0"
181
155
  requirements: []
182
156
 
183
- rubyforge_project:
157
+ rubyforge_project: sigil
184
158
  rubygems_version: 1.3.7
185
159
  signing_key:
186
160
  specification_version: 3