kmayer-highrise 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.mkdn CHANGED
@@ -37,6 +37,9 @@ and, if you want [caching][c]:
37
37
 
38
38
  Highrise::Base.connection.cache_store= <your normal ActiveSupport::Caching options>
39
39
 
40
+ If you are using this in a Rails application, putting this code in a config/initializers/highrise.rb
41
+ file is recommended. See config_initializers_highrise.rb in the examples/ directory.
42
+
40
43
  ## Usage
41
44
 
42
45
  @tags = Highrise::Tag.find(:all)
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 11
3
- :patch: 0
3
+ :patch: 1
4
4
  :major: 0
@@ -0,0 +1,11 @@
1
+ if Rails.env != 'test' then
2
+ Highrise::Base.site = 'https://example.com.i'
3
+ # For backward compatability
4
+ if Highrise::Base.respond_to? :user
5
+ Highrise::Base.user = 'my_fancy_auth_token'
6
+ else
7
+ Highrise::Base.site = 'https://my_fancy_auth_token@example.com.i'
8
+ end
9
+ # The cache store can be anything that ActiveSupport can handle
10
+ Highrise::Base.connection.cache_store = ActiveSupport::Cache.lookup_store
11
+ end
data/highrise.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{highrise}
5
- s.version = "0.11.0"
5
+ s.version = "0.11.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Marcos Tapaj\303\263s", "Ken Mayer"]
9
- s.date = %q{2009-05-20}
9
+ s.date = %q{2009-05-22}
10
10
  s.description = %q{
11
11
  Based on the original API module from DHH, http://developer.37signals.com/highrise/, this
12
12
  gem is a cleaned up, tested version of the same. Contributors have added support for tags
@@ -30,6 +30,7 @@ Highrise::Base.user = 'your_api_auth_token'
30
30
  "Rakefile",
31
31
  "VERSION.yml",
32
32
  "autotest/discover.rb",
33
+ "examples/config_initializers_highrise.rb",
33
34
  "examples/extending.rb",
34
35
  "examples/sample.rb",
35
36
  "highrise.gemspec",
@@ -100,6 +101,7 @@ Highrise::Base.user = 'your_api_auth_token'
100
101
  "spec/highrise/task_spec.rb",
101
102
  "spec/highrise/user_spec.rb",
102
103
  "spec/spec_helper.rb",
104
+ "examples/config_initializers_highrise.rb",
103
105
  "examples/extending.rb",
104
106
  "examples/sample.rb"
105
107
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kmayer-highrise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Marcos Tapaj\xC3\xB3s"
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-05-20 00:00:00 -07:00
13
+ date: 2009-05-22 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -69,6 +69,7 @@ files:
69
69
  - Rakefile
70
70
  - VERSION.yml
71
71
  - autotest/discover.rb
72
+ - examples/config_initializers_highrise.rb
72
73
  - examples/extending.rb
73
74
  - examples/sample.rb
74
75
  - highrise.gemspec
@@ -159,5 +160,6 @@ test_files:
159
160
  - spec/highrise/task_spec.rb
160
161
  - spec/highrise/user_spec.rb
161
162
  - spec/spec_helper.rb
163
+ - examples/config_initializers_highrise.rb
162
164
  - examples/extending.rb
163
165
  - examples/sample.rb