hit_counter 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,6 +1,7 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
3
  gem 'addressable'
4
+ gem 'bson_ext'
4
5
  gem 'mongoid'
5
6
  gem 'rmagick', '2.12.2' # version compatible with heroku
6
7
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
data/hit_counter.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "hit_counter"
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Roderick Monje"]
12
- s.date = "2011-09-18"
12
+ s.date = "2011-09-19"
13
13
  s.email = "rod@seologic.com"
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE.txt",
@@ -69,17 +69,20 @@ Gem::Specification.new do |s|
69
69
 
70
70
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
71
71
  s.add_runtime_dependency(%q<addressable>, [">= 0"])
72
+ s.add_runtime_dependency(%q<bson_ext>, [">= 0"])
72
73
  s.add_runtime_dependency(%q<mongoid>, [">= 0"])
73
74
  s.add_runtime_dependency(%q<rmagick>, ["= 2.12.2"])
74
75
  s.add_development_dependency(%q<jeweler>, [">= 0"])
75
76
  else
76
77
  s.add_dependency(%q<addressable>, [">= 0"])
78
+ s.add_dependency(%q<bson_ext>, [">= 0"])
77
79
  s.add_dependency(%q<mongoid>, [">= 0"])
78
80
  s.add_dependency(%q<rmagick>, ["= 2.12.2"])
79
81
  s.add_dependency(%q<jeweler>, [">= 0"])
80
82
  end
81
83
  else
82
84
  s.add_dependency(%q<addressable>, [">= 0"])
85
+ s.add_dependency(%q<bson_ext>, [">= 0"])
83
86
  s.add_dependency(%q<mongoid>, [">= 0"])
84
87
  s.add_dependency(%q<rmagick>, ["= 2.12.2"])
85
88
  s.add_dependency(%q<jeweler>, [">= 0"])
data/lib/hit_counter.rb CHANGED
@@ -12,6 +12,9 @@
12
12
  #
13
13
  # You should have received a copy of the GNU General Public License
14
14
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+ require 'rubygems'
16
+ require 'bundler/setup'
17
+
15
18
  require 'addressable/uri'
16
19
  require 'mongoid'
17
20
  require 'rmagick'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hit_counter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roderick Monje
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-18 00:00:00 Z
18
+ date: 2011-09-19 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: addressable
@@ -32,7 +32,7 @@ dependencies:
32
32
  type: :runtime
33
33
  version_requirements: *id001
34
34
  - !ruby/object:Gem::Dependency
35
- name: mongoid
35
+ name: bson_ext
36
36
  prerelease: false
37
37
  requirement: &id002 !ruby/object:Gem::Requirement
38
38
  none: false
@@ -46,9 +46,23 @@ dependencies:
46
46
  type: :runtime
47
47
  version_requirements: *id002
48
48
  - !ruby/object:Gem::Dependency
49
- name: rmagick
49
+ name: mongoid
50
50
  prerelease: false
51
51
  requirement: &id003 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
60
+ type: :runtime
61
+ version_requirements: *id003
62
+ - !ruby/object:Gem::Dependency
63
+ name: rmagick
64
+ prerelease: false
65
+ requirement: &id004 !ruby/object:Gem::Requirement
52
66
  none: false
53
67
  requirements:
54
68
  - - "="
@@ -60,11 +74,11 @@ dependencies:
60
74
  - 2
61
75
  version: 2.12.2
62
76
  type: :runtime
63
- version_requirements: *id003
77
+ version_requirements: *id004
64
78
  - !ruby/object:Gem::Dependency
65
79
  name: jeweler
66
80
  prerelease: false
67
- requirement: &id004 !ruby/object:Gem::Requirement
81
+ requirement: &id005 !ruby/object:Gem::Requirement
68
82
  none: false
69
83
  requirements:
70
84
  - - ">="
@@ -74,7 +88,7 @@ dependencies:
74
88
  - 0
75
89
  version: "0"
76
90
  type: :development
77
- version_requirements: *id004
91
+ version_requirements: *id005
78
92
  description:
79
93
  email: rod@seologic.com
80
94
  executables: []