disguise 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
data/disguise.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{disguise}
5
- s.version = "0.3.0"
5
+ s.version = "0.3.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Justin Ball"]
9
- s.date = %q{2009-06-11}
9
+ s.date = %q{2009-07-14}
10
10
  s.description = %q{Add themes to your Rails application to easily change the view layer and impress everyone you know}
11
11
  s.email = %q{justinball@gmail.com}
12
12
  s.extra_rdoc_files = [
@@ -159,7 +159,7 @@ Gem::Specification.new do |s|
159
159
  "test/rails_root/config/environments/production.rb",
160
160
  "test/rails_root/config/environments/test.rb",
161
161
  "test/rails_root/config/global_config.yml",
162
- "test/rails_root/config/initializers/disguise_init.rb",
162
+ "test/rails_root/config/initializers/disguise.rb",
163
163
  "test/rails_root/config/initializers/inflections.rb",
164
164
  "test/rails_root/config/initializers/mime_types.rb",
165
165
  "test/rails_root/config/initializers/requires.rb",
@@ -256,7 +256,7 @@ Gem::Specification.new do |s|
256
256
  "test/rails_root/config/environments/development.rb",
257
257
  "test/rails_root/config/environments/production.rb",
258
258
  "test/rails_root/config/environments/test.rb",
259
- "test/rails_root/config/initializers/disguise_init.rb",
259
+ "test/rails_root/config/initializers/disguise.rb",
260
260
  "test/rails_root/config/initializers/inflections.rb",
261
261
  "test/rails_root/config/initializers/mime_types.rb",
262
262
  "test/rails_root/config/initializers/requires.rb",
@@ -28,7 +28,8 @@ class ThemeGenerator < Rails::Generator::NamedBase
28
28
  m.file "stylesheets/styles.css", "public/stylesheets/#{file_name}.css"
29
29
 
30
30
  # localization
31
- m.file "locale/en.yml", "themes/#{file_name}/locales/en.yml"
31
+ m.directory "themes/#{file_name}/locales"
32
+ m.file "locales/en.yml", "themes/#{file_name}/locales/en.yml"
32
33
 
33
34
  m.readme "INSTALL"
34
35
  end
data/locales/ar.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  ar:
3
3
  disguise:
4
4
  activate_theme_message: "انقر على موضوع لتفعيلها"
5
+ add_uri: إضافة
5
6
  current_theme: "الموضوع الحالي"
7
+ delete_uri: حذف
8
+ error_creating_domain_theme: "هناك مشكلة واضاف ان المسار : {{error}}"
6
9
  no_current_theme: "في الوقت الحاضر أي موضوع تم اختيارها لهذا الطلب وذلك بهدف تطبيق الافتراضي سوف تستخدم."
7
10
  no_themes_message: "أنت لم تكن قد أنشأت أي مواضيع طلبك. إذا كنت ترغب في إنشاء لجنة جديدة لمجرد موضوع لموضوع تشغيل المولدات واتبع التعليمات :"
11
+ remove_all_themes: "إزالة جميع المواضيع واستخدام قوالب التطبيق الافتراضي"
8
12
  set_theme: "حدد الموضوع"
9
13
  theme_updated: "وكان موضوع تحديث بنجاح."
14
+ theme_uri_label: "رابط للموضوع"
15
+ update_uri: "تحديث الموقع"
16
+ uri_deleted: "المحدد تم حذف رابط"
17
+ uris_title: "هذا الموضوع سيتم عرض لجميع العناوين التالية"
18
+ use_domain_themes: "الموضوع الحالي سوف يحدده رابط محدد مع كل موضوع."
data/locales/bg.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  bg:
3
3
  disguise:
4
4
  activate_theme_message: "Щракнете върху някоя тема, за да го активирате"
5
+ add_uri: Добавям
5
6
  current_theme: "Текущи Тема"
7
+ delete_uri: Изтривам
8
+ error_creating_domain_theme: "Имаше проблем при добавянето на сайт: {{error}}"
6
9
  no_current_theme: "В момента темата не е избран за тази молба и така по подразбиране заявление екран ще се използва."
7
10
  no_themes_message: "Все още не сте създали нито теми за вашата заявка. Ако искате да създадете нова тема просто стартирайте тема генератора и следвайте инструкциите:"
11
+ remove_all_themes: "Премахване на всички теми и използването подразбиране прилагане на шаблони"
8
12
  set_theme: "Задайте Тема"
9
13
  theme_updated: "Тема бе успешно обновен."
14
+ theme_uri_label: "Url за Тема"
15
+ update_uri: "Актуализация Url"
16
+ uri_deleted: "Посоченият сайт е изтрит"
17
+ uris_title: "Тази тема ще бъде показан за всички следните URL адреси"
18
+ use_domain_themes: "Настоящата тема ще бъде определена от интернет адрес с всяка тема по-долу."
data/locales/ca.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  ca:
3
3
  disguise:
4
4
  activate_theme_message: "Feu clic a un tema per activar"
5
+ add_uri: Afegir
5
6
  current_theme: "Tema actual"
7
+ delete_uri: Esborrar
8
+ error_creating_domain_theme: "Hi ha hagut un problema en afegir la url: {{error}}"
6
9
  no_current_theme: "Encara no hi ha cap tema ha estat seleccionat per a aquesta aplicació i per la qual cosa la vista d&#39;aplicació per defecte serà usada."
7
10
  no_themes_message: "Vostè encara no ha creat cap temes per a la seva aplicació. Si voleu crear un nou tema simplement executeu el tema generador i seguiu les instruccions:"
11
+ remove_all_themes: "Quite tots els temes i l&#39;ús per defecte plantilles d&#39;aplicació"
8
12
  set_theme: "Establir Tema"
9
13
  theme_updated: "Tema s&#39;ha actualitzat."
14
+ theme_uri_label: "Url de Tema"
15
+ update_uri: "Actualització Url"
16
+ uri_deleted: "L&#39;URL especificada, s&#39;ha suprimit"
17
+ uris_title: "Este tema es mostrarà durant tota la següent URL"
18
+ use_domain_themes: "El tema actual serà determinada per la URL especificada amb cada un dels temes a continuació."
data/locales/cs.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  cs:
3
3
  disguise:
4
4
  activate_theme_message: "Klikněte na téma pro jeho aktivaci"
5
+ add_uri: Přidat
5
6
  current_theme: "Aktuální téma"
7
+ delete_uri: Odstranit
8
+ error_creating_domain_theme: "Došlo k problému při přidání url: {{error}}"
6
9
  no_current_theme: "V současné době žádné téma bylo vybráno pro tuto aplikaci a tak výchozí zobrazení aplikace budou použity."
7
10
  no_themes_message: "Vy ještě nemáte vytvořen jakékoliv témata pro vaše aplikace. Pokud chcete vytvořit nové téma jednoduše spustit generátor téma a postupujte podle návodu:"
11
+ remove_all_themes: "Odebrání všech témat a použití výchozí šablony aplikace"
8
12
  set_theme: "Nastavit Témata"
9
13
  theme_updated: "Téma bylo úspěšně aktualizováno."
14
+ theme_uri_label: "Url k tématu"
15
+ update_uri: "Update Url"
16
+ uri_deleted: "Zadaný url byl smazán"
17
+ uris_title: "Toto téma se zobrazí všechny následující adresy URL"
18
+ use_domain_themes: "Aktuální téma bude stanoveno podle url uvedené u každého tématu níže."
data/locales/da.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  da:
3
3
  disguise:
4
4
  activate_theme_message: "Klik på et tema for at aktivere den"
5
+ add_uri: Tilføj
5
6
  current_theme: "Nuværende tema"
6
- no_current_theme: "I øjeblikket ingen tema er blevet udvalgt til denne ansøgning, og så standard ansøgning opfattelse vil blive anvendt."
7
+ delete_uri: Slet
8
+ error_creating_domain_theme: "Der var et problem at tilføje url: {{error}}"
9
+ no_current_theme: "Øjeblikket ingen tema er valgt hertil ansøgning osv. standardnavnet ansøgning visning anvendes."
7
10
  no_themes_message: "Du har endnu ikke oprettet nogen temaer for din ansøgning. Hvis du vil oprette et nyt emne, skal du blot køre den tema-generator, og følg vejledningen:"
11
+ remove_all_themes: "Fjern alle temaer og bruge standard ansøgning skabeloner"
8
12
  set_theme: "Indstil Theme"
9
13
  theme_updated: "Tema var blevet opdateret."
14
+ theme_uri_label: "Url for Theme"
15
+ update_uri: "Update Url"
16
+ uri_deleted: "Den angivne webadresse er blevet slettet"
17
+ uris_title: "Dette tema vil blive vist for alle de følgende webadresser"
18
+ use_domain_themes: "Den aktuelle tema vil blive bestemt af url angivet med hvert emne nedenfor."
data/locales/de.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  de:
3
3
  disguise:
4
4
  activate_theme_message: "Klicken Sie auf ein Thema, um es zu aktivieren"
5
+ add_uri: Hinzufügen
5
6
  current_theme: "Aktuelle Themen"
7
+ delete_uri: Löschen
8
+ error_creating_domain_theme: "Es gab ein Problem Sie die URL: {{error}}"
6
9
  no_current_theme: "Zur Zeit sind keine Themen ausgewählt wurde für diese Anwendung, so dass die Standard-Anwendung gesehen werden."
7
10
  no_themes_message: "Sie haben noch nicht alle Themen, die für Ihre Anwendung. Wenn Sie möchten, erstellen Sie ein neues Thema starten Sie das Thema Generator und folgen Sie den Anweisungen:"
11
+ remove_all_themes: "Entfernen Sie alle Themen und Standard Applikations-Templates"
8
12
  set_theme: "Set Thema"
9
13
  theme_updated: "Thema wurde erfolgreich aktualisiert."
14
+ theme_uri_label: "URL für Thema"
15
+ update_uri: "Update Url"
16
+ uri_deleted: "Die angegebene URL wurde gelöscht"
17
+ uris_title: "Dieses Thema wird für alle folgenden URLs"
18
+ use_domain_themes: "Das aktuelle Thema wird von der URL, die mit jedem Thema unten."
data/locales/el.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  el:
3
3
  disguise:
4
4
  activate_theme_message: "Κάντε κλικ σε ένα θέμα για να ενεργοποιήσετε"
5
+ add_uri: Προσθέτω
5
6
  current_theme: "Τρέχον Θέμα"
7
+ delete_uri: Διαγράφω
8
+ error_creating_domain_theme: "Υπήρξε πρόβλημα στην προσθήκη του url: {{error}}"
6
9
  no_current_theme: "Επί του παρόντος θέματος δεν έχει επιλεγεί για αυτή την εφαρμογή και έτσι η προεπιλεγμένη εφαρμογή σκοπό θα χρησιμοποιηθεί."
7
10
  no_themes_message: "Εσείς δεν έχετε δημιουργήσει οποιαδήποτε θέματα για την εφαρμογή σας. Αν θέλετε να δημιουργήσετε ένα νέο θέμα απλά εκτελέστε το θέμα γεννήτριας και ακολουθήστε τις οδηγίες:"
11
+ remove_all_themes: "Κατάργηση όλων των θεμάτων και τη χρήση προεπιλεγμένη εφαρμογή προτύπων"
8
12
  set_theme: "Ορισμός Θέμα"
9
13
  theme_updated: "Το θέμα είχε ενημερωθεί με επιτυχία."
14
+ theme_uri_label: "Url για Θέμα"
15
+ update_uri: "Ενημέρωση Url"
16
+ uri_deleted: "Το καθορισμένο url έχει διαγραφεί"
17
+ uris_title: "Το θέμα αυτό θα εμφανίζεται για όλες τις ακόλουθες urls"
18
+ use_domain_themes: "Το σημερινό θέμα θα καθορίζεται από τη διεύθυνση URL που ορίζεται με κάθε θέμα που ακολουθεί."
data/locales/en.yml CHANGED
@@ -1,12 +1,12 @@
1
1
  en:
2
2
  disguise:
3
- theme_updated: 'Theme was successfully updated.'
4
- no_themes_message: 'You have not yet created any themes for your application. If you would like to create a new theme simply run the theme generator and follow the instructions:'
3
+ theme_updated: "Theme was successfully updated."
4
+ no_themes_message: "You have not yet created any themes for your application. If you would like to create a new theme simply run the theme generator and follow the instructions:"
5
5
  set_theme: Set Theme
6
6
  current_theme: Current Theme
7
7
  activate_theme_message: Click on a theme to activate it
8
- no_current_theme: 'Currently no theme has been selected for this application and so the default application view will be used.'
9
- use_domain_themes: 'The current theme will be determined by the url specified with each theme below.'
8
+ no_current_theme: "Currently no theme has been selected for this application and so the default application view will be used."
9
+ use_domain_themes: "The current theme will be determined by the url specified with each theme below."
10
10
  update_uri: Update Url
11
11
  add_uri: Add
12
12
  delete_uri: Delete
data/locales/es.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  es:
3
3
  disguise:
4
4
  activate_theme_message: "Haga clic en un tema para activarlo"
5
+ add_uri: Agregar
5
6
  current_theme: "Tema actual"
7
+ delete_uri: Borrar
8
+ error_creating_domain_theme: "Ha habido un problema al añadir la url: {{error}}"
6
9
  no_current_theme: "Momento, no hay ningún tema ha sido seleccionado para esta aplicación y por lo que la vista de aplicación por defecto será usada."
7
10
  no_themes_message: "Usted aún no ha creado ninguna temas para su aplicación. Si desea crear un nuevo tema simplemente ejecute el tema generador y siga las instrucciones:"
11
+ remove_all_themes: "Quite todos los temas y el uso por defecto plantillas de aplicación"
8
12
  set_theme: "Establecer Tema"
9
13
  theme_updated: "Tema se ha actualizado."
14
+ theme_uri_label: "Url de Tema"
15
+ update_uri: "Actualización Url"
16
+ uri_deleted: "La URL especificada, se ha suprimido"
17
+ uris_title: "Este tema se mostrará durante toda la siguiente URL"
18
+ use_domain_themes: "El tema actual será determinada por la URL especificada con cada uno de los temas a continuación."
data/locales/fr.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  fr:
3
3
  disguise:
4
4
  activate_theme_message: "Cliquez sur un thème pour l&#39;activer"
5
+ add_uri: Ajouter
5
6
  current_theme: "Thème actuel"
7
+ delete_uri: Supprimer
8
+ error_creating_domain_theme: "Il y avait un problème en ajoutant l&#39;url: {{error}}"
6
9
  no_current_theme: "Actuellement, aucun thème n&#39;a été choisi pour cette application et l&#39;application par défaut sera utilisé vue."
7
10
  no_themes_message: "Vous n&#39;avez pas encore créé de thèmes pour votre application. Si vous souhaitez créer un nouveau thème, exécutez simplement le thème générateur et suivez les instructions:"
11
+ remove_all_themes: "Supprimer tous les thèmes et l&#39;utilisation des modèles d&#39;application par défaut"
8
12
  set_theme: "Set Thème"
9
13
  theme_updated: "Thème a été mis à jour."
14
+ theme_uri_label: "Url du thème"
15
+ update_uri: "Mise à jour du Site Web"
16
+ uri_deleted: "L&#39;URL a été supprimée"
17
+ uris_title: "Ce thème sera affichée pour toutes les adresses suivantes"
18
+ use_domain_themes: "Le thème sera déterminé par l&#39;url spécifiée pour chaque thème ci-dessous."
data/locales/it.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  it:
3
3
  disguise:
4
4
  activate_theme_message: "Fare clic su un tema per attivarla"
5
+ add_uri: Aggiungere
5
6
  current_theme: "Tema attuale"
7
+ delete_uri: Eliminare
8
+ error_creating_domain_theme: "Si è verificato un problema aggiungendo l&#39;url: {{error}}"
6
9
  no_current_theme: "Attualmente non è presente alcun tema è stato scelto per questa applicazione e quindi l&#39;applicazione predefinita fine saranno utilizzati."
7
10
  no_themes_message: "Non hai ancora creato alcun temi per la vostra applicazione. Se si desidera creare un nuovo tema basta eseguire il tema generatore e seguire le istruzioni:"
11
+ remove_all_themes: "Rimuovere tutti i temi di default e utilizzare modelli di domanda"
8
12
  set_theme: "Imposta Tema"
9
13
  theme_updated: "Tema è stato aggiornato con successo."
14
+ theme_uri_label: "Url per Tema"
15
+ update_uri: "Aggiornamento Url"
16
+ uri_deleted: "L&#39;URL specificato è stato soppresso"
17
+ uris_title: "Questo tema verrà visualizzata per tutti i seguenti URL"
18
+ use_domain_themes: "L&#39;attuale tema sarà determinato dalla url specificata con ciascun tema di seguito."
data/locales/iw.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  iw:
3
3
  disguise:
4
4
  activate_theme_message: "לחץ על נושא כדי להפעיל אותה"
5
+ add_uri: להוסיף
5
6
  current_theme: "נושאים נוכחיים"
7
+ delete_uri: למחוק
8
+ error_creating_domain_theme: "הייתה בעיה להוסיף את כתובת האתר: {{error}}"
6
9
  no_current_theme: "בשלב זה לא נושא נבחר עבור יישום זה, וכך להציג את יישום ברירת המחדל יהיה בשימוש."
7
10
  no_themes_message: "עדיין לא נוצר שום נושאים עבור היישום שלך. אם אתה רוצה ליצור ערכת נושא פשוט להפעיל את הגנרטור נושא אחר ההוראות:"
11
+ remove_all_themes: "הסר את כל נושא ולהשתמש בתבניות ברירת המחדל של היישום"
8
12
  set_theme: "בחר ערכת נושא"
9
13
  theme_updated: "נושאים היה עודכנו בהצלחה."
14
+ theme_uri_label: "כתובת האתר של נושאים"
15
+ update_uri: "עדכון כתובת האתר"
16
+ uri_deleted: "כתובת האתר המצוין נמחק"
17
+ uris_title: "נושא זה יוצג עבור כל כתובות האתרים הבאים"
18
+ use_domain_themes: "את ערכת הנושא הנוכחית ייקבע לפי כתובת ה-URL שצוין עם כל נושא למטה."
data/locales/ja.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  ja:
3
3
  disguise:
4
4
  activate_theme_message: をクリックして起動をテーマに
5
+ add_uri: 追加する
5
6
  current_theme: 現在のテーマ
7
+ delete_uri: 削除する
8
+ error_creating_domain_theme: "ある問題は、 URLを追加: {{error}}されました"
6
9
  no_current_theme: 現在のテーマは、このアプリケーションのように使用されるデフォルトのアプリケーションの表示が選択されています。
7
10
  no_themes_message: あなたは、お使いのアプリケーションに任意のテーマを作成していません。場合は、新しいテーマがテーマだけを実行し、指示に従ってくださいジェネレータを作成したいと思います:
11
+ remove_all_themes: すべてのテーマやテンプレートを使用してデフォルトのアプリケーションを削除する
8
12
  set_theme: 設定テーマ
9
13
  theme_updated: テーマは正常に更新されました。
14
+ theme_uri_label: URLをテーマに
15
+ update_uri: URLを更新
16
+ uri_deleted: 指定されたURLは削除されました
17
+ uris_title: このテーマは以下のURLに表示されます
18
+ use_domain_themes: 現在のテーマは以下のURLで指定されたそれぞれのテーマに基づいて決定されます。
data/locales/ko.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  ko:
3
3
  disguise:
4
4
  activate_theme_message: "테마를 클릭하여 활성화"
5
+ add_uri: 추가
5
6
  current_theme: "현재 테마"
7
+ delete_uri: 삭제
8
+ error_creating_domain_theme: "이 문제는 URL을 추가 : {{error}}했다"
6
9
  no_current_theme: "현재이 응용 프로그램을위한 주제와 기본 응용 프로그램을 볼 수 있도록 사용됩니다 선정됐다."
7
10
  no_themes_message: "당신이 아직 귀하의 응용 프로그램에 대한 모든 주제를 작성하지 않았습니다. 만약 당신이 새로운 테마를 단순히 테마 발전기를 실행하고 지침에 따라 작성하고 싶습니다 :"
11
+ remove_all_themes: "테마와 템플릿을 사용하는 모든 기본 응용 프로그램 제거"
8
12
  set_theme: "테마 설정"
9
13
  theme_updated: "테마가 성공적으로 업데이 트했습니다."
14
+ theme_uri_label: "URL이 테마에 대한"
15
+ update_uri: "업데이트 URL을"
16
+ uri_deleted: "지정된 URL이 삭제되었습니다"
17
+ uris_title: "이 주제는 다음의 모든 URL에 표시됩니다"
18
+ use_domain_themes: "현재 테마로 각각의 주제는 아래의 URL을 지정하여 결정됩니다."
data/locales/lt.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  lt:
3
3
  disguise:
4
4
  activate_theme_message: "Paspauskite ant temos aktyvuoti"
5
+ add_uri: Pridėti
5
6
  current_theme: "Aktualios temos"
7
+ delete_uri: Ištrinti
8
+ error_creating_domain_theme: "Iškilo problema įrašant URL: {{error}}"
6
9
  no_current_theme: "Šiuo metu nėra jokių tema buvo pasirinktas dėl šio prašymo ir tt pagal nutylėjimą taikymo vaizdas bus naudojamas."
7
10
  no_themes_message: "Jūs dar neturite susikūrę jokių temų jūsų paraišką. Jei norite sukurti naują temą tiesiog paleiskite tema generatorius ir sekite instrukcijas:"
11
+ remove_all_themes: "Pašalinti visas temas ir naudoti numatytąjį taikant šablonus"
8
12
  set_theme: "Nustatykite temą"
9
13
  theme_updated: "Tema buvo sėkmingai atnaujintas."
14
+ theme_uri_label: "URL temos"
15
+ update_uri: "Atnaujinti URL"
16
+ uri_deleted: "Nurodytas url nebuvo išbraukta"
17
+ uris_title: "Ši tema bus naudojamas visų šių URL"
18
+ use_domain_themes: "Dabartinė tema bus nustatomas pagal URL su kiekvienai temai žemiau."
data/locales/lv.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  lv:
3
3
  disguise:
4
4
  activate_theme_message: "Klikšķiniet uz tēmas, lai aktivizētu"
5
+ add_uri: Pievienot
5
6
  current_theme: "Current Theme"
7
+ delete_uri: Dzēst
8
+ error_creating_domain_theme: "Radās problēma, pievienojot url: {{error}}"
6
9
  no_current_theme: "Pašlaik nav tēma ir izvēlēts šo pieteikumu un tā noklusējuma piemērošanas nolūkā tiks izmantota."
7
10
  no_themes_message: "Jūs vēl neesat izveidojis nevienu tēmas savu pieteikumu. Ja vēlaties izveidot jaunu tēmu vienkārši palaist tēmu ģenerators un izpildiet instrukcijas:"
11
+ remove_all_themes: "Noņemt visas tēmas un izmantot noklusējuma pieteikumu veidnes"
8
12
  set_theme: "Set Theme"
9
13
  theme_updated: "Tēma ir veiksmīgi atjaunināts."
14
+ theme_uri_label: "URL Theme"
15
+ update_uri: "Update Url"
16
+ uri_deleted: "Norādītie url ir izdzēsts"
17
+ uris_title: "Šī tēma tiks parādīti visiem šādi URL"
18
+ use_domain_themes: "Pašreizējā tēma tiks noteiktas ar url norādīta ar katru theme turpmāk."
data/locales/nl.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  nl:
3
3
  disguise:
4
4
  activate_theme_message: "Klik op een thema te activeren"
5
+ add_uri: Toevoegen
5
6
  current_theme: "Huidig Thema"
7
+ delete_uri: Wissen
8
+ error_creating_domain_theme: "Er een probleem was het toevoegen van de url: {{error}}"
6
9
  no_current_theme: "Momenteel geen thema is gekozen voor deze toepassing en dus de standaard weergave worden gebruikt."
7
10
  no_themes_message: "U nog geen thema&#39;s voor uw toepassing. Wilt u een nieuw thema als u het thema generator en volg de instructies:"
11
+ remove_all_themes: "Verwijder alle thema&#39;s en gebruiken dat standaard sjablonen"
8
12
  set_theme: "Stel Thema"
9
13
  theme_updated: "Thema is bijgewerkt."
14
+ theme_uri_label: "Url voor Thema"
15
+ update_uri: "Update Url"
16
+ uri_deleted: "De opgegeven URL is geschrapt"
17
+ uris_title: "Dit thema zal worden weergegeven voor de volgende URL&#39;s"
18
+ use_domain_themes: "Het huidige thema zal worden bepaald door de url gespecificeerd met elk thema hieronder."
data/locales/no.yml CHANGED
@@ -3,8 +3,17 @@
3
3
  :
4
4
  disguise:
5
5
  activate_theme_message: "Klikk på et tema for å aktivere den"
6
+ add_uri: "Legge til"
6
7
  current_theme: "Aktuelle tema"
8
+ delete_uri: Slette
9
+ error_creating_domain_theme: "Det var et problem at url: {{error}}"
7
10
  no_current_theme: "Foreløpig ingen tema er valgt for dette programmet, og så standard program visning vil bli brukt."
8
11
  no_themes_message: "Du har ennå ikke opprettet noen temaer for din søknad. Hvis du vil opprette et nytt tema rett og slett kjøre theme generator og følg instruksjonene:"
12
+ remove_all_themes: "Fjern alle temaer og bruke standard program maler"
9
13
  set_theme: "Set Theme"
10
14
  theme_updated: "Temaet ble oppdatert."
15
+ theme_uri_label: "Webadressen for Theme"
16
+ update_uri: "Update Url"
17
+ uri_deleted: "Den angitte nettadressen er slettet"
18
+ uris_title: "Dette temaet vil bli vist for alle de følgende webadresser"
19
+ use_domain_themes: "Gjeldende tema vil bli bestemt av url spesifisert med hvert tema nedenfor."
data/locales/pl.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  pl:
3
3
  disguise:
4
4
  activate_theme_message: "Kliknij na temat, aby uaktywnić"
5
+ add_uri: Dodać
5
6
  current_theme: "Aktualny temat"
7
+ delete_uri: Usunąć
8
+ error_creating_domain_theme: "Wystąpił problem dodając url: {{error}}"
6
9
  no_current_theme: "Aktualnie nie ma tematu został wybrany do tej aplikacji i tak aplikację domyślną widzenia będą wykorzystywane."
7
10
  no_themes_message: "Jeszcze nie utworzono żadnych tematów dla danej aplikacji. Jeśli chcesz utworzyć nowy temat wygenerować temat generatora i postępuj zgodnie z instrukcjami:"
11
+ remove_all_themes: "Usunięcie wszystkich tematów i korzystać domyślne szablony aplikacji"
8
12
  set_theme: "Ustaw Theme"
9
13
  theme_updated: "Temat został zaktualizowany."
14
+ theme_uri_label: "Url do tematu"
15
+ update_uri: "Aktualizacja Url"
16
+ uri_deleted: "Podany adres URL został usunięty"
17
+ uris_title: "Ten motyw będzie wyświetlany dla wszystkich następujących adresów"
18
+ use_domain_themes: "Obecny temat zostanie ustalona przez adres URL z każdego tematu poniżej."
data/locales/pt.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  pt:
3
3
  disguise:
4
4
  activate_theme_message: "Clique em um tema para ativá-la"
5
+ add_uri: Adicionar
5
6
  current_theme: "Tema atual"
7
+ delete_uri: Excluir
8
+ error_creating_domain_theme: "Houve um problema adicionando o url: {{error}}"
6
9
  no_current_theme: "Actualmente, não tem sido tema escolhido para esta aplicação e, portanto, a aplicação padrão vista será utilizado."
7
10
  no_themes_message: "Você ainda não criou nenhum temas para a sua aplicação. Se você gostaria de criar um novo tema basta executar o tema gerador e siga as instruções:"
11
+ remove_all_themes: "Remova todos os temas e utilizar modelos aplicação padrão"
8
12
  set_theme: "Configurar tema"
9
13
  theme_updated: "Tema foi atualizado."
14
+ theme_uri_label: "Url para Tema"
15
+ update_uri: "Atualizar URL"
16
+ uri_deleted: "O URL especificado, foi suprimida"
17
+ uris_title: "Este tema será apresentado para todos os seguintes URLs"
18
+ use_domain_themes: "O actual tema será determinado pela URL especificado com cada tema abaixo."
data/locales/ro.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  ro:
3
3
  disguise:
4
4
  activate_theme_message: "Click pe o temă pentru a activa"
5
+ add_uri: Adăuga
5
6
  current_theme: "Tematica curenta"
7
+ delete_uri: Şterge
8
+ error_creating_domain_theme: "A apărut o problemă la adăugarea URL: {{error}}"
6
9
  no_current_theme: "În prezent, nici o tema a fost selectat pentru această cerere şi deci implicit de aplicare a vizualiza va fi folosit."
7
10
  no_themes_message: "Încă nu aţi creat nici teme pentru cererea dumneavoastră. Dacă doriţi să creaţi o nouă temă pur şi simplu rulaţi tema generator şi urmaţi instrucţiunile:"
11
+ remove_all_themes: "Eliminaţi toate temele şi de a folosi implicit şabloanele de aplicare"
8
12
  set_theme: "Setare Tematica"
9
13
  theme_updated: "Tematica a fost actualizat cu succes."
14
+ theme_uri_label: "URL-ul pentru Tematica"
15
+ update_uri: "Update Url"
16
+ uri_deleted: "URL-ul specificat a fost şters"
17
+ uris_title: "Această temă va fi afişat pentru toate URL-urile următoare"
18
+ use_domain_themes: "Actuala tema va fi stabilită de către URL-ul specificat cu fiecare temă de mai jos."
data/locales/ru.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  ru:
3
3
  disguise:
4
4
  activate_theme_message: "Нажмите на тему для его активации"
5
+ add_uri: Добавить
5
6
  current_theme: "Текущая тема"
7
+ delete_uri: Удалить
8
+ error_creating_domain_theme: "Был проблема добавить URL: {{error}}"
6
9
  no_current_theme: "В настоящее время не тема была выбрана для этой заявки, и поэтому применение просмотра по умолчанию будет использоваться."
7
10
  no_themes_message: "Вы еще не создали какой-либо темы для вашего приложения. Если вы хотите создать новую тему просто запустить тему генератора и следуйте инструкциям:"
11
+ remove_all_themes: "Удалите все темы и использовать по умолчанию шаблоны приложений"
8
12
  set_theme: "Установить тема"
9
13
  theme_updated: "Тема была успешно обновлена."
14
+ theme_uri_label: "Url по теме"
15
+ update_uri: "Обновление Url"
16
+ uri_deleted: "Указанный URL удален"
17
+ uris_title: "Эта тема будет отображаться для всех следующих URL-адресов"
18
+ use_domain_themes: "В настоящее время тема будет определена на адрес указанный в каждой теме ниже."
data/locales/sk.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  sk:
3
3
  disguise:
4
4
  activate_theme_message: "Kliknite na tému pre jeho aktiváciu"
5
+ add_uri: Pridať
5
6
  current_theme: "Aktuálna téma"
7
+ delete_uri: Odstrániť
8
+ error_creating_domain_theme: "Došlo k problému pri pridania url: {{error}}"
6
9
  no_current_theme: "V súčasnej dobe žiadne tému bolo vybraných pre túto aplikáciu a tak predvolené zobrazenie aplikácie budú použité."
7
10
  no_themes_message: "Vy ešte nemáte vytvorený akékoľvek témy pre vaše aplikácie. Ak chcete vytvoriť novú tému jednoducho spustiť generátor tému a postupujte podľa návodu:"
11
+ remove_all_themes: "Odstránenie všetkých tém a použitie predvolené šablóny aplikácie"
8
12
  set_theme: "Nastaviť Témy"
9
13
  theme_updated: "Téma bolo úspešne aktualizované."
14
+ theme_uri_label: "Url k téme"
15
+ update_uri: "Update Url"
16
+ uri_deleted: "Zadaný url bol zmazaný"
17
+ uris_title: "Táto téma sa zobrazia všetky tieto adresy URL"
18
+ use_domain_themes: "Aktuálna téma bude stanovené podľa url uvedené pri každej témy nižšie."
data/locales/sl.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  sl:
3
3
  disguise:
4
4
  activate_theme_message: "Kliknite na temo, da jo aktivirate"
5
+ add_uri: Dodati
5
6
  current_theme: "Trenutne teme"
7
+ delete_uri: Izbrisati
8
+ error_creating_domain_theme: "Prišlo je do težave pri dodajanju URL: {{error}}"
6
9
  no_current_theme: "Trenutno nobena tema je bila izbrana za to vlogo in tako privzeto uporabi namenom se bodo uporabljali."
7
10
  no_themes_message: "Še niste ustvarili nobenih teme za vašo prijavo. Če želite ustvariti novo temo, preprosto zaženite theme generator in sledite navodilom:"
11
+ remove_all_themes: "Odstrani vse teme in uporabite privzeto uporabi predloge"
8
12
  set_theme: "Nastavljanje teme"
9
13
  theme_updated: "Tema je bila uspeÅ ¡no posodobljen."
14
+ theme_uri_label: "Url za teme"
15
+ update_uri: "Posodobi URL"
16
+ uri_deleted: "Na navedenem URL-ju je bil izbrisan"
17
+ uris_title: "Ta tema bo prikazana, za vse naslednje URL-je"
18
+ use_domain_themes: "Trenutna tema bo določena po url določeno z vsako temo spodaj."
data/locales/sr.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  sr:
3
3
  disguise:
4
4
  activate_theme_message: "Кликните на тему да активирате га"
5
+ add_uri: Додати
5
6
  current_theme: "Тренутне теме"
7
+ delete_uri: Избрисати
8
+ error_creating_domain_theme: "Дошло је до проблема у додавању урл: {{error}}"
6
9
  no_current_theme: "Тренутно нема тема је одабрана за овај програм и тако да се подразумевани приказ апликације ће се користити."
7
10
  no_themes_message: "Још нисте креирали теме за било које ваше апликације. Ако желите креирати нову тему једноставно покренути тему генератор и следите упутства:"
11
+ remove_all_themes: "Уклоните све теме подразумеване примену и коришћење шаблона"
8
12
  set_theme: "Постави тему"
9
13
  theme_updated: "Тема је успешно обновљен."
14
+ theme_uri_label: "УРЛ за тему"
15
+ update_uri: "Упдате Урл"
16
+ uri_deleted: "Наведени урл је избрисан"
17
+ uris_title: "Ова тема ће бити приказан за све следеће УРЛ адресе"
18
+ use_domain_themes: "Садашња теме ће бити одређене по УРЛ наведен доле са сваком темом."
data/locales/sv.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  sv:
3
3
  disguise:
4
4
  activate_theme_message: "Klicka på ett tema för att aktivera den"
5
+ add_uri: "Lägg till"
5
6
  current_theme: "Aktuella teman"
7
+ delete_uri: "Ta bort"
8
+ error_creating_domain_theme: "Det uppstod ett problem att lägga till URL: {{error}}"
6
9
  no_current_theme: "För närvarande finns inga tema har valts ut för denna ansökan och så standardnamnet ansökan syfte att användas."
7
10
  no_themes_message: "Du har ännu inte skapat några teman för din ansökan. Om du vill skapa ett nytt tema kör helt enkelt temat generator och följ instruktionerna:"
11
+ remove_all_themes: "Ta bort alla teman och använda standard ansökan mallar"
8
12
  set_theme: "Ställ Tema"
9
13
  theme_updated: "Tema har uppdaterats."
14
+ theme_uri_label: "Url för Tema"
15
+ update_uri: "Uppdatering Url"
16
+ uri_deleted: "Den angivna webbadressen har strukits"
17
+ uris_title: "Detta tema kommer att visas för alla följande webbadresser"
18
+ use_domain_themes: "Det nuvarande temat kommer att fastställas av url anges med varje tema nedan."
data/locales/tl.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  tl:
3
3
  disguise:
4
4
  activate_theme_message: "Mag-click sa isang tema upang buhayin ito"
5
+ add_uri: Magdagdag
5
6
  current_theme: "Kasalukuyang Theme"
7
+ delete_uri: Tanggalin
8
+ error_creating_domain_theme: "Nagkaroon ng problema ang pagdaragdag ng url: {{error}}"
6
9
  no_current_theme: "Kasalukuyang walang tema na ito ay napili para sa aplikasyon na ito at sa gayon ang mga default na aplikasyon tingnan ang gagamitin."
7
10
  no_themes_message: "Hindi mo pa ng anumang mga tema para sa iyong application. Kung nais mong lumikha ng isang bagong tema lamang patakbuhin ang tema dyeneretor at sundin ang mga tagubilin:"
11
+ remove_all_themes: "Tanggalin ang lahat ng tema at gamitin ang mga default na template ng aplikasyon"
8
12
  set_theme: "Itakda ang Theme"
9
13
  theme_updated: "Tema ay matagumpay na na-update."
14
+ theme_uri_label: "Url para sa mga Theme"
15
+ update_uri: "I-update ang Url"
16
+ uri_deleted: "Ang tinukoy na ng url na ito ay tinanggal na"
17
+ uris_title: "Ang tema ay ipapakita para sa lahat ng mga sumusunod na mga url"
18
+ use_domain_themes: "Ang kasalukuyang tema ay natutukoy sa pamamagitan ng url na tinukoy sa bawat tema sa ibaba."
data/locales/uk.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  uk:
3
3
  disguise:
4
4
  activate_theme_message: "Натисніть на тему для його активації"
5
+ add_uri: Додати
5
6
  current_theme: "Поточна тема"
7
+ delete_uri: Видалити
8
+ error_creating_domain_theme: "Був проблема додати URL: {{error}}"
6
9
  no_current_theme: "В даний час не тема була обрана для цієї заявки, і тому застосування перегляду за замовчуванням буде використовуватися."
7
10
  no_themes_message: "Ви ще не створили якої-небудь теми для вашої програми. Якщо ви хочете створити нову тему просто запустити тему генератора і дотримуйтесь інструкцій:"
11
+ remove_all_themes: "Видаліть всі теми і використовувати за замовчуванням шаблони додатків"
8
12
  set_theme: "Встановити тема"
9
13
  theme_updated: "Тема була успішно оновлено."
14
+ theme_uri_label: "Url за темою"
15
+ update_uri: "Оновлення Url"
16
+ uri_deleted: "Вказаний URL видалено"
17
+ uris_title: "Ця тема буде відображатися для всіх наступних URL-адрес"
18
+ use_domain_themes: "В даний час тема буде визначена на адресу вказану в кожній темі нижче."
data/locales/vi.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  vi:
3
3
  disguise:
4
4
  activate_theme_message: "Click chuột vào một chủ đề để kích hoạt nó"
5
+ add_uri: Thêm
5
6
  current_theme: "Chủ đề hiện tại"
7
+ delete_uri: Xoá
8
+ error_creating_domain_theme: "Có một vấn đề khi thêm các địa chỉ: {{error}}"
6
9
  no_current_theme: "Hiện không có chủ đề đã được lựa chọn cho các ứng dụng này và vì vậy các ứng dụng mặc định xem sẽ được sử dụng."
7
10
  no_themes_message: "Bạn chưa tạo ra bất kỳ chủ đề cho các ứng dụng của bạn. Nếu bạn muốn tạo ra một chủ đề mới chủ đề đơn giản hãy chạy máy phát điện và làm theo hướng dẫn:"
11
+ remove_all_themes: "Hủy bỏ tất cả các chủ đề và sử dụng các ứng dụng mặc định mẫu"
8
12
  set_theme: "Đặt Chủ đề"
9
13
  theme_updated: "Chủ đề đã được cập nhật."
14
+ theme_uri_label: "Url cho Chủ đề"
15
+ update_uri: "Cập nhật Url"
16
+ uri_deleted: "Việc xác định địa chỉ đã được xóa"
17
+ uris_title: "Chủ đề này sẽ được hiển thị cho tất cả những url"
18
+ use_domain_themes: "Hiện nay chủ đề sẽ được xác định bởi địa chỉ cụ thể với từng chủ đề dưới đây."
data/locales/zh-CN.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  zh-CN:
3
3
  disguise:
4
4
  activate_theme_message: 点击一个主题,以激活它
5
+ add_uri: 添加
5
6
  current_theme: 当前主题
7
+ delete_uri: 删除
8
+ error_creating_domain_theme: "有一个问题,增加了网址: {{error}}"
6
9
  no_current_theme: 目前没有任何主题已选定此应用程序和应用程序的默认视图将被使用。
7
10
  no_themes_message: 您尚未创建任何主题为您的应用程序。如果你想创建一个新的主题只要执行主题发电机,并按照指示:
11
+ remove_all_themes: 移除所有的主题,并使用默认应用程序模板
8
12
  set_theme: 设置主题
9
13
  theme_updated: 主题是成功更新。
14
+ theme_uri_label: 网址为主题
15
+ update_uri: 更新网址
16
+ uri_deleted: 指定的URL已被删除
17
+ uris_title: 这一主题将显示所有以下网址
18
+ use_domain_themes: 目前的主题将取决于指定的网址与每个主题下面。
data/locales/zh-TW.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  zh-TW:
3
3
  disguise:
4
4
  activate_theme_message: 點擊一個主題,以激活它
5
+ add_uri: 添加
5
6
  current_theme: 當前主題
7
+ delete_uri: 刪除
8
+ error_creating_domain_theme: "有一個問題,增加了網址: {{error}}"
6
9
  no_current_theme: 目前沒有任何主題已選定此應用程序和應用程序的默認視圖將被使用。
7
10
  no_themes_message: 您尚未創建任何主題為您的應用程序。如果你想創建一個新的主題只要執行主題發電機,並按照指示:
11
+ remove_all_themes: 移除所有的主題,並使用默認應用程序模板
8
12
  set_theme: 設置主題
9
13
  theme_updated: 主題是成功更新。
14
+ theme_uri_label: 網址為主題
15
+ update_uri: 更新網址
16
+ uri_deleted: 指定的URL已被刪除
17
+ uris_title: 這一主題將顯示所有以下網址
18
+ use_domain_themes: 目前的主題將取決於指定的網址與每個主題下面。
data/locales/zh.yml CHANGED
@@ -2,8 +2,17 @@
2
2
  zh:
3
3
  disguise:
4
4
  activate_theme_message: 点击一个主题,以激活它
5
+ add_uri: 添加
5
6
  current_theme: 当前主题
7
+ delete_uri: 删除
8
+ error_creating_domain_theme: "有一个问题,增加了网址: {{error}}"
6
9
  no_current_theme: 目前没有任何主题已选定此应用程序和应用程序的默认视图将被使用。
7
10
  no_themes_message: 您尚未创建任何主题为您的应用程序。如果你想创建一个新的主题只要执行主题发电机,并按照指示:
11
+ remove_all_themes: 移除所有的主题,并使用默认应用程序模板
8
12
  set_theme: 设置主题
9
13
  theme_updated: 主题是成功更新。
14
+ theme_uri_label: 网址为主题
15
+ update_uri: 更新网址
16
+ uri_deleted: 指定的URL已被删除
17
+ uris_title: 这一主题将显示所有以下网址
18
+ use_domain_themes: 目前的主题将取决于指定的网址与每个主题下面。
@@ -8,14 +8,14 @@ require 'yaml'
8
8
 
9
9
  ::GlobalConfig = OpenStruct.new(YAML.load_file("#{RAILS_ROOT}/config/global_config.yml")[RAILS_ENV])
10
10
 
11
- class << GlobalConfig
12
- def prepare_options_for_attachment_fu(options)
13
- attachment_fu_options = options.symbolize_keys.merge({:storage => options['storage'].to_sym,
14
- :max_size => options['max_size'].to_i.megabytes})
15
- end
11
+
12
+ class TestGemLocator < Rails::Plugin::Locator
13
+ def plugins
14
+ Rails::Plugin.new(File.join(File.dirname(__FILE__), *%w(.. .. ..)))
15
+ end
16
16
  end
17
17
 
18
18
  Rails::Initializer.run do |config|
19
19
  config.time_zone = 'UTC'
20
- config.gem 'disguise'
20
+ config.plugin_locators << TestGemLocator
21
21
  end
@@ -0,0 +1 @@
1
+ USE_DOMAIN_FOR_THEMES = false
@@ -6,6 +6,7 @@ class Admin::DomainThemesControllerTest < ActionController::TestCase
6
6
  @controller = Admin::DomainThemesController.new
7
7
  @request = ActionController::TestRequest.new
8
8
  @response = ActionController::TestResponse.new
9
+ @new_uri = 'red.example.com'
9
10
  end
10
11
 
11
12
  context "create the domain theme" do
@@ -23,7 +24,6 @@ class Admin::DomainThemesControllerTest < ActionController::TestCase
23
24
 
24
25
  context "update the domain theme" do
25
26
  setup do
26
- @new_uri = 'red.example.com'
27
27
  @domain_theme = Factory(:domain_theme, :name => 'red')
28
28
  put :update, :domain_theme => { :name => 'red', :uri => @new_uri }
29
29
  @domain_theme.reload
@@ -7,7 +7,6 @@ class DomainThemeTest < ActiveSupport::TestCase
7
7
  @domain_theme = Factory(:domain_theme)
8
8
  end
9
9
  should_validate_presence_of :name, :uri
10
- should_validate_uniqueness_of :name, :uri
11
10
  end
12
11
 
13
12
  context "theme by request" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: disguise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-11 00:00:00 -06:00
12
+ date: 2009-07-14 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -109,7 +109,7 @@ files:
109
109
  - test/rails_root/config/environments/production.rb
110
110
  - test/rails_root/config/environments/test.rb
111
111
  - test/rails_root/config/global_config.yml
112
- - test/rails_root/config/initializers/disguise_init.rb
112
+ - test/rails_root/config/initializers/disguise.rb
113
113
  - test/rails_root/config/initializers/inflections.rb
114
114
  - test/rails_root/config/initializers/mime_types.rb
115
115
  - test/rails_root/config/initializers/requires.rb
@@ -224,7 +224,7 @@ test_files:
224
224
  - test/rails_root/config/environments/development.rb
225
225
  - test/rails_root/config/environments/production.rb
226
226
  - test/rails_root/config/environments/test.rb
227
- - test/rails_root/config/initializers/disguise_init.rb
227
+ - test/rails_root/config/initializers/disguise.rb
228
228
  - test/rails_root/config/initializers/inflections.rb
229
229
  - test/rails_root/config/initializers/mime_types.rb
230
230
  - test/rails_root/config/initializers/requires.rb
@@ -1,13 +0,0 @@
1
- USE_DOMAIN_FOR_THEMES = false
2
-
3
-
4
- # TODO would love to get this to work. Right now to test the gem you have to install it and then run the tests
5
- # This simulates loading the disguise gem, but without relying on vendor/gems
6
-
7
- # path = File.join(File.dirname(__FILE__), *%w(.. .. .. ..))
8
- # lib_path = File.join(path, "lib")
9
- # app_path = File.join(path, "app")
10
- #
11
- # $LOAD_PATH.unshift(lib_path)
12
- # $LOAD_PATH.unshift(app_path)
13
- # load File.join(path, 'rails', 'init.rb')