framey 1.2.4 → 1.2.5

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.md CHANGED
@@ -23,6 +23,8 @@ There are two options for using the framey gem: using included scaffold code for
23
23
 
24
24
  ## Using the included scaffold
25
25
 
26
+ * At the moment, the generator only works for Rails 3
27
+
26
28
  Run the framey generator:
27
29
 
28
30
  `rails generate framey API_KEY API_SECRET`
@@ -46,6 +48,8 @@ Edit the default configuration options in config/framey.rb:
46
48
  SECRET = "API_SECRET_VALUE"
47
49
  API_TIMEOUT = 15
48
50
  MAX_TIME = 30
51
+ FLASH_RECORDER_URL = 'http://framey.com/recorder.swf'
52
+ FLASH_PLAYER_URL = 'http://framey.com/player.swf'
49
53
 
50
54
  ## Creating your own views
51
55
 
@@ -62,6 +66,10 @@ Create a framey initializer at config/framey.rb and modify the following code to
62
66
  FLASH_PLAYER_URL = 'http://framey.com/player.swf'
63
67
  end
64
68
 
69
+ When using rails 2, add the following line to app/helpers/application_helper.rb
70
+
71
+ include Framey::ViewHelpers
72
+
65
73
  # User / Development Flow
66
74
 
67
75
  * You make a page on your site that displays the Framey flash video recorder
File without changes
File without changes
data/lib/framey.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Framey
2
2
  require 'httparty'
3
- require 'api'
4
- require 'view_helpers'
3
+ require 'framey/api'
4
+ require 'framey/view_helpers'
5
5
  end
@@ -1,5 +1,5 @@
1
- require 'rails/generators'
2
- require 'rails/generators/migration'
1
+ # require 'rails/generators'
2
+ # require 'rails/generators/migration'
3
3
 
4
4
  class FrameyGenerator < Rails::Generators::Base
5
5
  include Rails::Generators::Migration
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: framey
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-09-09 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
- requirement: &2161033200 !ruby/object:Gem::Requirement
16
+ requirement: &2152942820 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2161033200
24
+ version_requirements: *2152942820
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jeweler
27
- requirement: &2161031780 !ruby/object:Gem::Requirement
27
+ requirement: &2152941620 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2161031780
35
+ version_requirements: *2152941620
36
36
  description: A gem for easy Rails integration with the Framey video recording service.
37
37
  email: david@qlabs.com
38
38
  executables: []
@@ -40,8 +40,9 @@ extensions: []
40
40
  extra_rdoc_files:
41
41
  - README.md
42
42
  files:
43
- - lib/api.rb
44
43
  - lib/framey.rb
44
+ - lib/framey/api.rb
45
+ - lib/framey/view_helpers.rb
45
46
  - lib/rails/generators/framey/framey_generator.rb
46
47
  - lib/rails/generators/framey/templates/framey.html.erb
47
48
  - lib/rails/generators/framey/templates/index.html.erb
@@ -54,7 +55,6 @@ files:
54
55
  - lib/rails/generators/framey/templates/stylesheets/framey.css
55
56
  - lib/rails/generators/framey/templates/video.rb
56
57
  - lib/rails/generators/framey/templates/videos_controller.rb
57
- - lib/view_helpers.rb
58
58
  - README.md
59
59
  homepage: http://framey.com
60
60
  licenses: []