sugarcube 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,7 @@ You can extend the defaults by adding entries:
25
25
  class Symbol
26
26
  class << self
27
27
  attr_accessor :devices
28
- attr_accessor :alignments
28
+ attr_accessor :textalignments
29
29
  attr_accessor :linebreakmodes
30
30
  attr_accessor :baselineadjustments
31
31
  attr_accessor :orientations
@@ -49,7 +49,7 @@ class Symbol
49
49
  ipad: UIUserInterfaceIdiomPad,
50
50
  }
51
51
 
52
- @alignments = {
52
+ @textalignments = {
53
53
  left: UITextAlignmentLeft,
54
54
  right: UITextAlignmentRight,
55
55
  center: UITextAlignmentCenter,
@@ -236,10 +236,10 @@ class Symbol
236
236
  raise SugarNotFoundException.new(self)
237
237
  end
238
238
 
239
- def uialignment
240
- look_in(Symbol.alignments)
239
+ def uitextalignment
240
+ look_in(Symbol.textalignments)
241
241
  end
242
- alias :uitextalignment :uialignment
242
+ alias :uialignment :uitextalignment
243
243
 
244
244
  def uilinebreakmode
245
245
  look_in(Symbol.linebreakmodes)
@@ -1,3 +1,3 @@
1
1
  module SugarCube
2
- Version = '0.3.1'
2
+ Version = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sugarcube
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2012-07-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
17
- requirement: !ruby/object:Gem::Requirement
17
+ requirement: &70138590503260 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,15 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ! '>='
29
- - !ruby/object:Gem::Version
30
- version: '0'
25
+ version_requirements: *70138590503260
31
26
  - !ruby/object:Gem::Dependency
32
27
  name: rspec
33
- requirement: !ruby/object:Gem::Requirement
28
+ requirement: &70138590518760 !ruby/object:Gem::Requirement
34
29
  none: false
35
30
  requirements:
36
31
  - - ! '>='
@@ -38,12 +33,7 @@ dependencies:
38
33
  version: '0'
39
34
  type: :development
40
35
  prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ! '>='
45
- - !ruby/object:Gem::Version
46
- version: '0'
36
+ version_requirements: *70138590518760
47
37
  description: ! 'CocoaTouch/iOS is a *verbose* framework. These extensions hope to
48
38
  make
49
39
 
@@ -116,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
106
  version: '0'
117
107
  requirements: []
118
108
  rubyforge_project:
119
- rubygems_version: 1.8.19
109
+ rubygems_version: 1.8.11
120
110
  signing_key:
121
111
  specification_version: 3
122
112
  summary: Extensions for Ruby to make Rubymotion development more enjoyable, and hopefully