firefly 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/HISTORY +4 -0
  2. data/Rakefile +9 -7
  3. data/VERSION +1 -1
  4. data/firefly.gemspec +29 -23
  5. data/lib/firefly.rb +2 -0
  6. metadata +67 -36
data/HISTORY CHANGED
@@ -1,3 +1,7 @@
1
+ = 0.4.4 / 2010-06-20
2
+
3
+ * 2010-06-20 - Updated gem dependencies for DataMapper 1.0.0
4
+
1
5
  = 0.4.3 / 2010-06-06
2
6
 
3
7
  * 2010-06-06 - Handle invalid API keys correctly.
data/Rakefile CHANGED
@@ -11,14 +11,16 @@ begin
11
11
  gemspec.homepage = "http://github.com/ariejan/firefly"
12
12
  gemspec.authors = ["Ariejan de Vroom"]
13
13
  gemspec.rubyforge_project = 'firefly'
14
- gemspec.add_dependency('sinatra', '>= 1.0')
15
- gemspec.add_dependency('dm-core', '>= 0.10.2')
16
- gemspec.add_dependency('dm-aggregates', '>= 0.10.2')
17
- gemspec.add_dependency('do_sqlite3', '>= 0.10.1.1')
18
- gemspec.add_dependency('haml', '>= 2.2.22')
14
+ gemspec.add_dependency('sinatra', '~> 1.0')
15
+ gemspec.add_dependency('dm-core', '~> 1.0.0')
16
+ gemspec.add_dependency('dm-migrations', '~> 1.0.0')
17
+ gemspec.add_dependency('dm-transactions', '~> 1.0.0')
18
+ gemspec.add_dependency('dm-aggregates', '~> 1.0.0')
19
+ gemspec.add_dependency('dm-sqlite-adapter', '~> 1.0.0')
20
+ gemspec.add_dependency('haml', '~> 3.0.9')
19
21
 
20
- gemspec.add_development_dependency('rspec', '>= 1.3.0')
21
- gemspec.add_development_dependency('rack-test', '>= 0.5.3')
22
+ gemspec.add_development_dependency('rspec', '~> 1.3.0')
23
+ gemspec.add_development_dependency('rack-test', '~> 0.5.3')
22
24
  end
23
25
  Jeweler::GemcutterTasks.new
24
26
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.3
1
+ 0.4.4
data/firefly.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{firefly}
8
- s.version = "0.4.3"
8
+ s.version = "0.4.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ariejan de Vroom"]
12
- s.date = %q{2010-06-06}
12
+ s.date = %q{2010-06-20}
13
13
  s.description = %q{FireFly is a simple URL shortner for personal use. It's powered by Sinatra and can be run with any Rack-capable web server.}
14
14
  s.email = %q{ariejan@ariejan.net}
15
15
  s.extra_rdoc_files = [
@@ -65,30 +65,36 @@ Gem::Specification.new do |s|
65
65
  s.specification_version = 3
66
66
 
67
67
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
68
- s.add_runtime_dependency(%q<sinatra>, [">= 1.0"])
69
- s.add_runtime_dependency(%q<dm-core>, [">= 0.10.2"])
70
- s.add_runtime_dependency(%q<dm-aggregates>, [">= 0.10.2"])
71
- s.add_runtime_dependency(%q<do_sqlite3>, [">= 0.10.1.1"])
72
- s.add_runtime_dependency(%q<haml>, [">= 2.2.22"])
73
- s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
74
- s.add_development_dependency(%q<rack-test>, [">= 0.5.3"])
68
+ s.add_runtime_dependency(%q<sinatra>, ["~> 1.0"])
69
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.0"])
70
+ s.add_runtime_dependency(%q<dm-migrations>, ["~> 1.0.0"])
71
+ s.add_runtime_dependency(%q<dm-transactions>, ["~> 1.0.0"])
72
+ s.add_runtime_dependency(%q<dm-aggregates>, ["~> 1.0.0"])
73
+ s.add_runtime_dependency(%q<dm-sqlite-adapter>, ["~> 1.0.0"])
74
+ s.add_runtime_dependency(%q<haml>, ["~> 3.0.9"])
75
+ s.add_development_dependency(%q<rspec>, ["~> 1.3.0"])
76
+ s.add_development_dependency(%q<rack-test>, ["~> 0.5.3"])
75
77
  else
76
- s.add_dependency(%q<sinatra>, [">= 1.0"])
77
- s.add_dependency(%q<dm-core>, [">= 0.10.2"])
78
- s.add_dependency(%q<dm-aggregates>, [">= 0.10.2"])
79
- s.add_dependency(%q<do_sqlite3>, [">= 0.10.1.1"])
80
- s.add_dependency(%q<haml>, [">= 2.2.22"])
81
- s.add_dependency(%q<rspec>, [">= 1.3.0"])
82
- s.add_dependency(%q<rack-test>, [">= 0.5.3"])
78
+ s.add_dependency(%q<sinatra>, ["~> 1.0"])
79
+ s.add_dependency(%q<dm-core>, ["~> 1.0.0"])
80
+ s.add_dependency(%q<dm-migrations>, ["~> 1.0.0"])
81
+ s.add_dependency(%q<dm-transactions>, ["~> 1.0.0"])
82
+ s.add_dependency(%q<dm-aggregates>, ["~> 1.0.0"])
83
+ s.add_dependency(%q<dm-sqlite-adapter>, ["~> 1.0.0"])
84
+ s.add_dependency(%q<haml>, ["~> 3.0.9"])
85
+ s.add_dependency(%q<rspec>, ["~> 1.3.0"])
86
+ s.add_dependency(%q<rack-test>, ["~> 0.5.3"])
83
87
  end
84
88
  else
85
- s.add_dependency(%q<sinatra>, [">= 1.0"])
86
- s.add_dependency(%q<dm-core>, [">= 0.10.2"])
87
- s.add_dependency(%q<dm-aggregates>, [">= 0.10.2"])
88
- s.add_dependency(%q<do_sqlite3>, [">= 0.10.1.1"])
89
- s.add_dependency(%q<haml>, [">= 2.2.22"])
90
- s.add_dependency(%q<rspec>, [">= 1.3.0"])
91
- s.add_dependency(%q<rack-test>, [">= 0.5.3"])
89
+ s.add_dependency(%q<sinatra>, ["~> 1.0"])
90
+ s.add_dependency(%q<dm-core>, ["~> 1.0.0"])
91
+ s.add_dependency(%q<dm-migrations>, ["~> 1.0.0"])
92
+ s.add_dependency(%q<dm-transactions>, ["~> 1.0.0"])
93
+ s.add_dependency(%q<dm-aggregates>, ["~> 1.0.0"])
94
+ s.add_dependency(%q<dm-sqlite-adapter>, ["~> 1.0.0"])
95
+ s.add_dependency(%q<haml>, ["~> 3.0.9"])
96
+ s.add_dependency(%q<rspec>, ["~> 1.3.0"])
97
+ s.add_dependency(%q<rack-test>, ["~> 0.5.3"])
92
98
  end
93
99
  end
94
100
 
data/lib/firefly.rb CHANGED
@@ -2,6 +2,8 @@ require 'rubygems'
2
2
  require 'open-uri'
3
3
  require 'sinatra'
4
4
  require 'dm-core'
5
+ require 'dm-migrations'
6
+ require 'dm-transactions'
5
7
  require 'dm-aggregates'
6
8
 
7
9
  $:.unshift(File.dirname(__FILE__)) unless
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firefly
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 3
10
- version: 0.4.3
9
+ - 4
10
+ version: 0.4.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ariejan de Vroom
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-06 00:00:00 +02:00
18
+ date: 2010-06-20 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -24,7 +24,7 @@ dependencies:
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ">="
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  hash: 15
30
30
  segments:
@@ -39,72 +39,103 @@ dependencies:
39
39
  requirement: &id002 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
- - - ">="
42
+ - - ~>
43
43
  - !ruby/object:Gem::Version
44
- hash: 51
44
+ hash: 23
45
45
  segments:
46
+ - 1
47
+ - 0
46
48
  - 0
47
- - 10
48
- - 2
49
- version: 0.10.2
49
+ version: 1.0.0
50
50
  type: :runtime
51
51
  version_requirements: *id002
52
52
  - !ruby/object:Gem::Dependency
53
- name: dm-aggregates
53
+ name: dm-migrations
54
54
  prerelease: false
55
55
  requirement: &id003 !ruby/object:Gem::Requirement
56
56
  none: false
57
57
  requirements:
58
- - - ">="
58
+ - - ~>
59
59
  - !ruby/object:Gem::Version
60
- hash: 51
60
+ hash: 23
61
61
  segments:
62
+ - 1
63
+ - 0
62
64
  - 0
63
- - 10
64
- - 2
65
- version: 0.10.2
65
+ version: 1.0.0
66
66
  type: :runtime
67
67
  version_requirements: *id003
68
68
  - !ruby/object:Gem::Dependency
69
- name: do_sqlite3
69
+ name: dm-transactions
70
70
  prerelease: false
71
71
  requirement: &id004 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
- - - ">="
74
+ - - ~>
75
75
  - !ruby/object:Gem::Version
76
- hash: 25
76
+ hash: 23
77
77
  segments:
78
- - 0
79
- - 10
80
- - 1
81
78
  - 1
82
- version: 0.10.1.1
79
+ - 0
80
+ - 0
81
+ version: 1.0.0
83
82
  type: :runtime
84
83
  version_requirements: *id004
85
84
  - !ruby/object:Gem::Dependency
86
- name: haml
85
+ name: dm-aggregates
87
86
  prerelease: false
88
87
  requirement: &id005 !ruby/object:Gem::Requirement
89
88
  none: false
90
89
  requirements:
91
- - - ">="
90
+ - - ~>
92
91
  - !ruby/object:Gem::Version
93
- hash: 43
92
+ hash: 23
94
93
  segments:
95
- - 2
96
- - 2
97
- - 22
98
- version: 2.2.22
94
+ - 1
95
+ - 0
96
+ - 0
97
+ version: 1.0.0
99
98
  type: :runtime
100
99
  version_requirements: *id005
101
100
  - !ruby/object:Gem::Dependency
102
- name: rspec
101
+ name: dm-sqlite-adapter
103
102
  prerelease: false
104
103
  requirement: &id006 !ruby/object:Gem::Requirement
105
104
  none: false
106
105
  requirements:
107
- - - ">="
106
+ - - ~>
107
+ - !ruby/object:Gem::Version
108
+ hash: 23
109
+ segments:
110
+ - 1
111
+ - 0
112
+ - 0
113
+ version: 1.0.0
114
+ type: :runtime
115
+ version_requirements: *id006
116
+ - !ruby/object:Gem::Dependency
117
+ name: haml
118
+ prerelease: false
119
+ requirement: &id007 !ruby/object:Gem::Requirement
120
+ none: false
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ hash: 21
125
+ segments:
126
+ - 3
127
+ - 0
128
+ - 9
129
+ version: 3.0.9
130
+ type: :runtime
131
+ version_requirements: *id007
132
+ - !ruby/object:Gem::Dependency
133
+ name: rspec
134
+ prerelease: false
135
+ requirement: &id008 !ruby/object:Gem::Requirement
136
+ none: false
137
+ requirements:
138
+ - - ~>
108
139
  - !ruby/object:Gem::Version
109
140
  hash: 27
110
141
  segments:
@@ -113,14 +144,14 @@ dependencies:
113
144
  - 0
114
145
  version: 1.3.0
115
146
  type: :development
116
- version_requirements: *id006
147
+ version_requirements: *id008
117
148
  - !ruby/object:Gem::Dependency
118
149
  name: rack-test
119
150
  prerelease: false
120
- requirement: &id007 !ruby/object:Gem::Requirement
151
+ requirement: &id009 !ruby/object:Gem::Requirement
121
152
  none: false
122
153
  requirements:
123
- - - ">="
154
+ - - ~>
124
155
  - !ruby/object:Gem::Version
125
156
  hash: 13
126
157
  segments:
@@ -129,7 +160,7 @@ dependencies:
129
160
  - 3
130
161
  version: 0.5.3
131
162
  type: :development
132
- version_requirements: *id007
163
+ version_requirements: *id009
133
164
  description: FireFly is a simple URL shortner for personal use. It's powered by Sinatra and can be run with any Rack-capable web server.
134
165
  email: ariejan@ariejan.net
135
166
  executables: []