Skip to content

Instantly share code, notes, and snippets.

@tonyarnold
Last active December 20, 2015 01:59
Show Gist options
  • Save tonyarnold/6053439 to your computer and use it in GitHub Desktop.
Save tonyarnold/6053439 to your computer and use it in GitHub Desktop.

Revisions

  1. tonyarnold revised this gist Aug 8, 2013. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ReactiveCocoa.podspec
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ Pod::Spec.new do |s|
    s.summary = "A framework for composing and transforming sequences of values."
    s.homepage = "https://github.com/blog/1107-reactivecocoa-is-now-open-source"
    s.author = { "Josh Abernathy" => "[email protected]" }
    s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveCocoa.git", :branch => "v#{s.version}" }
    s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveCocoa.git", :branch => "fishhook-off-device" }
    s.license = 'Simplified BSD License'
    s.description = "ReactiveCocoa offers:\n" \
    "1. The ability to compose operations on future data.\n" \
    @@ -28,7 +28,7 @@ Pod::Spec.new do |s|
    sp.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/**/*.{h,m}', 'external/fishhook/*.{h,c}'
    sp.exclude_files = 'ReactiveCocoaFramework/ReactiveCocoa/RACObjCRuntime.{h,m}'
    sp.ios.exclude_files = '**/*{AppKit,NSControl,NSText}*'
    sp.osx.exclude_files = '**/*{UIActionSheet,UIAlertView,UIBarButtonItem,UIButton,UIControl,UIGestureRecognizer,UIText,UITableView,fishhook}*'
    sp.osx.exclude_files = '**/*{UIActionSheet,UIAlertView,UIBarButtonItem,UIButton,UIControl,UIDatePicker,UIGestureRecognizer,UISegmentedControl,UISlider,UIStepper,UISwitch,UIText,UITableView}*'

    sp.pre_install do |pod, _|
    pod.source_files.each { |source|
  2. tonyarnold revised this gist Jul 29, 2013. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ReactiveCocoa.podspec
    Original file line number Diff line number Diff line change
    @@ -25,10 +25,10 @@ Pod::Spec.new do |s|

    s.subspec 'Core' do |sp|
    sp.dependency 'ReactiveCocoa/no-arc'
    sp.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/**/*.{h,m}'
    sp.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/**/*.{h,m}', 'external/fishhook/*.{h,c}'
    sp.exclude_files = 'ReactiveCocoaFramework/ReactiveCocoa/RACObjCRuntime.{h,m}'
    sp.ios.exclude_files = '**/*{AppKit,NSControl,NSText}*'
    sp.osx.exclude_files = '**/*{UIActionSheet,UIAlertView,UIBarButtonItem,UIButton,UIControl,UIGestureRecognizer,UIText,UITableView}*'
    sp.osx.exclude_files = '**/*{UIActionSheet,UIAlertView,UIBarButtonItem,UIButton,UIControl,UIGestureRecognizer,UIText,UITableView,fishhook}*'

    sp.pre_install do |pod, _|
    pod.source_files.each { |source|
  3. tonyarnold revised this gist Jul 25, 2013. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions ReactiveCocoa.podspec
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,10 @@
    Pod::Spec.new do |s|
    s.name = "ReactiveCocoa"
    s.version = "2.0.0dev"
    s.version = "2.0-development"
    s.summary = "A framework for composing and transforming sequences of values."
    s.homepage = "https://github.com/blog/1107-reactivecocoa-is-now-open-source"
    s.author = { "Josh Abernathy" => "[email protected]" }
    s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveCocoa.git" }
    s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveCocoa.git", :branch => "v#{s.version}" }
    s.license = 'Simplified BSD License'
    s.description = "ReactiveCocoa offers:\n" \
    "1. The ability to compose operations on future data.\n" \
    @@ -28,7 +28,7 @@ Pod::Spec.new do |s|
    sp.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/**/*.{h,m}'
    sp.exclude_files = 'ReactiveCocoaFramework/ReactiveCocoa/RACObjCRuntime.{h,m}'
    sp.ios.exclude_files = '**/*{AppKit,NSControl,NSText}*'
    sp.osx.exclude_files = '**/*{UIActionSheet,UIAlertView,UIBarButtonItem,UIButton,UIControl,UIGestureRecognizer,UIText}*'
    sp.osx.exclude_files = '**/*{UIActionSheet,UIAlertView,UIBarButtonItem,UIButton,UIControl,UIGestureRecognizer,UIText,UITableView}*'

    sp.pre_install do |pod, _|
    pod.source_files.each { |source|
  4. tonyarnold revised this gist Jul 24, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ReactiveCocoa.podspec
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ Pod::Spec.new do |s|
    s.summary = "A framework for composing and transforming sequences of values."
    s.homepage = "https://github.com/blog/1107-reactivecocoa-is-now-open-source"
    s.author = { "Josh Abernathy" => "[email protected]" }
    s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveCocoa.git", :tag => "v#{s.version}" }
    s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveCocoa.git" }
    s.license = 'Simplified BSD License'
    s.description = "ReactiveCocoa offers:\n" \
    "1. The ability to compose operations on future data.\n" \
  5. tonyarnold created this gist Jul 22, 2013.
    47 changes: 47 additions & 0 deletions ReactiveCocoa.podspec
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    Pod::Spec.new do |s|
    s.name = "ReactiveCocoa"
    s.version = "2.0.0dev"
    s.summary = "A framework for composing and transforming sequences of values."
    s.homepage = "https://github.com/blog/1107-reactivecocoa-is-now-open-source"
    s.author = { "Josh Abernathy" => "[email protected]" }
    s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveCocoa.git", :tag => "v#{s.version}" }
    s.license = 'Simplified BSD License'
    s.description = "ReactiveCocoa offers:\n" \
    "1. The ability to compose operations on future data.\n" \
    "2. An approach to minimizing state and mutability.\n" \
    "3. A declarative way to define behaviors and the relationships between properties.\n" \
    "4. A unified, high-level interface for asynchronous operations.\n" \
    "5. A lovely API on top of KVO."

    s.requires_arc = true
    s.ios.deployment_target = '5.0'
    s.osx.deployment_target = '10.7'
    s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'

    s.subspec 'no-arc' do |sp|
    sp.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/RACObjCRuntime.{h,m}'
    sp.requires_arc = false
    end

    s.subspec 'Core' do |sp|
    sp.dependency 'ReactiveCocoa/no-arc'
    sp.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/**/*.{h,m}'
    sp.exclude_files = 'ReactiveCocoaFramework/ReactiveCocoa/RACObjCRuntime.{h,m}'
    sp.ios.exclude_files = '**/*{AppKit,NSControl,NSText}*'
    sp.osx.exclude_files = '**/*{UIActionSheet,UIAlertView,UIBarButtonItem,UIButton,UIControl,UIGestureRecognizer,UIText}*'

    sp.pre_install do |pod, _|
    pod.source_files.each { |source|
    contents = source.read
    if contents.gsub!(%r{\"(EXT\w+|metamacros)\.h}, '"ReactiveCocoa/\1.h')
    File.open(source, 'w') { |file| file.puts(contents) }
    end
    }
    end
    end

    s.subspec 'RACExtensions' do |sp|
    sp.source_files = 'RACExtensions/*.{h,m}'
    sp.dependency 'ReactiveCocoa/Core'
    end
    end