platform 3.1.2 → 3.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/.rvmrc +2 -0
  2. data/Gemfile.lock +4 -4
  3. data/README.rdoc +0 -3
  4. data/app/assets/javascripts/platform/api_explorer.js +4 -1
  5. data/app/controllers/platform/api/base_controller.rb +39 -20
  6. data/app/models/platform/application.rb +2 -4
  7. data/app/models/platform/developer.rb +4 -2
  8. data/app/models/platform/logged_exception.rb +2 -2
  9. data/app/models/platform/media/media.rb +6 -3
  10. data/app/views/platform/admin/apps/index.html.erb +1 -1
  11. data/app/views/platform/apps/index.html.erb +2 -2
  12. data/app/views/platform/developer/api_explorer/index.html.erb +9 -5
  13. data/app/views/platform/developer/apps/_form.html.erb +4 -2
  14. data/app/views/platform/developer/apps/index.html.erb +6 -4
  15. data/app/views/platform/developer/common/_header.html.erb +0 -1
  16. data/app/views/platform/developer/dashboard/_statistics.html.erb +1 -1
  17. data/app/views/platform/developer/dashboard/index.html.erb +1 -1
  18. data/app/views/platform/developer/help/oauth_mobile.html.erb +5 -3
  19. data/app/views/platform/developer/registration/index.html.erb +8 -123
  20. data/lib/generators/platform/api_generator.rb +74 -0
  21. data/lib/generators/platform/platform_generator.rb +1 -1
  22. data/lib/generators/platform/proxy_generator.rb +1 -2
  23. data/lib/generators/platform/templates/config/platform/config.yml +9 -8
  24. data/lib/generators/platform/templates/config/platform/data/default_applications.yml +1 -23
  25. data/lib/generators/platform/templates/config/platform/data/default_categories.yml +1 -6
  26. data/lib/generators/platform/templates/config/platform/data/default_permissions.yml +16 -0
  27. data/lib/generators/platform/templates/config/platform/site/features.yml +1 -6
  28. data/lib/generators/platform/templates/db/create_platform_tables.rb +36 -47
  29. data/lib/platform/api/proxy/base.rb +4 -0
  30. data/lib/platform/config.rb +12 -16
  31. data/lib/platform/extensions/action_view_extension.rb +13 -1
  32. data/lib/platform/extensions/hash_extension.rb +69 -0
  33. data/lib/platform/railtie.rb +1 -0
  34. data/lib/platform/version.rb +1 -1
  35. data/lib/tasks/platform.rake +1 -0
  36. data/platform.gemspec +0 -1
  37. data/test/dummy/app/assets/images/logo.png +0 -0
  38. data/test/dummy/app/controllers/api/bookmarks_controller.rb +1 -1
  39. data/test/dummy/app/models/bookmark.rb +0 -2
  40. data/test/dummy/app/models/user.rb +1 -2
  41. data/test/dummy/app/views/home/index.html.erb +2 -2
  42. data/test/dummy/app/views/layouts/_footer.html.erb +1 -1
  43. data/test/dummy/app/views/layouts/_header.html.erb +1 -1
  44. data/test/dummy/config/application.rb +0 -1
  45. data/test/dummy/config/environments/development.rb +3 -1
  46. data/test/dummy/config/initializers/platform.rb +3 -0
  47. data/test/dummy/config/platform/api/1/bookmark.yml +2 -2
  48. data/test/dummy/config/platform/config.yml +10 -9
  49. data/test/dummy/config/platform/data/default_applications.yml +4 -23
  50. data/test/dummy/config/platform/data/default_categories.yml +1 -6
  51. data/test/dummy/config/platform/site/features.yml +1 -6
  52. data/test/dummy/config/routes.rb +1 -1
  53. data/test/dummy/config/tr8n/config.yml +2 -2
  54. data/test/dummy/db/migrate/20111004075531_create_platform_tables.rb +1 -1
  55. data/test/dummy/public/developer_agreement.html +123 -0
  56. metadata +52 -46
  57. data/db/migrate/20110602232141_create_platform_tables.rb +0 -262
@@ -7,7 +7,7 @@
7
7
  # environment settings at the bottom of the file
8
8
  #############################################################################
9
9
 
10
- defaults: &defaults
10
+ defaults:
11
11
  enabled_features: [dashboard, apps, forum, api_explorer, help]
12
12
 
13
13
  dashboard:
@@ -51,16 +51,11 @@ defaults: &defaults
51
51
  # You can overload any feature defined in the defaults for any environment
52
52
  #############################################################################
53
53
  development:
54
- <<: *defaults
55
54
 
56
55
  test:
57
- <<: *defaults
58
56
 
59
57
  qa:
60
- <<: *defaults
61
58
 
62
59
  stage:
63
- <<: *defaults
64
60
 
65
61
  production:
66
- <<: *defaults
@@ -10,7 +10,7 @@ Rails.application.routes.draw do
10
10
  match "/api/user", :to => "api/users#index"
11
11
  match "/api/user/bookmarks", :to => "api/users#bookmarks"
12
12
  match "/api/bookmark/create", :to => "api/bookmarks#create"
13
- match "/api/bookmark/delete/:id", :to => "api/bookmarks#delete"
13
+ match "/api/bookmark/destroy/:id", :to => "api/bookmarks#destroy"
14
14
  match "/api/bookmark/update/:id", :to => "api/bookmarks#update"
15
15
  match "/api/bookmark(/:id)", :to => "api/bookmarks#index"
16
16
 
@@ -93,7 +93,7 @@ defaults: &defaults
93
93
  # Site Integration Settings
94
94
  #############################################################################
95
95
  site_info:
96
- title: "Sample Application" # site title - provide your site title here
96
+ title: "Bookmarklet" # site title - provide your site title here
97
97
  contact_email: "support@tr8n.net" # contact email for questions about translations
98
98
  current_locale_method: "current_locale" # application controller method that sets and returns current locale
99
99
  default_url: "/tr8n/home" # default site url where to redirect the user if Tr8n is disabled
@@ -130,7 +130,7 @@ defaults: &defaults
130
130
  decoration_token_classes: ["Tr8n::Tokens::DecorationToken"]
131
131
  allow_nil_token_values: true
132
132
  numeric_rule:
133
- token_suffixes: [count, num, age, hours, minutes, years, seconds, days, months]
133
+ token_suffixes: [count, num, age, hours, minutes, years, seconds, days, months, weeks]
134
134
  object_method: to_i
135
135
  gender_rule:
136
136
  token_suffixes: [user, profile, actor, target]
@@ -113,7 +113,7 @@ class CreatePlatformTables < ActiveRecord::Migration
113
113
  add_index :platform_application_developers, :developer_id
114
114
 
115
115
  create_table :platform_oauth_tokens do |t|
116
- t.string :type, :limit => 20
116
+ t.string :type
117
117
  t.integer :user_id, :limit=>8
118
118
  t.integer :application_id
119
119
  t.string :token, :limit => 50
@@ -0,0 +1,123 @@
1
+ <html>
2
+ <body>
3
+ <pre>
4
+ Sample Application Platform Policies
5
+
6
+ Introduction
7
+
8
+ Date of Last Revision: May 24, 2011
9
+
10
+ Sample Application Platform is an extension of Sample Application, whose mission is to give people the power to share and make the world more open and connected.
11
+
12
+ Platform applications and developers are required to comply with the following documents:
13
+
14
+ Statement of Rights and Responsibilities: requirements for anyone who uses Sample Application.
15
+ Principles: the spirit of the law for Platform.
16
+ Policies: the letter of the law for Platform.
17
+
18
+ Here are some Examples and Explanations for specifics.
19
+
20
+ Principles
21
+
22
+ Create a great user experience
23
+
24
+ Build social and engaging applications
25
+ Give users choice and control
26
+ Help users share expressive and relevant content
27
+
28
+ Be trustworthy
29
+
30
+ Respect privacy
31
+ Don't mislead, confuse, defraud, or surprise users
32
+ Don't spam - encourage authentic communications
33
+
34
+ Policies
35
+
36
+ I. Features and Functionality
37
+
38
+ You must not violate any law or the rights of any individual or entity, and must not expose Sample Application or Sample Application users to harm or legal liability as determined by us in our sole discretion.
39
+ You must not include functionality that proxies, requests or collects Sample Application usernames or passwords.
40
+ You must not circumvent (or claim to circumvent) our intended limitations on core Sample Application features and functionality.
41
+ If you offer a service for a user that integrates user data into a physical product (such as a scrapbook or calendar), you must only create a physical product for that user's personal and non-commercial use.
42
+ If you exceed, or plan to exceed, any of the following thresholds please contact us as you may be subject to additional terms: (>5M MAU) or (>100M API calls per day) or (>50M impressions per day).
43
+ Your website must offer an explicit "Log Out" option that also logs the user out of Sample Application.
44
+ Special provisions for apps on Pages:
45
+
46
+ a. Apps on Pages must not host media that plays automatically without a user's interaction.
47
+ b. When a user visits your Page, if they have not given explicit permission by authorizing your Sample Application app or directly providing information to your Page, you may only use information obtained from us and the user's interaction with your Page in connection with that Page. For example, although you may use aggregate analytics for your individual Page, you must not combine information from any other sources to customize the user's experience on your Page and may not use any information about the user's interaction with your Page in any other context (such as analytics or customization across other Pages or websites).
48
+
49
+ You must not use or make derivative use of Sample Application icons, or use terms for Sample Application features and functionality, if such use could confuse users into thinking that the reference is to Sample Application features or functionality.
50
+
51
+ II. Storing and Using Data You Receive From Us
52
+
53
+ You will only request the data you need to operate your application.
54
+ You may cache data you receive through use of the Sample Application API in order to improve your application’s user experience, but you should try to keep the data up to date. This permission does not give you any rights to such data.
55
+ You will have a privacy policy that tells users what user data you are going to use and how you will use, display, share, or transfer that data and you will include your privacy policy URL in the Developer Application.
56
+ A user's friends' data can only be used in the context of the user's experience on your application.
57
+ Subject to certain restrictions, including on transfer, users give you their basic account information when they connect with your application. For all other data obtained through use of the Sample Application API, you must obtain explicit consent from the user who provided the data to us before using it for any purpose other than displaying it back to the user on your application.
58
+ You will not directly or indirectly transfer any data you receive from us, including user data or Sample Application User IDs, to (or use such data in connection with) any ad network, ad exchange, data broker, or other advertising or monetization related toolset, even if a user consents to such transfer or use. By indirectly we mean you cannot, for example, transfer data to a third party who then transfers the data to an ad network. By any data we mean all data obtained through use of the Sample Application Platform (API, Social Plugins, etc.), including aggregate, anonymous or derivative data.
59
+ You will not use Sample Application User IDs for any purpose outside your application (e.g., your infrastructure, code, or services necessary to build and run your application). Sample Application User IDs may be used with external services that you use to build and run your application, such as a web infrastructure service or a distributed computing platform, but only if those services are necessary to running your application and the service has a contractual obligation with you to keep Sample Application User IDs confidential.
60
+ If you need an anonymous unique identifier to share outside your application with third parties such as content partners, advertisers, or ad networks, you must use our mechanism. You must never share this anonymous unique identifier with a data broker, information broker, or any other service that we may define as such under our sole discretion.
61
+ You will not sell any data. If you are acquired by or merge with a third party, you can continue to use user data within your application, but you cannot transfer data outside your application.
62
+ If you stop using Platform or we disable your application, you must delete all data you have received through use of the Sample Application API unless: (a) it is basic account information; or (b) you have received explicit consent from the user to retain their data.
63
+ You cannot use a user’s friend list outside of your application, even if a user consents to such use, but you can use connections between users who have both connected to your application.
64
+ You will delete all data you receive from us concerning a user if the user asks you to do so, and will provide an easily accessible mechanism for users to make such a request. We may require you to delete data you receive from the Sample Application API if you violate our terms.
65
+ You will not include data you receive from us concerning a user in any advertising creative, even if a user consents to such use.
66
+ You must not give your secret key to another party, unless that party is an agent acting on your behalf as an operator of your application. You are responsible for all activities that occur under your account identifiers.
67
+
68
+ III. Application Content
69
+
70
+ A. Prohibited Content - You are responsible for all content of and within your application, including advertisements and user-generated content. You must not promote, or provide content referencing, facilitating, containing or using, the following:
71
+ Alcohol-related content (unless the appropriate Demographic Restrictions are used), or sale of tobacco products, ammunition and/or firearms;
72
+ Content that infringes upon the rights of any third party, including intellectual property rights, privacy, publicity or other personal or proprietary right, or that is deceptive or fraudulent;
73
+ Gambling, including without limitation, any online casino, sports books, bingo or poker;
74
+ Illegal activity and/or illegal contests, pyramid schemes, sweepstakes or chain letters; if you run, reference, or facilitate a legally permissible sweepstakes, contest, or other promotion you are subject to Sample Application's Promotions Guidelines;
75
+ Content that is hateful, threatening, defamatory, or pornographic; incites violence; or contains nudity or graphic or gratuitous violence.
76
+ B. Advertisements and Cross-Promotions
77
+ You must not include advertisements or promotions, cross-promote other applications, or provide web search functionality in content distributed through Sample Application social channels.
78
+ You can only utilize advertising or similar monetization related products or services from companies that appear on this list within Apps on Sample Application.com.
79
+
80
+ IV. Application Integration Points
81
+
82
+ You must not incentivize users to use (or gate content behind the use of) Sample Application social channels, or imply that an incentive is directly tied to the use of our channels.
83
+ You must not pre-fill any of the fields associated with the following products, unless the user manually generated the content earlier in the workflow: Stream stories (user_message parameter for Sample Application.streamPublish and FB.Connect.streamPublish, and message parameter for stream.publish), Photos (caption), Videos (description), Notes (title and content), Links (comment), and Jabber/XMPP.
84
+ If a user grants you a publishing permission, you must still obtain consent from the user before taking any action on the user's behalf, such as publishing content or creating an event.
85
+ You must provide users with an easily identifiable "skip" option whenever you present users with an option to use a Sample Application social channel.
86
+ You must not provide users with the option to publish more than one Stream story at a time.
87
+ Platform integrations, including social plugins:
88
+ a. Your advertisements must not include or be paired with any Platform integrations, including social plugins such as the Like button, without our written permission.
89
+ b. You must not sell or purchase placement of a Like button or Like box plugin.
90
+ c. You must not incentivize users to Like any Page other than your own site or application, and any incentive you provide must be available to new and existing users who Like your Page.
91
+ d. You must not obscure or cover elements of our social plugins, such as the Like button or Like box plugin.
92
+ Sample Application messaging (i.e., email sent to an @Sample Application.com address) is designed for communication between users, and not a channel for applications to communicate directly with users.
93
+
94
+ V. Enforcement
95
+
96
+ We can take enforcement action against you and any or all of your applications if we determine in our sole judgment that you or your application violates Sample Application Platform Terms and Policies. Enforcement action is both automated and manual, and can include disabling your application, restricting you and your application's access to Platform functionality, terminating our agreements with you, or any other action as we in our sole discretion deem appropriate.
97
+
98
+ Communication with developers takes place via an email sent from the Sample Application.com or Sample Applicationmail.com domain to the Developer Contact email address registered to the application. To stay in touch, please ensure that your email address is current and that you do not filter out any such messages.
99
+
100
+ VI. Changes
101
+
102
+ We can change these Platform Policies at any time without prior notice as we deem necessary. Your continued use of Platform constitutes acceptance of those changes.
103
+
104
+ VII. Definitions
105
+
106
+ By "Application" we mean canvas page application, Platform integration, or any other technical integration we have assigned an application identification number.
107
+ By "Sample Application social channel" we mean Application Info Section, Application tab, Feed, requests (including invites), inbox attachments, Chat, Bookmarks, or any other feature of a user profile or Sample Application communication channel in which or through which an application can provide, display, or deliver content directed at, on behalf of, or by permission of a user.
108
+ By “basic account information” we mean: name, email, gender, birthday, current city, and profile picture URL.
109
+ By "Sample Application Platform Terms and Policies" we mean the Statement of Rights and Responsibilities and the Platform Policies.
110
+ By "User data you receive from Sample Application" we mean any data or content (including any images, text, or other information or materials) you receive from us, that was provided by users to us, or was associated by us with a particular user.
111
+
112
+ VIII. Branding and Promotion Policy
113
+
114
+ You must follow the guidelines set forth in the Sample Application Brand Resource and Permissions Center.
115
+
116
+ IX. Advertising Guidelines
117
+
118
+ X. Sample Application Credits
119
+
120
+ Developers participating in the program for accepting credits are subject to these terms.
121
+ </pre>
122
+ </body>
123
+ </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: platform
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-22 00:00:00.000000000 -07:00
13
- default_executable:
12
+ date: 2012-01-06 00:00:00.000000000Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rails
17
- requirement: &2156907880 !ruby/object:Gem::Requirement
16
+ requirement: &2165063880 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ! '>='
@@ -22,10 +21,10 @@ dependencies:
22
21
  version: 3.1.0
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *2156907880
24
+ version_requirements: *2165063880
26
25
  - !ruby/object:Gem::Dependency
27
26
  name: will_filter
28
- requirement: &2156907160 !ruby/object:Gem::Requirement
27
+ requirement: &2165063300 !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
31
30
  - - ! '>='
@@ -33,10 +32,10 @@ dependencies:
33
32
  version: 3.1.2
34
33
  type: :runtime
35
34
  prerelease: false
36
- version_requirements: *2156907160
35
+ version_requirements: *2165063300
37
36
  - !ruby/object:Gem::Dependency
38
37
  name: tr8n
39
- requirement: &2156906520 !ruby/object:Gem::Requirement
38
+ requirement: &2165062800 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
42
41
  - - ! '>='
@@ -44,10 +43,10 @@ dependencies:
44
43
  version: 3.1.1
45
44
  type: :runtime
46
45
  prerelease: false
47
- version_requirements: *2156906520
46
+ version_requirements: *2165062800
48
47
  - !ruby/object:Gem::Dependency
49
48
  name: kaminari
50
- requirement: &2156905720 !ruby/object:Gem::Requirement
49
+ requirement: &2165062320 !ruby/object:Gem::Requirement
51
50
  none: false
52
51
  requirements:
53
52
  - - ! '>='
@@ -55,10 +54,10 @@ dependencies:
55
54
  version: '0'
56
55
  type: :runtime
57
56
  prerelease: false
58
- version_requirements: *2156905720
57
+ version_requirements: *2165062320
59
58
  - !ruby/object:Gem::Dependency
60
59
  name: sass
61
- requirement: &2156895020 !ruby/object:Gem::Requirement
60
+ requirement: &2165061800 !ruby/object:Gem::Requirement
62
61
  none: false
63
62
  requirements:
64
63
  - - ! '>='
@@ -66,10 +65,10 @@ dependencies:
66
65
  version: '0'
67
66
  type: :runtime
68
67
  prerelease: false
69
- version_requirements: *2156895020
68
+ version_requirements: *2165061800
70
69
  - !ruby/object:Gem::Dependency
71
70
  name: coffee-script
72
- requirement: &2156894260 !ruby/object:Gem::Requirement
71
+ requirement: &2165061280 !ruby/object:Gem::Requirement
73
72
  none: false
74
73
  requirements:
75
74
  - - ! '>='
@@ -77,10 +76,10 @@ dependencies:
77
76
  version: '0'
78
77
  type: :runtime
79
78
  prerelease: false
80
- version_requirements: *2156894260
79
+ version_requirements: *2165061280
81
80
  - !ruby/object:Gem::Dependency
82
81
  name: acts_as_tree
83
- requirement: &2156893220 !ruby/object:Gem::Requirement
82
+ requirement: &2165060800 !ruby/object:Gem::Requirement
84
83
  none: false
85
84
  requirements:
86
85
  - - ! '>='
@@ -88,10 +87,10 @@ dependencies:
88
87
  version: '0'
89
88
  type: :runtime
90
89
  prerelease: false
91
- version_requirements: *2156893220
90
+ version_requirements: *2165060800
92
91
  - !ruby/object:Gem::Dependency
93
92
  name: acts_as_state_machine
94
- requirement: &2156892380 !ruby/object:Gem::Requirement
93
+ requirement: &2165060240 !ruby/object:Gem::Requirement
95
94
  none: false
96
95
  requirements:
97
96
  - - ! '>='
@@ -99,10 +98,10 @@ dependencies:
99
98
  version: '0'
100
99
  type: :runtime
101
100
  prerelease: false
102
- version_requirements: *2156892380
101
+ version_requirements: *2165060240
103
102
  - !ruby/object:Gem::Dependency
104
103
  name: pry
105
- requirement: &2156891680 !ruby/object:Gem::Requirement
104
+ requirement: &2165059720 !ruby/object:Gem::Requirement
106
105
  none: false
107
106
  requirements:
108
107
  - - ! '>='
@@ -110,10 +109,10 @@ dependencies:
110
109
  version: '0'
111
110
  type: :development
112
111
  prerelease: false
113
- version_requirements: *2156891680
112
+ version_requirements: *2165059720
114
113
  - !ruby/object:Gem::Dependency
115
114
  name: bundler
116
- requirement: &2156890980 !ruby/object:Gem::Requirement
115
+ requirement: &2165059220 !ruby/object:Gem::Requirement
117
116
  none: false
118
117
  requirements:
119
118
  - - ! '>='
@@ -121,10 +120,10 @@ dependencies:
121
120
  version: 1.0.0
122
121
  type: :development
123
122
  prerelease: false
124
- version_requirements: *2156890980
123
+ version_requirements: *2165059220
125
124
  - !ruby/object:Gem::Dependency
126
125
  name: sqlite3
127
- requirement: &2156890200 !ruby/object:Gem::Requirement
126
+ requirement: &2165058720 !ruby/object:Gem::Requirement
128
127
  none: false
129
128
  requirements:
130
129
  - - ! '>='
@@ -132,10 +131,10 @@ dependencies:
132
131
  version: '0'
133
132
  type: :development
134
133
  prerelease: false
135
- version_requirements: *2156890200
134
+ version_requirements: *2165058720
136
135
  - !ruby/object:Gem::Dependency
137
136
  name: rspec
138
- requirement: &2156889260 !ruby/object:Gem::Requirement
137
+ requirement: &2165058240 !ruby/object:Gem::Requirement
139
138
  none: false
140
139
  requirements:
141
140
  - - ! '>='
@@ -143,10 +142,10 @@ dependencies:
143
142
  version: '0'
144
143
  type: :development
145
144
  prerelease: false
146
- version_requirements: *2156889260
145
+ version_requirements: *2165058240
147
146
  - !ruby/object:Gem::Dependency
148
147
  name: rspec-rails
149
- requirement: &2156888680 !ruby/object:Gem::Requirement
148
+ requirement: &2165057720 !ruby/object:Gem::Requirement
150
149
  none: false
151
150
  requirements:
152
151
  - - ! '>='
@@ -154,10 +153,10 @@ dependencies:
154
153
  version: '0'
155
154
  type: :development
156
155
  prerelease: false
157
- version_requirements: *2156888680
156
+ version_requirements: *2165057720
158
157
  - !ruby/object:Gem::Dependency
159
158
  name: factory_girl
160
- requirement: &2156887960 !ruby/object:Gem::Requirement
159
+ requirement: &2165057220 !ruby/object:Gem::Requirement
161
160
  none: false
162
161
  requirements:
163
162
  - - ! '>='
@@ -165,10 +164,10 @@ dependencies:
165
164
  version: '0'
166
165
  type: :development
167
166
  prerelease: false
168
- version_requirements: *2156887960
167
+ version_requirements: *2165057220
169
168
  - !ruby/object:Gem::Dependency
170
169
  name: rr
171
- requirement: &2156887300 !ruby/object:Gem::Requirement
170
+ requirement: &2165056640 !ruby/object:Gem::Requirement
172
171
  none: false
173
172
  requirements:
174
173
  - - ! '>='
@@ -176,10 +175,10 @@ dependencies:
176
175
  version: '0'
177
176
  type: :development
178
177
  prerelease: false
179
- version_requirements: *2156887300
178
+ version_requirements: *2165056640
180
179
  - !ruby/object:Gem::Dependency
181
180
  name: steak
182
- requirement: &2156886820 !ruby/object:Gem::Requirement
181
+ requirement: &2165056120 !ruby/object:Gem::Requirement
183
182
  none: false
184
183
  requirements:
185
184
  - - ! '>='
@@ -187,10 +186,10 @@ dependencies:
187
186
  version: '0'
188
187
  type: :development
189
188
  prerelease: false
190
- version_requirements: *2156886820
189
+ version_requirements: *2165056120
191
190
  - !ruby/object:Gem::Dependency
192
191
  name: capybara
193
- requirement: &2156886340 !ruby/object:Gem::Requirement
192
+ requirement: &2165055600 !ruby/object:Gem::Requirement
194
193
  none: false
195
194
  requirements:
196
195
  - - ! '>='
@@ -198,10 +197,10 @@ dependencies:
198
197
  version: '0'
199
198
  type: :development
200
199
  prerelease: false
201
- version_requirements: *2156886340
200
+ version_requirements: *2165055600
202
201
  - !ruby/object:Gem::Dependency
203
202
  name: database_cleaner
204
- requirement: &2156885820 !ruby/object:Gem::Requirement
203
+ requirement: &2165055020 !ruby/object:Gem::Requirement
205
204
  none: false
206
205
  requirements:
207
206
  - - ! '>='
@@ -209,10 +208,10 @@ dependencies:
209
208
  version: '0'
210
209
  type: :development
211
210
  prerelease: false
212
- version_requirements: *2156885820
211
+ version_requirements: *2165055020
213
212
  - !ruby/object:Gem::Dependency
214
213
  name: memcache-client
215
- requirement: &2156885340 !ruby/object:Gem::Requirement
214
+ requirement: &2165054480 !ruby/object:Gem::Requirement
216
215
  none: false
217
216
  requirements:
218
217
  - - ! '>='
@@ -220,7 +219,7 @@ dependencies:
220
219
  version: 1.8.5
221
220
  type: :development
222
221
  prerelease: false
223
- version_requirements: *2156885340
222
+ version_requirements: *2165054480
224
223
  description: This gem provides all necessary tools to make a Rails application into
225
224
  a platform with third party applications.
226
225
  email:
@@ -232,6 +231,7 @@ extra_rdoc_files:
232
231
  files:
233
232
  - .gitignore
234
233
  - .rspec
234
+ - .rvmrc
235
235
  - Gemfile
236
236
  - Gemfile.lock
237
237
  - MIT-LICENSE
@@ -569,9 +569,9 @@ files:
569
569
  - app/views/platform/ratings/_new.html.erb
570
570
  - app/views/platform/ratings/_rating.html.erb
571
571
  - config/routes.rb
572
- - db/migrate/20110602232141_create_platform_tables.rb
573
572
  - docs/Classes.graffle
574
573
  - docs/Classes.pdf
574
+ - lib/generators/platform/api_generator.rb
575
575
  - lib/generators/platform/platform_generator.rb
576
576
  - lib/generators/platform/proxy_generator.rb
577
577
  - lib/generators/platform/templates/config/platform/api/0/platform.yml
@@ -595,6 +595,7 @@ files:
595
595
  - lib/platform/exception.rb
596
596
  - lib/platform/extensions/action_controller_extension.rb
597
597
  - lib/platform/extensions/action_view_extension.rb
598
+ - lib/platform/extensions/hash_extension.rb
598
599
  - lib/platform/extensions/object_extension.rb
599
600
  - lib/platform/helper.rb
600
601
  - lib/platform/logger.rb
@@ -623,6 +624,7 @@ files:
623
624
  - test/dummy/.sass-cache/e5c817e2577b8fb5a2754597946713f7fa749dcd/components.css.scssc
624
625
  - test/dummy/.sass-cache/e5c817e2577b8fb5a2754597946713f7fa749dcd/layout.css.scssc
625
626
  - test/dummy/Rakefile
627
+ - test/dummy/app/assets/images/logo.png
626
628
  - test/dummy/app/assets/javascripts/application.js
627
629
  - test/dummy/app/assets/stylesheets/admin.css
628
630
  - test/dummy/app/assets/stylesheets/application.css
@@ -674,6 +676,7 @@ files:
674
676
  - test/dummy/config/initializers/backtrace_silencers.rb
675
677
  - test/dummy/config/initializers/inflections.rb
676
678
  - test/dummy/config/initializers/mime_types.rb
679
+ - test/dummy/config/initializers/platform.rb
677
680
  - test/dummy/config/initializers/secret_token.rb
678
681
  - test/dummy/config/initializers/session_store.rb
679
682
  - test/dummy/config/initializers/wrap_parameters.rb
@@ -727,11 +730,11 @@ files:
727
730
  - test/dummy/public/404.html
728
731
  - test/dummy/public/422.html
729
732
  - test/dummy/public/500.html
733
+ - test/dummy/public/developer_agreement.html
730
734
  - test/dummy/public/favicon.ico
731
735
  - test/dummy/script/rails
732
736
  - test/dummy/test/fixtures/documents.yml
733
737
  - test/dummy/test/unit/document_test.rb
734
- has_rdoc: true
735
738
  homepage: https://github.com/berk/platform
736
739
  licenses:
737
740
  - MIT
@@ -747,7 +750,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
747
750
  version: '0'
748
751
  segments:
749
752
  - 0
750
- hash: -1567373078718822263
753
+ hash: -2101132090142362986
751
754
  required_rubygems_version: !ruby/object:Gem::Requirement
752
755
  none: false
753
756
  requirements:
@@ -756,10 +759,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
756
759
  version: '0'
757
760
  segments:
758
761
  - 0
759
- hash: -1567373078718822263
762
+ hash: -2101132090142362986
760
763
  requirements: []
761
764
  rubyforge_project: platform
762
- rubygems_version: 1.6.2
765
+ rubygems_version: 1.8.11
763
766
  signing_key:
764
767
  specification_version: 3
765
768
  summary: Application Developer platform for extanding Rails applications by 3rd party
@@ -783,6 +786,7 @@ test_files:
783
786
  - test/dummy/.sass-cache/e5c817e2577b8fb5a2754597946713f7fa749dcd/components.css.scssc
784
787
  - test/dummy/.sass-cache/e5c817e2577b8fb5a2754597946713f7fa749dcd/layout.css.scssc
785
788
  - test/dummy/Rakefile
789
+ - test/dummy/app/assets/images/logo.png
786
790
  - test/dummy/app/assets/javascripts/application.js
787
791
  - test/dummy/app/assets/stylesheets/admin.css
788
792
  - test/dummy/app/assets/stylesheets/application.css
@@ -834,6 +838,7 @@ test_files:
834
838
  - test/dummy/config/initializers/backtrace_silencers.rb
835
839
  - test/dummy/config/initializers/inflections.rb
836
840
  - test/dummy/config/initializers/mime_types.rb
841
+ - test/dummy/config/initializers/platform.rb
837
842
  - test/dummy/config/initializers/secret_token.rb
838
843
  - test/dummy/config/initializers/session_store.rb
839
844
  - test/dummy/config/initializers/wrap_parameters.rb
@@ -887,6 +892,7 @@ test_files:
887
892
  - test/dummy/public/404.html
888
893
  - test/dummy/public/422.html
889
894
  - test/dummy/public/500.html
895
+ - test/dummy/public/developer_agreement.html
890
896
  - test/dummy/public/favicon.ico
891
897
  - test/dummy/script/rails
892
898
  - test/dummy/test/fixtures/documents.yml