jive_rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +37 -0
  5. data/app/assets/javascripts/jive_rails/application.js +13 -0
  6. data/app/assets/javascripts/jive_rails/oauth2client.js +182 -0
  7. data/app/assets/stylesheets/jive_rails/addons.css +4 -0
  8. data/app/assets/stylesheets/jive_rails/application.css +15 -0
  9. data/app/assets/stylesheets/jive_rails/oauth.css +4 -0
  10. data/app/assets/stylesheets/jive_rails/tiles.css +4 -0
  11. data/app/controllers/jive_rails/addons_controller.rb +48 -0
  12. data/app/controllers/jive_rails/application_controller.rb +4 -0
  13. data/app/controllers/jive_rails/oauth_controller.rb +101 -0
  14. data/app/controllers/jive_rails/tiles_controller.rb +51 -0
  15. data/app/helpers/jive_rails/addons_helper.rb +4 -0
  16. data/app/helpers/jive_rails/application_helper.rb +4 -0
  17. data/app/helpers/jive_rails/oauth_helper.rb +4 -0
  18. data/app/helpers/jive_rails/tiles_helper.rb +4 -0
  19. data/app/models/jive_rails/add_on.rb +4 -0
  20. data/app/views/jive_rails/oauth/authorizeUrl.json +0 -0
  21. data/app/views/jive_rails/oauth/oauth2Callback.html.erb +9 -0
  22. data/app/views/jive_rails/oauth/oauth2Callback.json +0 -0
  23. data/config/routes.rb +10 -0
  24. data/db/migrate/20150718193211_create_jive_rails_add_ons.rb +16 -0
  25. data/lib/jive_rails.rb +4 -0
  26. data/lib/jive_rails/engine.rb +5 -0
  27. data/lib/jive_rails/version.rb +3 -0
  28. data/lib/tasks/jive_rails_tasks.rake +4 -0
  29. data/test/controllers/jive_rails/addons_controller_test.rb +13 -0
  30. data/test/controllers/jive_rails/oauth_controller_test.rb +13 -0
  31. data/test/controllers/jive_rails/tiles_controller_test.rb +13 -0
  32. data/test/dummy/README.rdoc +28 -0
  33. data/test/dummy/Rakefile +6 -0
  34. data/test/dummy/app/assets/javascripts/application.js +13 -0
  35. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  36. data/test/dummy/app/controllers/application_controller.rb +5 -0
  37. data/test/dummy/app/helpers/application_helper.rb +2 -0
  38. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  39. data/test/dummy/bin/bundle +3 -0
  40. data/test/dummy/bin/rails +4 -0
  41. data/test/dummy/bin/rake +4 -0
  42. data/test/dummy/bin/setup +29 -0
  43. data/test/dummy/config.ru +4 -0
  44. data/test/dummy/config/application.rb +26 -0
  45. data/test/dummy/config/boot.rb +5 -0
  46. data/test/dummy/config/database.yml +25 -0
  47. data/test/dummy/config/environment.rb +5 -0
  48. data/test/dummy/config/environments/development.rb +41 -0
  49. data/test/dummy/config/environments/production.rb +79 -0
  50. data/test/dummy/config/environments/test.rb +42 -0
  51. data/test/dummy/config/initializers/assets.rb +11 -0
  52. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  53. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  54. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  55. data/test/dummy/config/initializers/inflections.rb +16 -0
  56. data/test/dummy/config/initializers/mime_types.rb +4 -0
  57. data/test/dummy/config/initializers/session_store.rb +3 -0
  58. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  59. data/test/dummy/config/locales/en.yml +23 -0
  60. data/test/dummy/config/routes.rb +4 -0
  61. data/test/dummy/config/secrets.yml +22 -0
  62. data/test/dummy/public/404.html +67 -0
  63. data/test/dummy/public/422.html +67 -0
  64. data/test/dummy/public/500.html +66 -0
  65. data/test/dummy/public/favicon.ico +0 -0
  66. data/test/fixtures/jive_rails/add_ons.yml +19 -0
  67. data/test/integration/navigation_test.rb +10 -0
  68. data/test/jive_rails_test.rb +7 -0
  69. data/test/models/jive_rails/add_on_test.rb +9 -0
  70. data/test/test_helper.rb +20 -0
  71. metadata +211 -0
File without changes
@@ -0,0 +1,19 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ tenantI_id: MyString
5
+ client_id: MyString
6
+ client_secret: MyString
7
+ jive_signature_url: MyString
8
+ jive_url: MyString
9
+ uninstalled: false
10
+ attempt:
11
+
12
+ two:
13
+ tenantI_id: MyString
14
+ client_id: MyString
15
+ client_secret: MyString
16
+ jive_signature_url: MyString
17
+ jive_url: MyString
18
+ uninstalled: false
19
+ attempt:
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ fixtures :all
5
+
6
+ # test "the truth" do
7
+ # assert true
8
+ # end
9
+ end
10
+
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class JiveRailsTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, JiveRails
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ module JiveRails
4
+ class AddOnTest < ActiveSupport::TestCase
5
+ # test "the truth" do
6
+ # assert true
7
+ # end
8
+ end
9
+ end
@@ -0,0 +1,20 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
5
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
6
+ ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
7
+ require "rails/test_help"
8
+
9
+ # Filter out Minitest backtrace while allowing backtrace from other libraries
10
+ # to be shown.
11
+ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
12
+
13
+ # Load support files
14
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
15
+
16
+ # Load fixtures from the engine
17
+ if ActiveSupport::TestCase.respond_to?(:fixture_path=)
18
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
19
+ ActiveSupport::TestCase.fixtures :all
20
+ end
metadata ADDED
@@ -0,0 +1,211 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jive_rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Butch Marshall
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-07-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 4.2.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 4.2.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: jive-signed_request
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: jive-oauth2
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.0.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: sqlite3
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Gives Jive functionality to Rails applications
70
+ email:
71
+ - butch.a.marshall@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - MIT-LICENSE
77
+ - README.rdoc
78
+ - Rakefile
79
+ - app/assets/javascripts/jive_rails/application.js
80
+ - app/assets/javascripts/jive_rails/oauth2client.js
81
+ - app/assets/stylesheets/jive_rails/addons.css
82
+ - app/assets/stylesheets/jive_rails/application.css
83
+ - app/assets/stylesheets/jive_rails/oauth.css
84
+ - app/assets/stylesheets/jive_rails/tiles.css
85
+ - app/controllers/jive_rails/addons_controller.rb
86
+ - app/controllers/jive_rails/application_controller.rb
87
+ - app/controllers/jive_rails/oauth_controller.rb
88
+ - app/controllers/jive_rails/tiles_controller.rb
89
+ - app/helpers/jive_rails/addons_helper.rb
90
+ - app/helpers/jive_rails/application_helper.rb
91
+ - app/helpers/jive_rails/oauth_helper.rb
92
+ - app/helpers/jive_rails/tiles_helper.rb
93
+ - app/models/jive_rails/add_on.rb
94
+ - app/views/jive_rails/oauth/authorizeUrl.json
95
+ - app/views/jive_rails/oauth/oauth2Callback.html.erb
96
+ - app/views/jive_rails/oauth/oauth2Callback.json
97
+ - config/routes.rb
98
+ - db/migrate/20150718193211_create_jive_rails_add_ons.rb
99
+ - lib/jive_rails.rb
100
+ - lib/jive_rails/engine.rb
101
+ - lib/jive_rails/version.rb
102
+ - lib/tasks/jive_rails_tasks.rake
103
+ - test/controllers/jive_rails/addons_controller_test.rb
104
+ - test/controllers/jive_rails/oauth_controller_test.rb
105
+ - test/controllers/jive_rails/tiles_controller_test.rb
106
+ - test/dummy/README.rdoc
107
+ - test/dummy/Rakefile
108
+ - test/dummy/app/assets/javascripts/application.js
109
+ - test/dummy/app/assets/stylesheets/application.css
110
+ - test/dummy/app/controllers/application_controller.rb
111
+ - test/dummy/app/helpers/application_helper.rb
112
+ - test/dummy/app/views/layouts/application.html.erb
113
+ - test/dummy/bin/bundle
114
+ - test/dummy/bin/rails
115
+ - test/dummy/bin/rake
116
+ - test/dummy/bin/setup
117
+ - test/dummy/config.ru
118
+ - test/dummy/config/application.rb
119
+ - test/dummy/config/boot.rb
120
+ - test/dummy/config/database.yml
121
+ - test/dummy/config/environment.rb
122
+ - test/dummy/config/environments/development.rb
123
+ - test/dummy/config/environments/production.rb
124
+ - test/dummy/config/environments/test.rb
125
+ - test/dummy/config/initializers/assets.rb
126
+ - test/dummy/config/initializers/backtrace_silencers.rb
127
+ - test/dummy/config/initializers/cookies_serializer.rb
128
+ - test/dummy/config/initializers/filter_parameter_logging.rb
129
+ - test/dummy/config/initializers/inflections.rb
130
+ - test/dummy/config/initializers/mime_types.rb
131
+ - test/dummy/config/initializers/session_store.rb
132
+ - test/dummy/config/initializers/wrap_parameters.rb
133
+ - test/dummy/config/locales/en.yml
134
+ - test/dummy/config/routes.rb
135
+ - test/dummy/config/secrets.yml
136
+ - test/dummy/public/404.html
137
+ - test/dummy/public/422.html
138
+ - test/dummy/public/500.html
139
+ - test/dummy/public/favicon.ico
140
+ - test/fixtures/jive_rails/add_ons.yml
141
+ - test/integration/navigation_test.rb
142
+ - test/jive_rails_test.rb
143
+ - test/models/jive_rails/add_on_test.rb
144
+ - test/test_helper.rb
145
+ homepage: https://github.com/butchmarshall/jive_rails
146
+ licenses:
147
+ - MIT
148
+ metadata: {}
149
+ post_install_message:
150
+ rdoc_options: []
151
+ require_paths:
152
+ - lib
153
+ required_ruby_version: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ required_rubygems_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ requirements: []
164
+ rubyforge_project:
165
+ rubygems_version: 2.4.8
166
+ signing_key:
167
+ specification_version: 4
168
+ summary: Rails Engine for Jive applications..
169
+ test_files:
170
+ - test/test_helper.rb
171
+ - test/fixtures/jive_rails/add_ons.yml
172
+ - test/jive_rails_test.rb
173
+ - test/models/jive_rails/add_on_test.rb
174
+ - test/controllers/jive_rails/tiles_controller_test.rb
175
+ - test/controllers/jive_rails/addons_controller_test.rb
176
+ - test/controllers/jive_rails/oauth_controller_test.rb
177
+ - test/dummy/bin/setup
178
+ - test/dummy/bin/bundle
179
+ - test/dummy/bin/rails
180
+ - test/dummy/bin/rake
181
+ - test/dummy/public/422.html
182
+ - test/dummy/public/favicon.ico
183
+ - test/dummy/public/404.html
184
+ - test/dummy/public/500.html
185
+ - test/dummy/README.rdoc
186
+ - test/dummy/config.ru
187
+ - test/dummy/config/database.yml
188
+ - test/dummy/config/environments/development.rb
189
+ - test/dummy/config/environments/production.rb
190
+ - test/dummy/config/environments/test.rb
191
+ - test/dummy/config/secrets.yml
192
+ - test/dummy/config/application.rb
193
+ - test/dummy/config/locales/en.yml
194
+ - test/dummy/config/routes.rb
195
+ - test/dummy/config/initializers/backtrace_silencers.rb
196
+ - test/dummy/config/initializers/wrap_parameters.rb
197
+ - test/dummy/config/initializers/mime_types.rb
198
+ - test/dummy/config/initializers/filter_parameter_logging.rb
199
+ - test/dummy/config/initializers/inflections.rb
200
+ - test/dummy/config/initializers/session_store.rb
201
+ - test/dummy/config/initializers/cookies_serializer.rb
202
+ - test/dummy/config/initializers/assets.rb
203
+ - test/dummy/config/environment.rb
204
+ - test/dummy/config/boot.rb
205
+ - test/dummy/Rakefile
206
+ - test/dummy/app/helpers/application_helper.rb
207
+ - test/dummy/app/assets/javascripts/application.js
208
+ - test/dummy/app/assets/stylesheets/application.css
209
+ - test/dummy/app/controllers/application_controller.rb
210
+ - test/dummy/app/views/layouts/application.html.erb
211
+ - test/integration/navigation_test.rb