newrelic_api 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,30 @@
1
+ # Normally you hardwire the test environment in the test helper. But
2
+ # if you explicitly set it to development we'll pick that up instead.
3
+ ENV["RAILS_ENV"] ||= "test"
4
+
5
+ require 'rubygems'
6
+
7
+ # Set up gems listed in the Gemfile.
8
+ gemfile = File.expand_path('../../Gemfile', __FILE__)
9
+ begin
10
+ ENV['BUNDLE_GEMFILE'] = gemfile
11
+ require 'bundler'
12
+ Bundler.setup
13
+ rescue Bundler::GemNotFound => e
14
+ STDERR.puts e.message
15
+ STDERR.puts "Try running `bundle install`."
16
+ exit!
17
+ end if File.exist?(gemfile)
18
+ #require File.expand_path('../../config/environment', __FILE__)
19
+ require "active_resource/railtie"
20
+ require "rails/test_unit/railtie"
21
+ require 'rails/test_help'
22
+ require 'shoulda'
23
+ require 'logging'
24
+
25
+ $LOAD_PATH << File.expand_path("../../lib", __FILE__)
26
+ ActiveResource::Base.logger = Logger.new(File.expand_path('../../log/test.log', __FILE__))
27
+ ActiveResource::Base.logger.level = Logger::DEBUG
28
+ class ActiveSupport::TestCase
29
+ # Add more helper methods to be used by all tests here...
30
+ end
metadata ADDED
@@ -0,0 +1,155 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: newrelic_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - New Relic
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-01-12 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &70301389371620 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - =
20
+ - !ruby/object:Gem::Version
21
+ version: 3.0.3
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *70301389371620
25
+ - !ruby/object:Gem::Dependency
26
+ name: bundler
27
+ requirement: &70301389371140 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.0
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70301389371140
36
+ - !ruby/object:Gem::Dependency
37
+ name: jeweler
38
+ requirement: &70301389370660 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: 1.5.2
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *70301389370660
47
+ - !ruby/object:Gem::Dependency
48
+ name: rcov
49
+ requirement: &70301389370180 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70301389370180
58
+ - !ruby/object:Gem::Dependency
59
+ name: shoulda
60
+ requirement: &70301389369700 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: 2.10.3
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *70301389369700
69
+ - !ruby/object:Gem::Dependency
70
+ name: ci_reporter
71
+ requirement: &70301389369220 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - =
75
+ - !ruby/object:Gem::Version
76
+ version: 1.6.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *70301389369220
80
+ - !ruby/object:Gem::Dependency
81
+ name: rdiscount
82
+ requirement: &70301389368740 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *70301389368740
91
+ - !ruby/object:Gem::Dependency
92
+ name: rdoc
93
+ requirement: &70301389368260 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '3.3'
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: *70301389368260
102
+ description: Use this gem to access New Relic application information via a REST api
103
+ email: support@newrelic.com
104
+ executables: []
105
+ extensions: []
106
+ extra_rdoc_files:
107
+ - CHANGELOG
108
+ - README.rdoc
109
+ files:
110
+ - .project
111
+ - CHANGELOG
112
+ - Gemfile
113
+ - Gemfile.lock
114
+ - LICENSE.txt
115
+ - README.rdoc
116
+ - Rakefile
117
+ - VERSION
118
+ - lib/active_resource_associations.rb
119
+ - lib/new_relic_api.rb
120
+ - newrelic_api.gemspec
121
+ - test/integration/newrelic_api_test.rb
122
+ - test/test_helper.rb
123
+ homepage: http://www.github.com/newrelic/newrelic_api
124
+ licenses:
125
+ - MIT
126
+ post_install_message:
127
+ rdoc_options:
128
+ - --line-numbers
129
+ - --title
130
+ - Documentation and helper code for the New Relic API
131
+ - -m
132
+ - README.rdoc
133
+ require_paths:
134
+ - lib
135
+ required_ruby_version: !ruby/object:Gem::Requirement
136
+ none: false
137
+ requirements:
138
+ - - ! '>='
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
142
+ none: false
143
+ requirements:
144
+ - - ! '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ requirements: []
148
+ rubyforge_project:
149
+ rubygems_version: 1.8.6
150
+ signing_key:
151
+ specification_version: 3
152
+ summary: Documentation and helper code for the New Relic API
153
+ test_files:
154
+ - test/integration/newrelic_api_test.rb
155
+ - test/test_helper.rb