motion-pixate 1.3 → 2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +1 -7
  2. data/lib/motion/project/pixate.rb +4 -4
  3. metadata +2 -2
data/README.md CHANGED
@@ -34,13 +34,7 @@ Motion::Project::App.setup do |app|
34
34
  end
35
35
  ```
36
36
 
37
- 4. Note: As of Pixate 1.1 beta 4, you need to add the following line to your `app_delegate` file in the `application(application, didFinishLaunchingWithOptions:launchOptions)` method before the `@window.makeKeyAndVisible` call:
38
-
39
- ```ruby
40
- @window.styleMode = PXStylingNormal
41
- ```
42
-
43
- 5. Create the `default.css` in `resources` directory.
37
+ 4. Create the `default.css` in `resources` directory.
44
38
 
45
39
  Note: To install the motion-pixate gem, see the [RubyGems site](https://rubygems.org/gems/motion-pixate).
46
40
 
@@ -13,7 +13,7 @@ class PixateConfig
13
13
  if @framework != path
14
14
  @config.unvendor_project(@framework)
15
15
  @framework = path
16
- @config.vendor_project(path, :static, :products => ['PXEngine'], :headers_dir => 'Headers')
16
+ @config.vendor_project(path, :static, :products => ['Pixate'], :headers_dir => 'Headers')
17
17
  create_code
18
18
  end
19
19
  end
@@ -23,7 +23,7 @@ class PixateConfig
23
23
  def create_code
24
24
  license = ""
25
25
  if @user && @key
26
- license = "PXEngine.licenseKey('#{@key}', forUser:'#{@user}')\n"
26
+ license = "Pixate.licenseKey('#{@key}', forUser:'#{@user}')\n"
27
27
  end
28
28
 
29
29
  code = <<EOF
@@ -31,8 +31,8 @@ class PixateConfig
31
31
 
32
32
  #{license}
33
33
  def style(str)
34
- PXEngine.styleSheetFromSource(str, withOrigin:0)
35
- PXEngine.applyStylesheets
34
+ Pixate.styleSheetFromSource(str, withOrigin:0)
35
+ Pixate.applyStylesheets
36
36
  end
37
37
  EOF
38
38
  pixate_file = './app/pixate_code.rb'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-pixate
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.3'
4
+ version: '2.0'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-09-04 00:00:00.000000000 Z
13
+ date: 2013-09-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sass